90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Changelog
Additions
- Added a flag system
EntryFlag
toValidatedField
andConfigAction
. Currently only has one flagREQUIRES_WORLD
. A field marked with REQUIRES_WORLD marks that the player needs to be in-game for the setting to work properly. The config screen will show Not in Game instead of the setting, when not in game. - Added
ofDynamicKey
builder methods toValidatedIdentifier
. Use ofofRegistryKey
for non-synced dynamic registries (Loot registries, or modded dynamic registries that don't sync, primarily) is now deprecated and will log a warning.ofDynamicKey
handles synchronization of predicated registry lists more robustly. - Added zh_tw translations
Changes
ValidatedIdentifier
now automatically appliesREQUIRES_WORLD
to validation for dynamic registries, which require the world to be loaded. They will now not be available out of game.- Validation wrappers (lists, ValidatedCondition, etc.) will inherit their delegates flags automatically
- ConfigActions based on
ClickAction.RUN_COMMAND
orClickAction.SUGGEST_COMMAND
now automatically applyREQUIRES_WORLD
Fixes
ValidatedIdentifier
without validation no longer tries to "force" you to use the minecraft namespace in the text box- Enums revert to their proper default when automatically validated (plain field in the config)
- Config actions now respect permissions