Configuring The Mod (1.13 )
The 1.13.2 version is very early in development! Things will change and break. If you update the mod and it crashes, try deleting your config files and starting fresh.
Playing 1.12.2? You want to read this page instead.
The old Forge config system is gone, so everything has changed for those familiar with the old ways. Scaling Health now uses TOML like the new Forge system. My implementation is different, but it should work the same way. There are now multiple config files, more on that in a moment.
- A text editor for editing the files. You can use something basic like Notepad, but I recommend using something more sophisticated. A good editor will help you spot errors while you edit.
- My personal recommendation is Visual Studio Code (it's great for JSON too!)
- Other popular choices are Sublime Text, Notepad++, and Atom.
- A basic understanding of TOML (click here). Editing simple values is easy enough (just 'key = value'), but some features in Scaling Health require arrays of tables.
No, usually not. Scaling Health will reload config files automatically. Some settings may be stored in a way that requires a restart if performance is an issue. But most of the time, changes will take effect right after you save the file.
Config reloading is still a bit finicky. If changes fail to take effect, try adding a space after the value and saving again. Or edit a different value. For client settings you may want to exit the world first, as there is a small chance of crashing when making changes, but it's rare.
Let me know, I might have forgotten to add it. If it's missing, I'll add it. If it's no longer relevant, I'll point you in the right direction. Speaking of...
These are done with loot tables now, so you need to override the relevant loot table. These are located in data/scalinghealth/loot_tables/bonus_drops/. It's just like any other loot table, so you can add/remove drops or conditions or whatever you want. There are three tables right now, one for hostile mobs, peaceful mobs, and bosses.
You can view bonus drop loot tables here:
Scaling Health has three config files by default. These are in config/scaling-health. There are two files in the top level, client.toml and common.toml, then a dimension folder which contains default.toml.
config
└─scaling-health
│ client.toml
│ common.toml
│
└─dimensions
default.toml
Client-side settings, such as heart rendering configs.
Server/common settings which are not specific to any dimension
The dimensions folder holds configs for specific dimensions. A good percentage of all config options are in dimension configs. By default, there is only one file, default.toml. This file must exist. It applies to the overworld and all dimensions that do not have their own config. To create a config for a dimension, make a copy of default.toml and name it as described below.
For most dimensions, the file name should be dim_id.toml, where 'id' is replaced with the dimension ID. For example, if there is a dimension 6, you would name its file dim_6.toml. For the Nether and the End, you can name the files nether.toml and end.toml respectively.