net.minecraft.network.protocol.game

public class ClientboundContainerSetSlotPacket

implements Packet<ClientGamePacketListener>

adf
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 StreamCodec<RegistryFriendlyByteBuf, ClientboundContainerSetSlotPacket>
a
STREAM_CODEC
field_47918
CODEC
f_313946_
public static final int
b
CARRIED_ITEM
field_33324
UPDATE_CURSOR_SYNC_ID
f_178826_
public static final int
c
PLAYER_INVENTORY
field_33325
UPDATE_PLAYER_INVENTORY_SYNC_ID
f_178827_
private final int
d
containerId
field_12152
syncId
f_131977_
private final int
e
stateId
field_34036
revision
f_182710_
private final int
f
slot
field_12151
slot
f_131978_
private final ItemStack
g
itemStack
field_12153
stack
f_131979_

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(xa arg0)
write(RegistryFriendlyByteBuf arg0)
method_55871(class_9129 arg0)
write(RegistryByteBuf buf)
m_131992_(C_313350_ arg0)
public PacketType<ClientboundContainerSetSlotPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(aci arg0)
handle(ClientGamePacketListener arg0)
method_11451(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public int
b()
getContainerId()
method_11452()
getSyncId()
m_131991_()
public int
e()
getSlot()
method_11450()
getSlot()
m_131994_()
public ItemStack
f()
getItem()
method_11449()
getStack()
m_131995_()
public int
g()
getStateId()
method_37439()
getRevision()
m_182716_()