net.minecraft.network.protocol.game

public record ServerboundContainerButtonClickPacket

implements Packet<ServerGamePacketListener>

agv
net.minecraft.network.protocol.game.ServerboundContainerButtonClickPacket
net.minecraft.class_2811
net.minecraft.network.packet.c2s.play.ButtonClickC2SPacket
net.minecraft.network.protocol.game.PacketPlayInEnchantItem

Field summary

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

Constructor summary

ModifierConstructor
public (int arg0, int arg1)

Method summary

Modifier and TypeMethod
public PacketType<ServerboundContainerButtonClickPacket>
a()
type()
method_65080()
getPacketType()
public void
a(agg arg0)
handle(ServerGamePacketListener arg0)
method_12185(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public int
b()
containerId()
comp_2649()
syncId()
public int
e()
buttonId()
comp_2650()
buttonId()