Class ServerboundContainerClickPacket
java.lang.Object
com.github.steveice10.mc.protocol.packet.ingame.serverbound.inventory.ServerboundContainerClickPacket
- All Implemented Interfaces:
MinecraftPacket,Packet
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionServerboundContainerClickPacket(int containerId, int stateId, int slot, @NonNull ContainerActionType action, @NonNull ContainerAction param, @Nullable ItemStack carriedItem, @NonNull it.unimi.dsi.fastutil.ints.Int2ObjectMap<@Nullable ItemStack> changedSlots) ServerboundContainerClickPacket(int containerId, int stateId, int slot, @NonNull ContainerActionType action, @NonNull ContainerAction param, @Nullable ItemStack carriedItem, @NonNull Map<Integer, @Nullable ItemStack> changedSlots) ServerboundContainerClickPacket(io.netty.buffer.ByteBuf in, MinecraftCodecHelper helper) -
Method Summary
Modifier and TypeMethodDescriptionvoidserialize(io.netty.buffer.ByteBuf out, MinecraftCodecHelper helper) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.steveice10.packetlib.packet.Packet
isPriority
-
Field Details
-
CLICK_OUTSIDE_NOT_HOLDING_SLOT
public static final int CLICK_OUTSIDE_NOT_HOLDING_SLOT- See Also:
-
-
Constructor Details
-
ServerboundContainerClickPacket
public ServerboundContainerClickPacket(int containerId, int stateId, int slot, @NonNull @NonNull ContainerActionType action, @NonNull @NonNull ContainerAction param, @Nullable @Nullable ItemStack carriedItem, @NonNull @NonNull Map<Integer, @Nullable ItemStack> changedSlots) -
ServerboundContainerClickPacket
public ServerboundContainerClickPacket(int containerId, int stateId, int slot, @NonNull @NonNull ContainerActionType action, @NonNull @NonNull ContainerAction param, @Nullable @Nullable ItemStack carriedItem, @NonNull @NonNull it.unimi.dsi.fastutil.ints.Int2ObjectMap<@Nullable ItemStack> changedSlots) -
ServerboundContainerClickPacket
public ServerboundContainerClickPacket(io.netty.buffer.ByteBuf in, MinecraftCodecHelper helper) throws IOException - Throws:
IOException
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceMinecraftPacket- Throws:
IOException
-