Package org.bukkit.conversations
Interface Conversable
- All Known Subinterfaces:
- ConsoleCommandSender,- Player
public interface Conversable
The Conversable interface is used to indicate objects that can have
 conversations.
- 
Method SummaryModifier and TypeMethodDescriptionvoidabandonConversation(@NotNull Conversation conversation) Abandons an active conversation.voidabandonConversation(@NotNull Conversation conversation, @NotNull ConversationAbandonedEvent details) Abandons an active conversation.voidAccepts input into the active conversation.booleanbeginConversation(@NotNull Conversation conversation) Enters into a dialog with a Conversation object.booleanTests to see of a Conversable object is actively engaged in a conversation.voidsendRawMessage(@NotNull String message) Sends this sender a message rawvoidsendRawMessage(@Nullable UUID sender, @NotNull String message) Deprecated.sender UUID is ignored
- 
Method Details- 
isConversingboolean isConversing()Tests to see of a Conversable object is actively engaged in a conversation.- Returns:
- True if a conversation is in progress
 
- 
acceptConversationInputAccepts input into the active conversation. If no conversation is in progress, this method does nothing.- Parameters:
- input- The input message into the conversation
 
- 
beginConversationEnters 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
 
- 
abandonConversationAbandons an active conversation.- Parameters:
- conversation- The conversation to abandon
 
- 
abandonConversationvoid abandonConversation(@NotNull @NotNull Conversation conversation, @NotNull @NotNull ConversationAbandonedEvent details) Abandons an active conversation.- Parameters:
- conversation- The conversation to abandon
- details- Details about why the conversation was abandoned
 
- 
sendRawMessageSends this sender a message raw- Parameters:
- message- Message to be displayed
 
- 
sendRawMessageDeprecated.sender UUID is ignoredSends this sender a message raw- Parameters:
- sender- The sender of this message
- message- Message to be displayed
 
 
-