Inter-Mod Communicaton (IMC)


When the game is starting, Thermal Expansion may receive messages from other mods through Forge's IMC system. This allows other mods to do things like adding or removing recipes to Machines, or adding fuel or coolant types to Dynamos.

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

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

Messages

Other mods may send IMC messages to Thermal Expansion for any of the following purposes:

Refer to ThermalExpansionHelper to see how to send the IMC messages.


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