Hostile Worlds - Invasions - Customizing

From Coros.us Wiki
Revision as of 17:46, 22 January 2019 by Corosus (Talk | contribs) (Created page with "This page is for customizing the existing invasion wave profiles or creating your own. == Getting setup == You'll need a good text editor, for windows, notepad++ should do,...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This page is for customizing the existing invasion wave profiles or creating your own.

Getting setup

You'll need a good text editor, for windows, notepad++ should do, but something that can do syntax checking would help make sure things are formatted correctly, and editor like IntelliJ IDEA can do this. If you just use notepad++ you can find out if anything went wrong reading your json file later.

The first thing you'll need to do is run the game with coroutil and hw-invasions installed, this will generate the needed files in your minecraft config folder, you can leave the game open or close it at this point, doesn't matter. If you leave it open you can live edit and reload json files, to save from having to reload large modpacks.

The main file you will be working in is mob_spawns.json, once you have run the game, you can find it in config/CoroUtil/data/templates/actions/

Resetting files or updating CoroUtil

CoroUtil scans for changes in any file in config/CoroUtil/data/. If the folder is empty, or if there have been no changes to any file, it will overwrite the contents of everything in there, this is so when there is a new update to the json files, it can make sure anyone who had CoroUtil and HW-Invasions installed before will get the most up to date json files.

This also means that if you make any changes to the files, your files wont be overwritten on each run of the game, but also if there was any json changes for a newer version of the mod, you wont have those either.