public class ServerboundContainerClickPacket extends Object implements MinecraftPacket
| Modifier and Type | Field and Description |
|---|---|
static int |
CLICK_OUTSIDE_NOT_HOLDING_SLOT |
| Constructor and Description |
|---|
ServerboundContainerClickPacket(io.netty.buffer.ByteBuf in,
MinecraftCodecHelper helper) |
ServerboundContainerClickPacket(int containerId,
int stateId,
int slot,
ContainerActionType action,
ContainerAction param,
ItemStack carriedItem,
@NotNull it.unimi.dsi.fastutil.ints.Int2ObjectMap<ItemStack> changedSlots) |
ServerboundContainerClickPacket(int containerId,
int stateId,
int slot,
ContainerActionType action,
ContainerAction param,
ItemStack carriedItem,
@NotNull Map<Integer,ItemStack> changedSlots) |
| Modifier and Type | Method and Description |
|---|---|
void |
serialize(io.netty.buffer.ByteBuf out,
MinecraftCodecHelper helper) |
public static final int CLICK_OUTSIDE_NOT_HOLDING_SLOT
public ServerboundContainerClickPacket(int containerId,
int stateId,
int slot,
ContainerActionType action,
ContainerAction param,
ItemStack carriedItem,
@NotNull
@NotNull Map<Integer,ItemStack> changedSlots)
public ServerboundContainerClickPacket(int containerId,
int stateId,
int slot,
ContainerActionType action,
ContainerAction param,
ItemStack carriedItem,
@NotNull
@NotNull it.unimi.dsi.fastutil.ints.Int2ObjectMap<ItemStack> changedSlots)
public ServerboundContainerClickPacket(io.netty.buffer.ByteBuf in,
MinecraftCodecHelper helper)
throws IOException
IOExceptionpublic void serialize(io.netty.buffer.ByteBuf out,
MinecraftCodecHelper helper)
throws IOException
serialize in interface MinecraftPacketIOExceptionCopyright © 2022. All rights reserved.