Changelog
Additions
- Added a flag system
EntryFlagtoValidatedFieldandConfigAction. 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
ofDynamicKeybuilder methods toValidatedIdentifier. Use ofofRegistryKeyfor non-synced dynamic registries (Loot registries, or modded dynamic registries that don't sync, primarily) is now deprecated and will log a warning.ofDynamicKeyhandles synchronization of predicated registry lists more robustly. - Added zh_tw translations
Changes
ValidatedIdentifiernow automatically appliesREQUIRES_WORLDto 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_COMMANDorClickAction.SUGGEST_COMMANDnow automatically applyREQUIRES_WORLD
Fixes
ValidatedIdentifierwithout 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

