net.minecraft.network.protocol.game

public class ServerboundContainerClickPacket

implements Packet<ServerGamePacketListener>

agx
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
public static final StreamCodec<RegistryFriendlyByteBuf, ServerboundContainerClickPacket>
a
STREAM_CODEC
field_48189
CODEC
f_316870_
private static final int
b
MAX_SLOT_COUNT
field_34045
MAX_MODIFIED_STACKS
f_182731_
private static final StreamCodec<RegistryFriendlyByteBuf, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ItemStack>>
c
SLOTS_STREAM_CODEC
field_48190
STACK_MAP_CODEC
f_315220_
private final int
d
containerId
field_12819
syncId
f_133939_
private final int
e
stateId
field_34037
revision
f_182732_
private final int
f
slotNum
field_12818
slot
f_133940_
private final int
g
buttonNum
field_12817
button
f_133941_
private final ClickType
h
clickType
field_12815
actionType
f_133944_
private final ItemStack
i
carriedItem
field_12816
stack
f_179568_
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<ItemStack>
j
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)
private (RegistryFriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(wk arg0)
write(RegistryFriendlyByteBuf arg0)
method_55971(class_9129 arg0)
write(RegistryByteBuf buf)
m_133960_(C_313350_ arg0)
public PacketType<ServerboundContainerClickPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(agi arg0)
handle(ServerGamePacketListener arg0)
method_12191(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public int
b()
getContainerId()
method_12194()
getSyncId()
m_133959_()
public int
e()
getSlotNum()
method_12192()
getSlot()
m_133962_()
public int
f()
getButtonNum()
method_12193()
getButton()
m_133963_()
public ItemStack
g()
getCarriedItem()
method_12190()
getStack()
m_179581_()
public it.unimi.dsi.fastutil.ints.Int2ObjectMap<ItemStack>
h()
getChangedSlots()
method_34678()
getModifiedStacks()
m_179582_()
public ClickType
i()
getClickType()
method_12195()
getActionType()
m_133966_()
public int
j()
getStateId()
method_37440()
getRevision()
m_182741_()