net.minecraft.network.protocol.game

public class ClientboundContainerSetSlotPacket

implements Packet<ClientGamePacketListener>

xs
net.minecraft.network.protocol.game.ClientboundContainerSetSlotPacket
net.minecraft.class_2653
net.minecraft.network.packet.s2c.play.ScreenHandlerSlotUpdateS2CPacket
net.minecraft.src.C_5058_
net.minecraft.network.protocol.game.PacketPlayOutSetSlot

Field summary

Modifier and TypeField
public static final int
a
CARRIED_ITEM
field_33324
UPDATE_CURSOR_SYNC_ID
f_178826_
public static final int
b
PLAYER_INVENTORY
field_33325
UPDATE_PLAYER_INVENTORY_SYNC_ID
f_178827_
private final int
c
containerId
field_12152
syncId
f_131977_
private final int
d
stateId
field_34036
revision
f_182710_
private final int
e
slot
field_12151
slot
f_131978_
private final ItemStack
f
itemStack
field_12153
stack
f_131979_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(so arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(ww arg0)
handle(ClientGamePacketListener arg0)
method_11451(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public int
a()
getContainerId()
method_11452()
getSyncId()
m_131991_()
public int
d()
getSlot()
method_11450()
getSlot()
m_131994_()
public ItemStack
e()
getItem()
method_11449()
getStack()
m_131995_()
public int
f()
getStateId()
method_37439()
getRevision()
m_182716_()