Skip to content
Ivorforce edited this page Oct 4, 2014 · 18 revisions

If you want information about the mod's functionality itself, look up the wiki.

This page is a guide for using Recurrent Complex as a dependency.

Intercomm Messages (Light dependency)

Using this mod as a light dependency is very simple.

Simply send messages to the mod (ID: 'reccomplex'), using the FMLIntercommHandler. If you want to use the more advanced features of the mod, like spawning structures yourself, you will need to add it as a hard dependency.

  • registerStructure (String): Registers a generating structure. The structure is looked up in 'assets/SENDER-MODID/structures/genericStructures/NAME.zip'.
  • registerSilentStructure (String): Registers a non-generating structure. The structure is looked up in 'assets/SENDER-MODID/structures/silentStructures/NAME.zip'.
  • registerInventoryGenerator (String): Registers an inventory generator. The file is looked up in 'assets/SENDER-MODID/structures/inventoryGenerators/NAME.json'.

Useful Classes (Hard dependency)

  • StructureHandler for registering and retrieving structures
  • InventoryGenerationHandler for registering and retrieving inventory generators
  • WorldGenStructures for generating a structure generically

Clone this wiki locally