public static class InventoryActionMessage.Packet
extends java.lang.Object
implements net.minecraftforge.fml.common.network.simpleimpl.IMessage
| Constructor and Description |
|---|
Packet() |
Packet(MalisisInventoryContainer.ActionType action,
int inventoryId,
int slotNumber,
int code,
int windowId) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromBytes(io.netty.buffer.ByteBuf buf) |
void |
toBytes(io.netty.buffer.ByteBuf buf) |
public Packet()
public Packet(MalisisInventoryContainer.ActionType action, int inventoryId, int slotNumber, int code, int windowId)
public void fromBytes(io.netty.buffer.ByteBuf buf)
fromBytes in interface net.minecraftforge.fml.common.network.simpleimpl.IMessagepublic void toBytes(io.netty.buffer.ByteBuf buf)
toBytes in interface net.minecraftforge.fml.common.network.simpleimpl.IMessage