net.minecraft.network.protocol.game

public class ServerboundContainerClickPacket

implements Packet<ServerGamePacketListener>

aic
net.minecraft.network.protocol.game.ServerboundContainerClickPacket
net.minecraft.class_2813
net.minecraft.network.packet.c2s.play.ClickSlotC2SPacket
net.minecraft.network.protocol.game.PacketPlayInWindowClick

Field summary

Modifier and TypeField
public static final StreamCodec<RegistryFriendlyByteBuf, ServerboundContainerClickPacket>
a
STREAM_CODEC
field_48189
CODEC
private static final int
b
MAX_SLOT_COUNT
field_34045
MAX_MODIFIED_STACKS
private static final StreamCodec<RegistryFriendlyByteBuf, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ItemStack>>
c
SLOTS_STREAM_CODEC
field_48190
STACK_MAP_CODEC
private final int
d
containerId
field_12819
syncId
private final int
e
stateId
field_34037
revision
private final int
f
slotNum
field_12818
slot
private final int
g
buttonNum
field_12817
button
private final ClickType
h
clickType
field_12815
actionType
private final ItemStack
i
carriedItem
field_12816
stack
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<ItemStack>
j
changedSlots
field_29540
modifiedStacks

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)
write(RegistryByteBuf buf)
public PacketType<ServerboundContainerClickPacket>
a()
type()
method_55846()
getPacketId()
public void
a(ahm arg0)
handle(ServerGamePacketListener arg0)
method_12191(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public int
b()
getContainerId()
method_12194()
getSyncId()
public int
e()
getSlotNum()
method_12192()
getSlot()
public int
f()
getButtonNum()
method_12193()
getButton()
public ItemStack
g()
getCarriedItem()
method_12190()
getStack()
public it.unimi.dsi.fastutil.ints.Int2ObjectMap<ItemStack>
h()
getChangedSlots()
method_34678()
getModifiedStacks()
public ClickType
i()
getClickType()
method_12195()
getActionType()
public int
j()
getStateId()
method_37440()
getRevision()