net.minecraft.network.protocol.game

public class ServerboundContainerClickPacket

implements Packet<ServerGamePacketListener>

aab
net.minecraft.network.protocol.game.ServerboundContainerClickPacket
net.minecraft.class_2813
net.minecraft.network.packet.c2s.play.ClickSlotC2SPacket
net.minecraft.src.C_5156_
net.minecraft.network.protocol.game.PacketPlayInWindowClick

Field summary

Modifier and TypeField
private static final int
a
MAX_SLOT_COUNT
field_34045
MAX_MODIFIED_STACKS
f_182731_
private final int
b
containerId
field_12819
syncId
f_133939_
private final int
c
stateId
field_34037
revision
f_182732_
private final int
d
slotNum
field_12818
slot
f_133940_
private final int
e
buttonNum
field_12817
button
f_133941_
private final ClickType
f
clickType
field_12815
actionType
f_133944_
private final ItemStack
g
carriedItem
field_12816
stack
f_179568_
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<ItemStack>
h
changedSlots
field_29540
modifiedStacks
f_179569_

Constructor summary

ModifierConstructor
public (int syncId, int revision, int slot, int button, ClickType actionType, ItemStack stack, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ItemStack> modifiedStacks)
public (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public void
a(ss arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(zo arg0)
handle(ServerGamePacketListener arg0)
method_12191(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public int
a()
getContainerId()
method_12194()
getSyncId()
m_133959_()
public int
c()
getSlotNum()
method_12192()
getSlot()
m_133962_()
public int
d()
getButtonNum()
method_12193()
getButton()
m_133963_()
public ItemStack
e()
getCarriedItem()
method_12190()
getStack()
m_179581_()
public it.unimi.dsi.fastutil.ints.Int2ObjectMap<ItemStack>
f()
getChangedSlots()
method_34678()
getModifiedStacks()
m_179582_()
public ClickType
g()
getClickType()
method_12195()
getActionType()
m_133966_()
public int
h()
getStateId()
method_37440()
getRevision()
m_182741_()