Class ClientboundServerDataPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundServerDataPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private final boolean
-
Constructor Summary
ConstructorDescriptionClientboundServerDataPacket
(Component p_242977_, String p_242969_, boolean p_242973_, boolean p_242974_) ClientboundServerDataPacket
(FriendlyByteBuf p_237799_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getMotd()
void
handle
(ClientGamePacketListener p_237809_) boolean
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
-
previewsChat
private final boolean previewsChat -
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
-
previewsChat
public boolean previewsChat() -
enforcesSecureChat
public boolean enforcesSecureChat()
-