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 RenderingGuiGraphicsExtractor 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 IntegrationDasikMetadataHelper 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