Package devs.beer.nativepackets.api
Interface PlayerChatPacketView
- All Superinterfaces:
PacketView
Lazy copy-on-write view of clientbound signed player chat.
-
Method Summary
Modifier and TypeMethodDescriptionbody()chatType()intReturns the global chat index, or-1when it is not present.booleanReports whether this protocol version carries the global chat index.intindex()sender()voidunsignedContent(NativeText unsignedContent) Replaces or clears the optional unsigned content at finalization.Methods inherited from interface devs.beer.nativepackets.api.PacketView
isModified, nativeHandle, type
-
Method Details
-
hasGlobalIndex
boolean hasGlobalIndex()Reports whether this protocol version carries the global chat index. -
globalIndex
int globalIndex()Returns the global chat index, or-1when it is not present. -
sender
UUID sender() -
index
int index() -
signature
-
body
NativeValue body() -
unsignedContent
-
filterMask
NativeValue filterMask() -
chatType
NativeValue chatType() -
unsignedContent
Replaces or clears the optional unsigned content at finalization.
-