Interface Conversable

All Known Subinterfaces:
ConsoleCommandSender, Player

@Deprecated(forRemoval=true) public interface Conversable
Deprecated, for removal: This API element is subject to removal in a future version.
The conversation API has been deprecated for removal. This system does not support component based messages and has been slowly losing functionality over the years as Minecraft has changed that this API can not adapt to. It is recommended you instead manually listen to the AsyncChatEvent or alternatively using Dialog to get user input.
The Conversable interface is used to indicate objects that can have conversations.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Abandons an active conversation.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Abandons an active conversation.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Accepts input into the active conversation.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Enters into a dialog with a Conversation object.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Tests to see of a Conversable object is actively engaged in a conversation.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Sends this sender a message raw
    void
    Deprecated.
    sender UUID is ignored
  • Method Details

    • isConversing

      boolean isConversing()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Tests to see of a Conversable object is actively engaged in a conversation.
      Returns:
      True if a conversation is in progress
    • acceptConversationInput

      void acceptConversationInput(@NotNull @NotNull String input)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Accepts input into the active conversation. If no conversation is in progress, this method does nothing.
      Parameters:
      input - The input message into the conversation
    • beginConversation

      boolean beginConversation(@NotNull @NotNull Conversation conversation)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Enters into a dialog with a Conversation object.
      Parameters:
      conversation - The conversation to begin
      Returns:
      True if the conversation should proceed, false if it has been enqueued
    • abandonConversation

      void abandonConversation(@NotNull @NotNull Conversation conversation)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Abandons an active conversation.
      Parameters:
      conversation - The conversation to abandon
    • abandonConversation

      void abandonConversation(@NotNull @NotNull Conversation conversation, @NotNull @NotNull ConversationAbandonedEvent details)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Abandons an active conversation.
      Parameters:
      conversation - The conversation to abandon
      details - Details about why the conversation was abandoned
    • sendRawMessage

      @Obsolete void sendRawMessage(@NotNull @NotNull String message)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Sends this sender a message raw
      Parameters:
      message - Message to be displayed
    • sendRawMessage

      @Deprecated void sendRawMessage(@Nullable @Nullable UUID sender, @NotNull @NotNull String message)
      Deprecated.
      sender UUID is ignored
      Sends this sender a message raw
      Parameters:
      sender - The sender of this message
      message - Message to be displayed