类 StringPrompt

java.lang.Object
org.bukkit.conversations.StringPrompt
所有已实现的接口:
Cloneable, Prompt

public abstract class StringPrompt extends Object implements Prompt
StringPrompt is the base class for any prompt that accepts an arbitrary string from the user.
  • 构造器详细资料

    • StringPrompt

      public StringPrompt()
  • 方法详细资料

    • blocksForInput

      public boolean blocksForInput(@NotNull @NotNull ConversationContext context)
      Ensures that the prompt waits for the user to provide input.
      指定者:
      blocksForInput 在接口中 Prompt
      参数:
      context - Context information about the conversation.
      返回:
      True.