Class ServerboundChatPacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundChatPacket
- All Implemented Interfaces:
Packet<ServerGamePacketListener>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionServerboundChatPacket(String p_133830_)
ServerboundChatPacket(FriendlyByteBuf p_179545_)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handle(ServerGamePacketListener p_133836_)
void
write(FriendlyByteBuf p_133839_)
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
-
MAX_MESSAGE_LENGTH
private static final int MAX_MESSAGE_LENGTH- See Also:
- Constant Field Values
-
message
-
-
Constructor Details
-
ServerboundChatPacket
-
ServerboundChatPacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ServerGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ServerGamePacketListener>
-
getMessage
-