1.0.3+1.21.11-forge
Curse Maven Snippet
What's new
1.0.3
Fixed
- Fixed
Color.ARGB_CODECandColor.RGB_CODECfailing to parse opaque/unsigned hex colors (alpha >= 0x80, such as#FFFFFFFFor#80000000) and registeredColor.RGB_CODEC/Color.ARGB_CODEConDynamicPropertyTypeRegistry.RGB_COLORandARGB_COLOR. - Removed redundant NightConfig
.autosave()calls onCommentedFileConfiginstances to eliminate per-property disk rewrite amplification during scope saves. - Preserved deterministic registration order for config categories/tabs and indexed properties by unique ID for
O(1)findProperty()lookups. - Fixed
DefaultProperty.onDisconnect()clearing listeners on static properties; listeners now remain attached and are notified when a synced runtime value reverts to disk state, while dynamicLEVELproperties continue to be invalidated and removed. - Added a default
ConfigManager.detachServerConfig()lifecycle hook to close and detachLEVELconfig file handles on server stop and before re-attaching, and wiredGameShuttingDownEventtoClientEventHandler.onClientStopping()on Forge and NeoForge. - Fixed
DefaultWidgetRegistry.register()silently ignoring overrides of pre-registered default widgets. - Cached the JSON preview tooltip in
ListEntryinstead of re-encoding viaJsonOpsevery frame while hovered. - Fixed
Group.IOptionalStep.withTranslationKey(String)being ignored so custom translation keys are now honored byDefaultProperty.translationKey()anddescriptionTranslationKey(). - Fixed
RegistryListSelectionScreen.updateSelected()reading the Available list's scroll offset instead of the Selected list's, preserving the Selected pane's scroll position when transferring or reordering items. - Fixed
EnumEntry.createWidget()throwing aNullPointerExceptionfor enums whose constants declare class bodies by resolving enum constants viagetDeclaringClass()instead ofgetClass().
This mod has no additional files