接口 ConversationPrefix
public interface ConversationPrefix
A ConversationPrefix implementation prepends all output from the
conversation to the player. The ConversationPrefix can be used to display
the plugin name or conversation status as the conversation evolves.
-
方法概要
修饰符和类型方法说明getPrefix
(@NotNull ConversationContext context) Gets the prefix to use before each message to the player.
-
方法详细资料
-
getPrefix
Gets the prefix to use before each message to the player.- 参数:
context
- Context information about the conversation.- 返回:
- The prefix text.
-