public class CloseInventoryMessage extends java.lang.Object implements IMalisisMessageHandler<CloseInventoryMessage.Packet,net.minecraftforge.fml.common.network.simpleimpl.IMessage>
| Modifier and Type | Class and Description |
|---|---|
static class |
CloseInventoryMessage.Packet |
| Constructor and Description |
|---|
CloseInventoryMessage() |
| Modifier and Type | Method and Description |
|---|---|
void |
process(CloseInventoryMessage.Packet message,
net.minecraftforge.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. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClientPlayer, getClientWorld, getPlayer, getWorld, onMessage, useTaskpublic void process(CloseInventoryMessage.Packet message, net.minecraftforge.fml.common.network.simpleimpl.MessageContext ctx)
CloseInventoryMessage.Packet on the client. Closes the GUI.process in interface IMalisisMessageHandler<CloseInventoryMessage.Packet,net.minecraftforge.fml.common.network.simpleimpl.IMessage>message - the messagectx - the ctxpublic static void send(net.minecraft.entity.player.EntityPlayerMP player)
MalisisInventory.player - the player