Java Code Examples for cpw.mods.fml.common.event.FMLInterModComms#sendRuntimeMessage()
The following examples show how to use
cpw.mods.fml.common.event.FMLInterModComms#sendRuntimeMessage() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CommonProxy.java From BigReactors with MIT License | 6 votes |
public void init() { BigReactors.registerTileEntities(); CommonPacketHandler.init(); NetworkRegistry.INSTANCE.registerGuiHandler(BRLoader.instance, new BigReactorsGUIHandler()); BigReactors.tickHandler = new BigReactorsTickHandler(); FMLCommonHandler.instance().bus().register(BigReactors.tickHandler); FMLCommonHandler.instance().bus().register(new MultiblockServerTickHandler()); sendInterModAPIMessages(); if(Loader.isModLoaded("VersionChecker")) { FMLInterModComms.sendRuntimeMessage(BRLoader.MOD_ID, "VersionChecker", "addVersionCheck", "http://big-reactors.com/version.json"); } }
Example 2
Source File: BW_NEI_BioVatHandler.java From bartworks with MIT License | 5 votes |
public BW_NEI_BioVatHandler(GT_Recipe.GT_Recipe_Map aRecipeMap) { super(aRecipeMap); this.transferRects.add(new TemplateRecipeHandler.RecipeTransferRect(new Rectangle(65, 13, 36, 18), this.getOverlayIdentifier())); if (!NEI_BW_Config.sIsAdded) { FMLInterModComms.sendRuntimeMessage(GT_Values.GT, "NEIPlugins", "register-crafting-handler", "gregtech@" + this.getRecipeName() + "@" + this.getOverlayIdentifier()); GuiCraftingRecipe.craftinghandlers.add(this); GuiUsageRecipe.usagehandlers.add(this); } }
Example 3
Source File: BW_NEI_BioLabHandler.java From bartworks with MIT License | 5 votes |
public BW_NEI_BioLabHandler(GT_Recipe.GT_Recipe_Map aRecipeMap) { super(aRecipeMap); this.transferRects.add(new TemplateRecipeHandler.RecipeTransferRect(new Rectangle(65, 13, 36, 18), this.getOverlayIdentifier())); if (!NEI_BW_Config.sIsAdded) { FMLInterModComms.sendRuntimeMessage(GT_Values.GT, "NEIPlugins", "register-crafting-handler", "gregtech@" + this.getRecipeName() + "@" + this.getOverlayIdentifier()); GuiCraftingRecipe.craftinghandlers.add(this); GuiUsageRecipe.usagehandlers.add(this); } }
Example 4
Source File: BW_NEI_OreHandler.java From bartworks with MIT License | 5 votes |
public BW_NEI_OreHandler() { if (!NEI_BW_Config.sIsAdded) { FMLInterModComms.sendRuntimeMessage(MainMod.MOD_ID, "NEIPlugins", "register-crafting-handler", MainMod.MOD_ID + "@" + this.getRecipeName() + "@" + this.getOverlayIdentifier()); GuiCraftingRecipe.craftinghandlers.add(this); // GuiUsageRecipe.usagehandlers.add(this); } }