public final class MessageCasingInventory extends AbstractMessageWithLocation
| Constructor and Description |
|---|
MessageCasingInventory() |
MessageCasingInventory(Casing casing,
int slot,
net.minecraft.item.ItemStack stack,
net.minecraft.nbt.NBTTagCompound moduleData) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromBytes(io.netty.buffer.ByteBuf buf) |
net.minecraft.nbt.NBTTagCompound |
getModuleData() |
int |
getSlot() |
net.minecraft.item.ItemStack |
getStack() |
void |
toBytes(io.netty.buffer.ByteBuf buf) |
getPositiongetDimensionpublic MessageCasingInventory(Casing casing, int slot, @Nullable net.minecraft.item.ItemStack stack, @Nullable net.minecraft.nbt.NBTTagCompound moduleData)
public MessageCasingInventory()
public int getSlot()
public net.minecraft.item.ItemStack getStack()
public net.minecraft.nbt.NBTTagCompound getModuleData()
public void fromBytes(io.netty.buffer.ByteBuf buf)
fromBytes in interface net.minecraftforge.fml.common.network.simpleimpl.IMessagefromBytes in class AbstractMessageWithLocationpublic void toBytes(io.netty.buffer.ByteBuf buf)
toBytes in interface net.minecraftforge.fml.common.network.simpleimpl.IMessagetoBytes in class AbstractMessageWithLocation