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 Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionServerboundContainerClickPacket(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 Summary
Modifier and TypeMethodDescriptionintit.unimi.dsi.fastutil.ints.Int2ObjectMap<ItemStack>intintintvoidhandle(ServerGamePacketListener p_133958_) voidwrite(FriendlyByteBuf p_133961_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.Packet
isSkippable, nextProtocol 
- 
Field Details
- 
MAX_SLOT_COUNT
private static final int MAX_SLOT_COUNT- See Also:
 
 - 
containerId
private final int containerId - 
stateId
private final int stateId - 
slotNum
private final int slotNum - 
buttonNum
private final int buttonNum - 
clickType
 - 
carriedItem
 - 
changedSlots
 
 - 
 - 
Constructor Details
- 
ServerboundContainerClickPacket
 - 
ServerboundContainerClickPacket
 
 - 
 - 
Method Details
- 
write
- Specified by:
 writein interfacePacket<ServerGamePacketListener>
 - 
handle
- Specified by:
 handlein interfacePacket<ServerGamePacketListener>
 - 
getContainerId
public int getContainerId() - 
getSlotNum
public int getSlotNum() - 
getButtonNum
public int getButtonNum() - 
getCarriedItem
 - 
getChangedSlots
 - 
getClickType
 - 
getStateId
public int getStateId() 
 -