net.minecraft.network.protocol.game

public record ServerboundContainerSlotStateChangedPacket

implements Packet<ServerGamePacketListener>

agz
net.minecraft.network.protocol.game.ServerboundContainerSlotStateChangedPacket
net.minecraft.class_8875
net.minecraft.network.packet.c2s.play.SlotChangedStateC2SPacket
net.minecraft.src.C_302090_
net.minecraft.network.protocol.game.ServerboundContainerSlotStateChangedPacket

Field summary

Modifier and TypeField
private final int
b
slotId
comp_1998
slotId
f_303719_
private final int
c
containerId
comp_1999
screenHandlerId
f_303525_
private final boolean
d
newState
comp_2000
newState
f_303711_
public static final StreamCodec<FriendlyByteBuf, ServerboundContainerSlotStateChangedPacket>
a
STREAM_CODEC
field_48192
CODEC
f_314655_

Constructor summary

ModifierConstructor
private (FriendlyByteBuf buf)
public (int containerId, int newState, boolean arg2)

Method summary

Modifier and TypeMethod
private void
a(vw arg0)
write(FriendlyByteBuf arg0)
method_55973(class_2540 arg0)
write(PacketByteBuf buf)
m_307495_(C_4983_ arg0)
public PacketType<ServerboundContainerSlotStateChangedPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(agi arg0)
handle(ServerGamePacketListener arg0)
method_54437(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public int
b()
slotId()
comp_1998()
slotId()
f_303719_()
public int
e()
containerId()
comp_1999()
screenHandlerId()
f_303525_()
public boolean
f()
newState()
comp_2000()
newState()
f_303711_()