net.minecraft.network.protocol.game

public class ServerboundCustomPayloadPacket

implements Packet<ServerGamePacketListener>

zq
net.minecraft.network.protocol.game.ServerboundCustomPayloadPacket
net.minecraft.class_2817
net.minecraft.network.packet.c2s.play.CustomPayloadC2SPacket
net.minecraft.src.C_5158_
net.minecraft.network.protocol.game.PacketPlayInCustomPayload

Field summary

Modifier and TypeField
private static final int
b
MAX_PAYLOAD_SIZE
field_33361
MAX_PAYLOAD_SIZE
f_179586_
public static final ResourceLocation
a
BRAND
field_12831
BRAND
f_133979_
private final ResourceLocation
c
identifier
field_12830
channel
f_133980_
private final FriendlyByteBuf
d
data
field_12832
data
f_133981_

Constructor summary

ModifierConstructor
public (ResourceLocation channel, FriendlyByteBuf data)
public (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public void
a(sf arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(zb arg0)
handle(ServerGamePacketListener arg0)
method_12199(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public ResourceLocation
a()
getIdentifier()
method_36169()
getChannel()
m_179589_()
public FriendlyByteBuf
c()
getData()
method_36170()
getData()
m_179590_()