Package devs.beer.nativepackets.api
Interface SystemChatPacketView
- All Superinterfaces:
PacketView
Lazy copy-on-write view of clientbound system chat.
-
Method Summary
Modifier and TypeMethodDescriptionmessage()Returns the native message handle.voidmessage(NativeText message) Replaces the message at finalization.booleanoverlay()Reports whether the message is displayed as an overlay.voidoverlay(boolean overlay) Replaces the overlay flag at finalization.Methods inherited from interface devs.beer.nativepackets.api.PacketView
isModified, nativeHandle, type
-
Method Details
-
message
NativeText message()Returns the native message handle.- Returns:
- native message handle
-
overlay
boolean overlay()Reports whether the message is displayed as an overlay.- Returns:
- whether the message is displayed as an overlay
-
message
Replaces the message at finalization.- Parameters:
message- replacement native text
-
overlay
void overlay(boolean overlay) Replaces the overlay flag at finalization.- Parameters:
overlay- replacement overlay flag
-