Class ClientboundServerDataPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundServerDataPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
-
Constructor Summary
ConstructorDescriptionClientboundServerDataPacket
(Component p_251892_, String p_249269_, boolean p_249910_) ClientboundServerDataPacket
(FriendlyByteBuf p_237799_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
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
-
Field Details
-
motd
-
iconBase64
-
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
-
getIconBase64
-
enforcesSecureChat
public boolean enforcesSecureChat()
-