Skip to content

🍲 Empilement de Ragoûts & Ergonomie de Consommation (Minecraft 26.3)

📌 Avertissement sur la source du dépôt : La documentation de ce wiki reflète l'état actuel du code source dans le dépôt, qui peut inclure des commits non publiés ou des fonctionnalités en cours de développement en avance sur CurseForge et Modrinth.

1. Official Infobox

ParameterTechnical Details
Subsystem NameStew Stacking & Consumption Ergonomics Engine
Implementation ClassStewStackerManager.java (getModifiedStackSize)
Registration InterfaceCustomStackSizeOverride (Stack Size Adjuster API)
Target Item TypesMUSHROOM_STEW, RABBIT_STEW, BEETROOT_SOUP, SUSPICIOUS_STEW
Controlling GameRulestew-stacker-addon:stew_limit (Default: 16)
Upper Bound LimitInteger.MAX_VALUE (2,147,483,647)
Recommended Safe Ceiling39,768,215 (prevents Large Chest 32-bit integer overflow)
Bowl Return Itemminecraft:bowl (Wooden Bowl)

2. Step-by-Step Player Survival Workflow

  1. 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).

  2. 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.
  3. 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 TypeSlotsVanilla Capacity ($S=1$)Modded Default ($S=16$)Storage Gain
Player Hotbar99 stews144 stews$+135$ stews
Main Inventory2727 stews432 stews$+405$ stews
Single Chest / Barrel2727 stews432 stews$+405$ stews
Large Double Chest5454 stews864 stews$+810$ stews
Shulker Box2727 stews432 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)

5. Navigation Globale

Official documentation & web portal for Dasik Igaijinn mods.