promotional banner

Collapsible gamerules

Makes the GameRules UI screen collapsible by category. Tired of scrolling? Clean up your world settings.
Back to Files

Collapsible Game Rules 1.0.29+26.2

File namecollapsible-game-rules-1.0.29+26.2.jar
Uploader
DasikIgaijinDasikIgaijin
Uploaded
Sep 23, 2026
Downloads
8
Size
100.9 KB
Mod Loaders
Fabric
File ID
8956163
Type
R
Release
Supported game versions
  • 26.3-snapshot
  • 26.2

Curse Maven Snippet

Fabric

modImplementation "curse.maven:collapsible-gamerules-1468932:8956163"

Learn more about Curse Maven

What's new

[1.0.29+26.2]

  • Category Reset Engine (CategoryResetHelper): Implemented headless logic for comparing current game rule values (boolean, integer, and serialized string) against vanilla defaults to accurately detect category modification state.
  • Zero-Allocation State Evaluation: Designed pure functional comparison checks and count boundary clamping (clampModifiedCount) to maintain 0B heap allocation on UI tick paths.
  • Comprehensive Automated Tests: Added complete JUnit 5 test suite in CategoryResetHelperTest covering boolean/integer deviations, trimmed strings, null-safe equality, and boundary clamping.

This mod has no additional files