Package devs.beer.nativepackets.api
Interface ServerDataPacketView
- All Superinterfaces:
PacketView
Lazy copy-on-write view of clientbound server-list data.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]Returns the borrowed favicon bytes, ornull.voidiconBytes(byte[] iconBytes) Replaces the borrowed favicon bytes;nullclears them.motd()voidmotd(NativeText motd) Methods inherited from interface devs.beer.nativepackets.api.PacketView
isModified, nativeHandle, type
-
Method Details
-
motd
NativeText motd() -
iconBytes
@Nullable byte[] iconBytes()Returns the borrowed favicon bytes, ornull. -
motd
-
iconBytes
void iconBytes(@Nullable byte[] iconBytes) Replaces the borrowed favicon bytes;nullclears them.
-