Class ClientboundServerDataPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundServerDataPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionClientboundServerDataPacket
(Component p_272598_, Optional<byte[]> p_273716_, boolean p_273165_) ClientboundServerDataPacket
(FriendlyByteBuf p_237799_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Optional<byte[]>
getMotd()
void
handle
(ClientGamePacketListener p_237809_) void
write
(FriendlyByteBuf p_237805_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.protocol.Packet
isSkippable, nextProtocol
-
Field Details
-
motd
-
iconBytes
-
enforcesSecureChat
private final boolean enforcesSecureChat
-
-
Constructor Details
-
ClientboundServerDataPacket
-
ClientboundServerDataPacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getMotd
-
getIconBytes
-
enforcesSecureChat
public boolean enforcesSecureChat()
-