🍲 Empilhamento de Ensopados e Ergonomia de Consumo (Minecraft 26.3)
📌 Isenção de responsabilidade da fonte do repositório: A documentação nesta Wiki reflete o estado atual do código-fonte no repositório, que pode incluir commits recentes não lançados ou recursos em desenvolvimento à frente dos lançamentos públicos no CurseForge e Modrinth.
1. Official Infobox
| Parameter | Technical Details |
|---|---|
| Subsystem Name | Stew Stacking & Consumption Ergonomics Engine |
| Implementation Class | StewStackerManager.java (getModifiedStackSize) |
| Registration Interface | CustomStackSizeOverride (Stack Size Adjuster API) |
| Target Item Types | MUSHROOM_STEW, RABBIT_STEW, BEETROOT_SOUP, SUSPICIOUS_STEW |
| Controlling GameRule | stew-stacker-addon:stew_limit (Default: 16) |
| Upper Bound Limit | Integer.MAX_VALUE (2,147,483,647) |
| Recommended Safe Ceiling | 39,768,215 (prevents Large Chest 32-bit integer overflow) |
| Bowl Return Item | minecraft:bowl (Wooden Bowl) |
2. Step-by-Step Player Survival Workflow
Acquiring & Crafting Stews: Craft or gather Mushroom Stew, Rabbit Stew, Beetroot Soup, or Suspicious Stew. As stews enter your inventory, identical items automatically coalesce into stacks up to the active
stewLimit(default: 16).Eating Stews in Survival: Hold the stacked stew item in your main hand or off-hand and hold right-click to eat.
- Consumption Phase: The stack count decrements by 1.
- Bowl Return Phase: The empty wooden bowl (
minecraft:bowl) is immediately deposited into your inventory. - Inventory Overflow Safety: If your inventory is completely packed, the empty bowl cleanly spawns into the world at your feet with zero item deletion.
- Final Item Consumption: When you consume the last remaining stew (count $= 1$), the empty bowl remains in your active hand.
Storage & Chest Management: Stews can be sorted, moved, and deposited into chests, barrels, hoppers, and shulker boxes in full stacks up to the configured limit.
3. Mathematical Formulas & Storage Density
Storage Compression Multiplier ($C$)
$$C = \frac{S_{\text{limit}}}{S_{\text{vanilla}}} = S_{\text{limit}}$$
For default settings ($S_{\text{limit}} = 16$): $$C = 16\times \text{ more food per inventory slot}$$
Container Storage Capacities
$$\text{Capacity}{\text{chest}} = 27 \times S{\text{limit}}$$ $$\text{Capacity}{\text{double_chest}} = 54 \times S{\text{limit}}$$ $$\text{Capacity}{\text{player_inventory}} = 36 \times S{\text{limit}}$$
| Container Type | Slots | Vanilla Capacity ($S=1$) | Modded Default ($S=16$) | Storage Gain |
|---|---|---|---|---|
| Player Hotbar | 9 | 9 stews | 144 stews | $+135$ stews |
| Main Inventory | 27 | 27 stews | 432 stews | $+405$ stews |
| Single Chest / Barrel | 27 | 27 stews | 432 stews | $+405$ stews |
| Large Double Chest | 54 | 54 stews | 864 stews | $+810$ stews |
| Shulker Box | 27 | 27 stews | 432 stews | $+405$ stews |
The 32-Bit Integer Safe Ceiling ($S_{\text{safe}}$)
$$S_{\text{safe}} = \left\lfloor \frac{2^{31} - 1}{54} \right\rfloor = 39{,}768{,}215$$
4. Visual ASCII Diagrams & State Machine
[ Item Stack Size Query: getModifiedStackSize(item, original) ]
|
v
Is original <= 0?
/ \
YES NO
/ \
Return original Is item a Stew or Soup?
/ \
YES NO
/ \
Return stewLimit Return -1
(Default: 16) (Continue chain)