Skip to content

26.2 Home

Rifa edited this page Aug 21, 2026 · 1 revision

๐Ÿš€ Minecraft 26.2 Portal: Collapsible Game Rules

Minecraft 26.2+ Build 1.0.9+26.2 Loom 1.15.2 DasikLibrary 1.7.4


๐Ÿ“Œ 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.


๐Ÿ“– Welcome to the Minecraft 26.2 Documentation

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.


๐Ÿ—‚๏ธ Table of Contents

๐ŸŽฎ Player & UI Guides

  1. ๐Ÿ—‚๏ธ Collapsible Categories โ€” Interactive category headers, directional arrows (โ–ผ/โ–ถ), hover highlights, and child count badges.
  2. ๐ŸŒŽ Global Actions & Bulk Toggles โ€” Top-pinned [ Expand All ] and [ Collapse All ] bulk operations.
  3. ๐Ÿ” Smart Search Integration โ€” Automatic category expansion when typing queries in the vanilla search bar.
  4. โŒจ๏ธ Keyboard Navigation & Accessibility โ€” Space/Enter toggle, Left/Right arrow control, UI click sound events, and screen narration.

โš™๏ธ Configuration & Presets

  1. ๐Ÿง  State Persistence & JSON Config โ€” JSON file structure (collapsible-game-rules-state.json), isDirty throttling, and screen exit saving.
  2. โœจ Category Prettification & Naming โ€” Dynamic regex/delimiter formatting for unlocalized modded category keys.
  3. ๐ŸŽ›๏ธ Game Rule Presets & Widgets โ€” Built-in presets (Builder, Fast Play, Hardcore), interactive numeric sliders, and toggle switches.

๐Ÿ“‹ Scope & Game Reference

  1. ๐Ÿ“œ GameRules Reference Table โ€” Complete breakdown of vanilla categories and modded dynamic category support.
  2. ๐Ÿ’ฌ Brigadier Commands & Absence Scope โ€” Absence policy documentation: client-side GUI focus with vanilla /gamerule compatibility.
  3. ๐Ÿ† Advancements & Absence Scope โ€” Absence policy documentation: client-side UI scope and vanilla advancement compatibility.

๐Ÿ’ป Technical Architecture & Development

  1. ๐Ÿ–ฅ๏ธ HUD, Diagnostics & UI Rendering โ€” GuiGraphicsExtractor pipelines, font metrics, and narration elements.
  2. ๐Ÿ› ๏ธ Developer Setup & Gradle Builds โ€” JDK 25 configuration, Loom Gradle build commands, and ModVersionGuard.
  3. ๐Ÿงฉ Architecture & Mixin Subsystem โ€” Complete package architecture, Mixin descriptors, accessors, and injection points.
  4. ๐Ÿ“š DasikLibrary API Integration โ€” DasikMetadataHelper classloading isolation and DynamicGameRuleManager query mechanics.

โšก Quick Architecture Overview

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                    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โ”‚
โ”‚                                                                             โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ”— Related Portals

Clone this wiki locally