net.minecraft.network.protocol.game

public class ServerboundChatPacket

implements Packet<ServerGamePacketListener>

tr
net.minecraft.network.protocol.game.ServerboundChatPacket
net.minecraft.class_2797
net.minecraft.network.packet.c2s.play.ChatMessageC2SPacket
net.minecraft.src.C_5149_
net.minecraft.network.protocol.game.PacketPlayInChat

Field summary

Modifier and TypeField
private static final int
a
MAX_MESSAGE_LENGTH
field_33359
MAX_LENGTH
f_179543_
private final String
b
message
field_12764
chatMessage
f_133827_

Constructor summary

ModifierConstructor
public (String chatMessage)
public (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public void
a(og arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(tn arg0)
handle(ServerGamePacketListener arg0)
method_12115(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public String
b()
getMessage()
method_12114()
getChatMessage()
m_133837_()