public class OpenInventoryMessage extends java.lang.Object implements IMalisisMessageHandler<OpenInventoryMessage.Packet,net.minecraftforge.fml.common.network.simpleimpl.IMessage>
| Modifier and Type | Class and Description |
|---|---|
static class |
OpenInventoryMessage.ContainerType |
static class |
OpenInventoryMessage.Packet |
| Constructor and Description |
|---|
OpenInventoryMessage() |
| Modifier and Type | Method and Description |
|---|---|
void |
process(OpenInventoryMessage.Packet message,
net.minecraftforge.fml.common.network.simpleimpl.MessageContext ctx)
Handles the received
OpenInventoryMessage.Packet on the client. |
static void |
send(IInventoryProvider container,
net.minecraft.entity.player.EntityPlayerMP player,
int windowId)
Sends a packet to client to notify it to open a
MalisisInventory. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClientPlayer, getClientWorld, getPlayer, getWorld, onMessage, useTaskpublic void process(OpenInventoryMessage.Packet message, net.minecraftforge.fml.common.network.simpleimpl.MessageContext ctx)
OpenInventoryMessage.Packet on the client.MalisisInventoryprocess in interface IMalisisMessageHandler<OpenInventoryMessage.Packet,net.minecraftforge.fml.common.network.simpleimpl.IMessage>message - the messagectx - the ctxpublic static void send(IInventoryProvider container, net.minecraft.entity.player.EntityPlayerMP player, int windowId)
MalisisInventory.container - the containerplayer - the playerwindowId - the window id