net.minecraft.network.protocol.game

public class ServerboundContainerClickPacket

implements Packet<ServerGamePacketListener>

aic
net.minecraft.network.protocol.game.ServerboundContainerClickPacket
net.minecraft.class_2813
net.minecraft.unmapped.C_enzhnfdg
net.minecraft.network.packet.c2s.play.ClickSlotC2SPacket
net.minecraft.network.packet.c2s.play.SlotClickC2SPacket
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
f_jeueocox
CODEC
CODEC
f_316870_
private static final int
b
MAX_SLOT_COUNT
field_34045
f_wpzpgsbv
MAX_MODIFIED_STACKS
MAX_MODIFIED_STACKS
f_182731_
private static final StreamCodec<RegistryFriendlyByteBuf, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ItemStack>>
c
SLOTS_STREAM_CODEC
field_48190
f_nxqdpizm
STACK_MAP_CODEC
STACK_MAP_CODEC
f_315220_
private final int
d
containerId
field_12819
f_wdmowzhx
syncId
syncId
f_133939_
private final int
e
stateId
field_34037
f_naksxsuv
revision
revision
f_182732_
private final int
f
slotNum
field_12818
f_bqwlhgxs
slot
slot
f_133940_
private final int
g
buttonNum
field_12817
f_fgbtzexp
button
button
f_133941_
private final ClickType
h
clickType
field_12815
f_tzmyalgg
actionType
actionType
f_133944_
private final ItemStack
i
carriedItem
field_12816
f_wsguzocp
stack
stack
f_179568_
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<ItemStack>
j
changedSlots
field_29540
f_gxuewyiw
modifiedStacks
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(xg arg0)
write(RegistryFriendlyByteBuf arg0)
method_55971(class_9129 arg0)
m_thhtnbow(C_bngyzsts arg0)
write(RegistryByteBuf buf)
write(RegistryByteBuf buf)
m_133960_(C_313350_ arg0)
public PacketType<ServerboundContainerClickPacket>
a()
type()
method_55846()
m_bbocywrf()
getPacketId()
getType()
m_5779_()
public void
a(ahm arg0)
handle(ServerGamePacketListener arg0)
method_12191(class_2792 arg0)
m_nzfgmuah(C_eetcdhxt arg0)
apply(ServerPlayPacketListener arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public int
b()
getContainerId()
method_12194()
m_azskrbor()
getSyncId()
getSyncId()
m_133959_()
public int
e()
getSlotNum()
method_12192()
m_gevbzohx()
getSlot()
getSlot()
m_133962_()
public int
f()
getButtonNum()
method_12193()
m_tajwnqib()
getButton()
getButton()
m_133963_()
public ItemStack
g()
getCarriedItem()
method_12190()
m_cdiidtjt()
getStack()
getStack()
m_179581_()
public it.unimi.dsi.fastutil.ints.Int2ObjectMap<ItemStack>
h()
getChangedSlots()
method_34678()
m_zmlvlljg()
getModifiedStacks()
getModifiedStacks()
m_179582_()
public ClickType
i()
getClickType()
method_12195()
m_dxsocbdl()
getActionType()
getActionType()
m_133966_()
public int
j()
getStateId()
method_37440()
m_elnuhagp()
getRevision()
getRevision()
m_182741_()