public class FMLInterModComms
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
FMLInterModComms.IMCEvent
Subscribe to this event to receive your messages (they are sent between
Init and PostInit ) |
static class |
FMLInterModComms.IMCMessage
You will receive an instance of this for each message sent
|
Constructor and Description |
---|
FMLInterModComms() |
Modifier and Type | Method and Description |
---|---|
static <any> |
fetchRuntimeMessages(java.lang.Object forMod)
Retrieve any pending runtime messages for the mod
|
static boolean |
sendMessage(java.lang.String modId,
java.lang.String key,
ItemStack value) |
static boolean |
sendMessage(java.lang.String modId,
java.lang.String key,
NBTTagCompound value) |
static boolean |
sendMessage(java.lang.String modId,
java.lang.String key,
java.lang.String value) |
static void |
sendRuntimeMessage(java.lang.Object sourceMod,
java.lang.String modId,
java.lang.String key,
ItemStack value) |
static void |
sendRuntimeMessage(java.lang.Object sourceMod,
java.lang.String modId,
java.lang.String key,
NBTTagCompound value) |
static void |
sendRuntimeMessage(java.lang.Object sourceMod,
java.lang.String modId,
java.lang.String key,
java.lang.String value) |
public static boolean sendMessage(java.lang.String modId, java.lang.String key, NBTTagCompound value)
public static boolean sendMessage(java.lang.String modId, java.lang.String key, ItemStack value)
public static boolean sendMessage(java.lang.String modId, java.lang.String key, java.lang.String value)
public static void sendRuntimeMessage(java.lang.Object sourceMod, java.lang.String modId, java.lang.String key, NBTTagCompound value)
public static void sendRuntimeMessage(java.lang.Object sourceMod, java.lang.String modId, java.lang.String key, ItemStack value)
public static void sendRuntimeMessage(java.lang.Object sourceMod, java.lang.String modId, java.lang.String key, java.lang.String value)
public static <any> fetchRuntimeMessages(java.lang.Object forMod)
forMod
- The Mod.Instance
of the Mod to fetch messages for