Inter-Mod Communicaton (IMC)


When the game is starting, Thermal Foundation may receive messages from other mods through Forge's IMC system. This currently only allows other mods to alter the Forge Lexicon's blacklist.

For convenience, the CoFH API provides ThermalFoundationHelper, a class with methods that create and send various kinds of IMC messages for Thermal Foundation. Mod developers may choose to call these methods directly, or to copy them over to their own codebases.

Any IMC messages sent to Thermal Foundation are read during the LoadComplete loading phase. This means that messages can be sent during the PreInitialization, Initialization and PostInitialization phases to work.

Messages

IMC messages can currently only be used to add or remove specific ItemStacks in the Forge Lexicon's blacklist. Refer to ThermalFoundationHelper to see how to send these messages.


© Copyright 2017 Team CoFH. Powered by GitHub Pages, Jekyll, UIkit.
Last updated: 2017-09-24 08:15:07 +0000