net.minecraft.network.protocol.game

public record ServerboundContainerButtonClickPacket

implements Packet<ServerGamePacketListener>

agw
net.minecraft.network.protocol.game.ServerboundContainerButtonClickPacket
net.minecraft.class_2811
net.minecraft.network.packet.c2s.play.ButtonClickC2SPacket
net.minecraft.src.C_5155_
net.minecraft.network.protocol.game.PacketPlayInEnchantItem

Field summary

Modifier and TypeField
private final int
b
containerId
comp_2649
syncId
f_133923_
private final int
c
buttonId
comp_2650
buttonId
f_133924_
public static final StreamCodec<FriendlyByteBuf, ServerboundContainerButtonClickPacket>
a
STREAM_CODEC
field_48188
CODEC
f_316578_

Constructor summary

ModifierConstructor
public (int buttonId, int arg1)

Method summary

Modifier and TypeMethod
public PacketType<ServerboundContainerButtonClickPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(agi arg0)
handle(ServerGamePacketListener arg0)
method_12185(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public int
b()
containerId()
comp_2649()
syncId()
f_133923_()
public int
e()
buttonId()
comp_2650()
buttonId()
f_133924_()