Interface PlayerChatPacketView

All Superinterfaces:
PacketView

public interface PlayerChatPacketView extends PacketView
Lazy copy-on-write view of clientbound signed player chat.
  • Method Details

    • hasGlobalIndex

      boolean hasGlobalIndex()
      Reports whether this protocol version carries the global chat index.
    • globalIndex

      int globalIndex()
      Returns the global chat index, or -1 when it is not present.
    • sender

      UUID sender()
    • index

      int index()
    • signature

      @Nullable NativeValue signature()
    • body

      NativeValue body()
    • unsignedContent

      @Nullable NativeText unsignedContent()
    • filterMask

      NativeValue filterMask()
    • chatType

      NativeValue chatType()
    • unsignedContent

      void unsignedContent(@Nullable NativeText unsignedContent)
      Replaces or clears the optional unsigned content at finalization.