[Feature]: Add support for datapack entries
tristankechlo opened this issue ยท 1 comments
Description:
- allows other mods that add new mobs, to also supply the preferred scalings alongside
- add custom namespace to allow changing the settings through a datapack
data/<namespace>/entity_scaling/<entity>.json
- config file takes precedence over the datapack entries
- datapack entries can set
overwrite=true
to overwrite the config entries- should only be used by external datapacks and not by mods that add default scaling for their mobs
- exclude list still the higher priority, to allow proper blocking
- datapack entries can set
Hierarchy for scaling:
- if mobs is in exclude_list, do not apply scaling
- if the is an datapack entry with
overwrite=true
use it - check the config file for custom scalings in scaling_overrides
- check the config if default scaling can be applied (checks the include_list)
- use the datapack entry supplied by the external mod