⚙️ 구성 및 동적 게임 규칙 (Minecraft 26.2)
📌 저장소 소스 면책 조항: 본 위키의 문서는 CurseForge 및 Modrinth의 공개 릴리스 빌드보다 앞선 최신 미출시 커밋이나 개발 기능을 포함할 수 있는 저장소의 현재 소스 코드 상태를 반영합니다.
1. Official Infobox
| Parameter | Technical Details |
|---|---|
| Subsystem Name | Configuration & Dynamic GameRule System |
| Config File | .minecraft/config/stew-stacker.json |
| Config Version | 1 (public static final int VERSION = 1;) |
| Config Manager | StewStackerConfig.java (backed by ConfigHelper) |
| GUI Provider | YetAnotherConfigLib v3 (YaclScreenHelper.java) |
| ModMenu Bridge | ModMenuIntegration.java (GuiHelper.getOptionalYaclFactory) |
| GameRule Category | stew-stacker-addon:stew-stacker-addon |
| Player Freedom Range | $1 \dots 2{,}147{,}483{,}647$ (Integer.MAX_VALUE) |
| Warning Threshold | Values $> 39{,}768{,}215$ trigger safe ceiling warning |
2. Step-by-Step Player & Administrator Workflow
Editing Global Defaults (Title Screen):
- Navigate to Mods -> Stew Stacker Addon -> Configure (or click the gear icon).
- The YACL interface allows configuring
Stew & Soup Limit. - Global configuration changes saved here define the initial default GameRules for newly created worlds.
Configuring Active Worlds via Commands:
- To change limits in an existing singleplayer world or dedicated server, run:
/gamerule stew-stacker-addon:stew_limit <value> - Changes apply immediately without server restart.
- To change limits in an existing singleplayer world or dedicated server, run:
In-Game GameRules GUI:
- When creating or editing a world, click Edit Game Rules.
- Scroll to the Stew Stacker Addon category.
- Mutate values directly with full integer validation.
3. Mathematical Formulas & Range Governance
The Player Agency & Anti-Nanny Invariant
$$D = { x \in \mathbb{Z} \mid 1 \le x \le 2^{31}-1 }$$
Large Chest Capacity & Integer Overflow Math
$$S_{\text{safe}} = \left\lfloor \frac{2^{31}-1}{54} \right\rfloor = 39{,}768{,}215$$
4. JSON Configuration Schema
File Location: .minecraft/config/stew-stacker.json
json
{
"configVersion": 1,
"stewLimit": 16
}5. Exhaustive Reference Matrix
| Identifier | Type | Default | Range | In-Game Command |
|---|---|---|---|---|
stew-stacker-addon:stew_limit | Integer | 16 | $1 \dots 2{,}147{,}483{,}647$ | /gamerule stew-stacker-addon:stew_limit <int> |
