public class CloseInventoryMessage extends java.lang.Object implements cpw.mods.fml.common.network.simpleimpl.IMessageHandler<CloseInventoryMessage.Packet,cpw.mods.fml.common.network.simpleimpl.IMessage>
| Modifier and Type | Class and Description |
|---|---|
static class |
CloseInventoryMessage.ContainerType |
static class |
CloseInventoryMessage.Packet |
| Constructor and Description |
|---|
CloseInventoryMessage() |
| Modifier and Type | Method and Description |
|---|---|
cpw.mods.fml.common.network.simpleimpl.IMessage |
onMessage(CloseInventoryMessage.Packet message,
cpw.mods.fml.common.network.simpleimpl.MessageContext ctx)
Handles the received
CloseInventoryMessage.Packet on the client. |
static void |
send(net.minecraft.entity.player.EntityPlayerMP player)
Sends a packet to client to notify it to open a
MalisisInventory. |
public cpw.mods.fml.common.network.simpleimpl.IMessage onMessage(CloseInventoryMessage.Packet message, cpw.mods.fml.common.network.simpleimpl.MessageContext ctx)
CloseInventoryMessage.Packet on the client. Close the GUI.onMessage in interface cpw.mods.fml.common.network.simpleimpl.IMessageHandler<CloseInventoryMessage.Packet,cpw.mods.fml.common.network.simpleimpl.IMessage>message - the messagectx - the ctxpublic static void send(net.minecraft.entity.player.EntityPlayerMP player)
MalisisInventory.player - the player