net.minecraft.network.packet.s2c.play

public class ScreenHandlerSlotUpdateS2CPacket

implements Packet<ClientPlayPacketListener>

net.minecraft.network.protocol.game.ClientboundContainerSetSlotPacket
net.minecraft.class_2653
net.minecraft.network.packet.s2c.play.ScreenHandlerSlotUpdateS2CPacket

Field summary

Modifier and TypeField
public static final PacketCodec<RegistryByteBuf, ScreenHandlerSlotUpdateS2CPacket>
STREAM_CODEC
field_47918
CODEC
private final int
containerId
field_12152
syncId
private final int
stateId
field_34036
revision
private final int
slot
field_12151
slot
private final ItemStack
itemStack
field_12153
stack

Constructor summary

ModifierConstructor
public (int syncId, int revision, int slot, ItemStack stack)
private (RegistryByteBuf buf)

Method summary

Modifier and TypeMethod
private void
write(RegistryFriendlyByteBuf output)
method_55871(class_9129 arg0)
write(RegistryByteBuf buf)
public PacketType<ScreenHandlerSlotUpdateS2CPacket>
type()
method_65080()
getPacketType()
public void
handle(ClientGamePacketListener listener)
method_11451(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public int
getContainerId()
method_11452()
getSyncId()
public int
getSlot()
method_11450()
getSlot()
public ItemStack
getItem()
method_11449()
getStack()
public int
getStateId()
method_37439()
getRevision()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)