Skip to content
Ivorforce edited this page Oct 25, 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.

Light dependency

Using RC as a light dependency means that it will work without RC being installed, but if it is installed, your mod will register its structures in it. This is very useful if you want to take advantage of RC's generation features, but don't want to force your fans to download it necessarily.

You simply need to have Recurrent Complex installed, and place your structures in the correct directories, e.g.

  • assets/modid/structures/genericStructures
  • assets/modid/structures/silentStructures
  • assets/modid/structures/inventoryGenerators

They should be loaded by Recurrent Complex automatically. You can find more information about the directory structure here.

Hard dependency

If you plan to use RC as a hard dependency, these might be classes worth looking into:

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

Clone this wiki locally