程序包 org.bukkit.conversations

# 类 MessagePrompt

java.lang.Object
org.bukkit.conversations.MessagePrompt

所有已实现的接口:
  `Cloneable`, `Prompt`

public abstract class MessagePrompt extends Object implements Prompt
MessagePrompt is the base class for any prompt that only displays a message to the user and requires no input.

- ## 字段概要

  ### 从接口继承的字段 org.bukkit.conversations.Prompt

  `END_OF_CONVERSATION`

- ## 构造器概要

  构造器
  构造器
  说明
  `MessagePrompt()`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@Nullable Prompt`
  `acceptInput(@NotNull ConversationContext context, @Nullable String input)`
  Accepts and ignores any user input, returning the next prompt in the prompt graph instead.
  `boolean`
  `blocksForInput(@NotNull ConversationContext context)`
  Message prompts never wait for user input before continuing.
  `protected abstract @Nullable Prompt`
  `getNextPrompt(@NotNull ConversationContext context)`
  Override this method to return the next prompt in the prompt graph.

  ### 从类继承的方法 java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### 从接口继承的方法 org.bukkit.conversations.Prompt

  `getPromptText`

- ## 构造器详细资料

  - ### MessagePrompt

    public MessagePrompt()

- ## 方法详细资料

  - ### blocksForInput

    public boolean blocksForInput(@NotNull @NotNull ConversationContext context)
    Message prompts never wait for user input before continuing.
    指定者:
      `blocksForInput` 在接口中 `Prompt`
    参数:
      `context` - Context information about the conversation.
    返回:
      Always false.

  - ### acceptInput

    @Nullable public @Nullable Prompt acceptInput(@NotNull @NotNull ConversationContext context, @Nullable @Nullable String input)
    Accepts and ignores any user input, returning the next prompt in the prompt graph instead.
    指定者:
      `acceptInput` 在接口中 `Prompt`
    参数:
      `context` - Context information about the conversation.
      `input` - Ignored.
    返回:
      The next prompt in the prompt graph.

  - ### getNextPrompt

    @Nullable protected abstract @Nullable Prompt getNextPrompt(@NotNull @NotNull ConversationContext context)
    Override this method to return the next prompt in the prompt graph.
    参数:
      `context` - Context information about the conversation.
    返回:
      The next prompt in the prompt graph.