This is a PR I've been meaning to do for ages, but I haven't got around to until now. A while ago a config condition system was added to Abnormals Core which lets recipes, advancement/loot modifiers, loot tables and whatever else use the value of a config entry as a json condition, like this:
To support this, mods need to register their config objects in the DataUtil#registerConfigCondition method and annotate all the ConfigValue fields with @ConfigKey which specifies the string key for that value in json. I've done that for this PR, and I'll change the specific strings used for the config values if anyone requests.
This is a PR I've been meaning to do for ages, but I haven't got around to until now. A while ago a config condition system was added to Abnormals Core which lets recipes, advancement/loot modifiers, loot tables and whatever else use the value of a config entry as a json condition, like this:
To support this, mods need to register their config objects in the
DataUtil#registerConfigCondition
method and annotate all theConfigValue
fields with@ConfigKey
which specifies the string key for that value in json. I've done that for this PR, and I'll change the specific strings used for the config values if anyone requests.