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

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `String` | `key` This field, and `value` are both at the mod's discretion

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ItemStack` | `getItemStackValue()`
    `Class<?>` | `getMessageType()`
    `NBTTagCompound` | `getNBTValue()`
    `String` | `getSender()`
    `String` | `getStringValue()`
    `boolean` | `isItemStackMessage()`
    `boolean` | `isNBTMessage()`
    `boolean` | `isStringMessage()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### key

          public final String key

      This field, and `value` are both at the mod's discretion

  - ### Method Detail

    - #### 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()