Class NullConversationPrefix

java.lang.Object
org.bukkit.conversations.NullConversationPrefix
All Implemented Interfaces:
ConversationPrefix

public class NullConversationPrefix extends Object implements ConversationPrefix
NullConversationPrefix is a ConversationPrefix implementation that displays nothing in front of conversation output.
  • Constructor Details

    • NullConversationPrefix

      public NullConversationPrefix()
  • Method Details

    • getPrefix

      @NotNull public String getPrefix(@NotNull ConversationContext context)
      Prepends each conversation message with an empty string.
      Specified by:
      getPrefix in interface ConversationPrefix
      Parameters:
      context - Context information about the conversation.
      Returns:
      An empty string.