Additions
- New
ConfigScreenWidgetfor easily creating a textless 20x20 widget to open your config from another screen.- Pass in your config's base scope (mod_id usually)
- Define a position absolutely, or choose a corner to anchor the widget to, and an optional padding (default 4px)
- Remember to add your new widget to the screens drawable children!
Changes
TextlessButtonWidgetis no longer final; make a custom implementation if you want!
Fixes
- Fixed
ValidatedField.toSet(collection)returning a list, not a set.- WARNING: This may potentially be a breaking change, if any mods have used
toSetand accepted that it returns aValidatedListinstead, rather than raising an issue with me. Their field will now not match the type returned. - Not marking this as a major patch since any mods that did this were working with broken state, not stable API
- WARNING: This may potentially be a breaking change, if any mods have used
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
Additions
- None.
Changes
- None.
Fixes
- make fmj suitable for 1.21.2 and 1.21.3...
Additions
- None.
Changes
- None.
Fixes
- make fmj suitable for 1.21.2
Additions
- None.
Changes
- None.
Fixes
- Make mods.toml suitable for 1.21.2


