-
Notifications
You must be signed in to change notification settings - Fork 0
26.2 Home
๐ Repository Source Disclaimer: The documentation in this Wiki reflects the current source code state in the repository, which may include recent unreleased commits or developmental features ahead of public release builds on CurseForge and Modrinth.
This section provides the complete technical and player documentation for Collapsible Game Rules targeting Minecraft 26.2+ (Modern Sovereign Era).
All documentation in this section reflects the exact source code implemented in collapsible-game-rules (1.0.9+26.2), built with Java 25, Fabric Loader 0.19.1, and DasikLibrary 1.7.4.
-
๐๏ธ Collapsible Categories โ Interactive category headers, directional arrows (
โผ/โถ), hover highlights, and child count badges. -
๐ Global Actions & Bulk Toggles โ Top-pinned
[ Expand All ]and[ Collapse All ]bulk operations. - ๐ Smart Search Integration โ Automatic category expansion when typing queries in the vanilla search bar.
- โจ๏ธ Keyboard Navigation & Accessibility โ Space/Enter toggle, Left/Right arrow control, UI click sound events, and screen narration.
-
๐ง State Persistence & JSON Config โ JSON file structure (
collapsible-game-rules-state.json),isDirtythrottling, and screen exit saving. - โจ Category Prettification & Naming โ Dynamic regex/delimiter formatting for unlocalized modded category keys.
- ๐๏ธ Game Rule Presets & Widgets โ Built-in presets (Builder, Fast Play, Hardcore), interactive numeric sliders, and toggle switches.
- ๐ GameRules Reference Table โ Complete breakdown of vanilla categories and modded dynamic category support.
-
๐ฌ Brigadier Commands & Absence Scope โ Absence policy documentation: client-side GUI focus with vanilla
/gamerulecompatibility. - ๐ Advancements & Absence Scope โ Absence policy documentation: client-side UI scope and vanilla advancement compatibility.
-
๐ฅ๏ธ HUD, Diagnostics & UI Rendering โ
GuiGraphicsExtractorpipelines, font metrics, and narration elements. -
๐ ๏ธ Developer Setup & Gradle Builds โ JDK 25 configuration, Loom Gradle build commands, and
ModVersionGuard. - ๐งฉ Architecture & Mixin Subsystem โ Complete package architecture, Mixin descriptors, accessors, and injection points.
-
๐ DasikLibrary API Integration โ
DasikMetadataHelperclassloading isolation andDynamicGameRuleManagerquery mechanics.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ COLLAPSIBLE GAME RULES ARCHITECTURE โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ Vanilla Screen: AbstractGameRulesScreen โ
โ โ โ
โ โผ (Mixin: AbstractGameRulesScreenRuleListMixin) โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ populateChildren(filter) โ โ
โ โ โโ Cache master list in allEntries โ โ
โ โ โโ updateVisibleEntries() โ โ
โ โ โโ Index 0: GlobalActionsRuleEntry ([ Expand ] / [ Collapse ])โ โ
โ โ โโ For each CategoryRuleEntry: โ โ
โ โ โ โโ Calculate child count badge โ โ
โ โ โ โโ Prettify key / Query DasikMetadataHelper โ โ
โ โ โ โโ Evaluate isExpanded (Search Query || Config State) โ โ
โ โ โ โโ Add CollapsibleCategoryRuleEntry (Click/Key Toggle) โ โ
โ โ โโ For each Child RuleEntry: โ โ
โ โ โโ Only add to list if parent Category isExpanded == trueโ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โ
โ โผ (Mixin: ScreenMixin on removed()) โ
โ GameRuleStateConfig.saveIfDirty() โโ> config/collapsible-game-rules-state.jsonโ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Collapsible Game Rules โข Built & Maintained by Dasik (Rifaditya)
Released under the GNU General Public License v3.0 (GPL-3.0-or-later)
GitHub Repository โข Modrinth โข CurseForge โข Issue Tracker
๐ Repository Source Disclaimer: The documentation in this Wiki reflects the current source code state in the repository, which may include recent unreleased commits or developmental features ahead of public release builds on CurseForge and Modrinth.
- ๐๏ธ Collapsible Categories
- ๐ Global Actions & Bulk Toggles
- ๐ Smart Search Integration
- โจ๏ธ Keyboard Navigation & Accessibility
- ๐ง State Persistence & JSON Config
- โจ Category Prettification & Naming
- ๐๏ธ Game Rule Presets & Widgets
- ๐ GameRules Reference Table
- ๐ฌ Brigadier Commands & Absence Scope
- ๐ Advancements & Absence Scope
- ๐ฅ๏ธ HUD, Diagnostics & Rendering
- ๐ ๏ธ Developer Setup & Gradle Builds
- ๐งฉ Architecture & Mixin Subsystem
- ๐ DasikLibrary API Integration