public final class CasingInventoryMessage extends AbstractMessageWithLocation
| Constructor and Description |
|---|
CasingInventoryMessage() |
CasingInventoryMessage(Casing casing,
int slot,
net.minecraft.item.ItemStack stack,
net.minecraft.nbt.NbtCompound moduleData) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromBytes(io.netty.buffer.ByteBuf buf) |
net.minecraft.nbt.NbtCompound |
getModuleData() |
int |
getSlot() |
net.minecraft.item.ItemStack |
getStack() |
void |
toBytes(io.netty.buffer.ByteBuf buf) |
getPositionpublic CasingInventoryMessage(Casing casing, int slot, net.minecraft.item.ItemStack stack, @Nullable net.minecraft.nbt.NbtCompound moduleData)
public CasingInventoryMessage()
public int getSlot()
public net.minecraft.item.ItemStack getStack()
public net.minecraft.nbt.NbtCompound getModuleData()
public void fromBytes(io.netty.buffer.ByteBuf buf)
fromBytes in class AbstractMessageWithLocationpublic void toBytes(io.netty.buffer.ByteBuf buf)
toBytes in class AbstractMessageWithLocation