Class ChatMessage_v1_19_1


public class ChatMessage_v1_19_1 extends ChatMessage_v1_16
  • Constructor Details

    • ChatMessage_v1_19_1

      public ChatMessage_v1_19_1(String plainContent, net.kyori.adventure.text.Component decoratedChatContent, @Nullable @Nullable net.kyori.adventure.text.Component unsignedChatContent, UUID senderUUID, ChatType.Bound chatFormatting, byte @Nullable [] previousSignature, byte[] signature, Instant timestamp, long salt, LastSeenMessages lastSeenMessages, FilterMask filterMask)
  • Method Details

    • getPlainContent

      public String getPlainContent()
    • setPlainContent

      public void setPlainContent(String plainContent)
    • isChatContentDecorated

      public boolean isChatContentDecorated()
    • getUnsignedChatContent

      @Nullable public @Nullable net.kyori.adventure.text.Component getUnsignedChatContent()
    • setUnsignedChatContent

      public void setUnsignedChatContent(@Nullable @Nullable net.kyori.adventure.text.Component unsignedChatContent)
    • getType

      public ChatType getType()
      Overrides:
      getType in class ChatMessage
    • setType

      public void setType(ChatType type)
      Overrides:
      setType in class ChatMessage
    • getChatFormatting

      public ChatType.Bound getChatFormatting()
    • setChatFormatting

      public void setChatFormatting(ChatType.Bound chatFormatting)
    • getChatType

      @Deprecated public ChatType.Bound getChatType()
      Deprecated.
      Retrieves the chat formatting. Please refer to getChatFormatting()
      Returns:
      chat formatting which contains the actual chat type.
    • setChatType

      @Deprecated public void setChatType(ChatType.Bound chatFormatting)
      Deprecated.
      Parameters:
      chatFormatting - formatting which contains the actual chat type.
    • getPreviousSignature

      public byte @Nullable [] getPreviousSignature()
    • setPreviousSignature

      public void setPreviousSignature(byte @Nullable [] previousSignature)
    • getSignature

      public byte[] getSignature()
    • setSignature

      public void setSignature(byte[] signature)
    • getTimestamp

      public Instant getTimestamp()
    • setTimestamp

      public void setTimestamp(Instant timestamp)
    • getSalt

      public long getSalt()
    • setSalt

      public void setSalt(long salt)
    • getLastSeenMessages

      public LastSeenMessages getLastSeenMessages()
    • setLastSeenMessages

      public void setLastSeenMessages(LastSeenMessages lastSeenMessages)
    • getFilterMask

      public FilterMask getFilterMask()
    • setFilterMask

      public void setFilterMask(FilterMask filterMask)