Collapsible Game Rules 1.0.24+26.2
Curse Maven Snippet
What's new
[1.0.24+26.2]
- Interactive Integer Sliders (
IntegerRuleEntryMixin): Replaced vanilla text edit boxes with interactiveIntegerSliderWidgetfor bounded integer game rules (random_tick_speed,respawn_radius,players_sleeping_percentage,max_entity_cramming, etc.). - Graceful Unbounded Fallback: Automatically preserves vanilla
EditBoxfor unbounded rules (max_command_sequence_length,max_command_forks, etc.), ensuring full player flexibility for arbitrary numeric entry. - Discrete Step Snapping & Value Sync: Snaps slider position and handle cleanly to configured step intervals (e.g. 5% increments for
players_sleeping_percentage), seamlessly updating vanilla game rules viainput.setValue(). - Bounded Integer Slider Metadata & Helper Registry: Created
GameRuleSliderHelperdefining safe numerical bounds, step intervals, and unit formatters for standard vanilla integer rules with comprehensive automated JUnit 5 test coverage. - Modern Boolean Toggle Switch Hook (
BooleanRuleEntryMixin): WiredBooleanToggleWidgetintoBooleanRuleEntry, replacing vanilla checkboxes with the modern emerald/ruby toggle switch across all boolean game rules with precision right-alignment (getContentRight() - 45). - Superclass Shadow Mixin Fix: Eliminated superclass
@Shadowcalls onextractLabelandchildren, permanently fixing theInvalidMixinExceptionthat caused the screen to freeze on"Retrieving game rules... o O o".
This mod has no additional files

