Skip to content
cleverpanda edited this page May 16, 2019 · 4 revisions

Welcome to the Divergent-Underground wiki!

### Read the pages provided to learn how to add mod support for the different types of blocks.

Recipe jsons and language files still need to be done manually.

The Class ModelBakeEventCreator runs in a development environment and automatically creates blockstate and model json files.

For Pull Requests:

  1. Clone this project and make a branch.
  2. Add the mod to build.gradle.
  3. Create your compatibility class according to the examples. Use the same formatting and naming conventions as I do.
  4. Create textures for the mod as needed and put them in .either divergentunderground:blocks or divergentunderground:items/integration/[modid].
  5. Add "after:[modid];" to the dependencies order line in DivergentUnderground.
  6. Run the mod in your workspace. ModelBakeEventCreator will create all of the needed jsons.
  7. Add entries to the language files.
  8. Run the mod again and test everything to make sure it works.

For Support For Divergent Underground Within Your Mod

  1. Add Divergent Underground as a soft dependency for your project
  2. Create your compatibility class according to the examples, but use ModItems#makeExternalRock, ModItems#makeExternalOre, and ModItems#makeExternalGem. Note this is only needed if you'll be using ModelBakeEventCreator.
  3. Add "before:divergentunderground;" to your dependencies order.
  4. Run the mod in your workspace. ModelBakeEventCreator will create all of the needed jsons under a divergentunderground directory. Move them wherever you need.
  5. Add entries to the language files.
  6. Run the mod again and test everything to make sure it works.