cpw.mods.fml.common.event
Class FMLInterModComms.IMCMessage
java.lang.Object
cpw.mods.fml.common.event.FMLInterModComms.IMCMessage
- Enclosing class:
- FMLInterModComms
public static final class FMLInterModComms.IMCMessage
- extends Object
You will receive an instance of this for each message sent
- Author:
- cpw
Field Summary |
String |
key
This field, and value are both at the mod's discretion |
key
public final String key
- This field, and
value
are both at the mod's discretion
toString
public String toString()
- Overrides:
toString
in class Object
getSender
public String getSender()
getStringValue
public String getStringValue()
getNBTValue
public NBTTagCompound getNBTValue()
getItemStackValue
public ItemStack getItemStackValue()
getMessageType
public Class<?> getMessageType()
isStringMessage
public boolean isStringMessage()
isItemStackMessage
public boolean isItemStackMessage()
isNBTMessage
public boolean isNBTMessage()