Class ServerboundContainerClickPacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundContainerClickPacket
- All Implemented Interfaces:
- Packet<ServerGamePacketListener>
public class ServerboundContainerClickPacket
extends Object
implements Packet<ServerGamePacketListener>
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionServerboundContainerClickPacket(int p_182734_, int p_182735_, int p_182736_, int p_182737_, ClickType p_182738_, ItemStack p_182739_, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ItemStack> p_182740_) ServerboundContainerClickPacket(FriendlyByteBuf p_179578_) 
- 
Method SummaryModifier and TypeMethodDescriptionintit.unimi.dsi.fastutil.ints.Int2ObjectMap<ItemStack>intintintvoidhandle(ServerGamePacketListener p_133958_) voidwrite(FriendlyByteBuf p_133961_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.PacketisSkippable, nextProtocol
- 
Field Details- 
MAX_SLOT_COUNTprivate static final int MAX_SLOT_COUNT- See Also:
 
- 
containerIdprivate final int containerId
- 
stateIdprivate final int stateId
- 
slotNumprivate final int slotNum
- 
buttonNumprivate final int buttonNum
- 
clickType
- 
carriedItem
- 
changedSlots
 
- 
- 
Constructor Details- 
ServerboundContainerClickPacket
- 
ServerboundContainerClickPacket
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- Packet<ServerGamePacketListener>
 
- 
handle- Specified by:
- handlein interface- Packet<ServerGamePacketListener>
 
- 
getContainerIdpublic int getContainerId()
- 
getSlotNumpublic int getSlotNum()
- 
getButtonNumpublic int getButtonNum()
- 
getCarriedItem
- 
getChangedSlots
- 
getClickType
- 
getStateIdpublic int getStateId()
 
-