-
Notifications
You must be signed in to change notification settings - Fork 1
How it works ?
YoannDev90 edited this page May 3, 2026
·
1 revision
- Pickaxes, Shovels, Axes, Hoes, Brushes
- Durability Rule: Only fresh (undamaged) tools stack
- Isolation: When you use one, durability is applied only to that tool
- Healing, Damage, Speed, Strength, etc.
- NBT-Aware: Different potion types won't mix
- Splash/Lingering: Both supported
- Books with identical enchantments stack together
- Caveat: Different enchantments won't merge
- Swords, Tridents
- Can be configured to stack if desired
- Durability Isolation applies here too
- Helmets, Chestplates, Leggings, Boots
- Can be enabled for stacking in config
- Equip Restriction: Armor slots only accept 1 item at a time
- Can be configured to stack
- Equip Restriction: Armor slot only holds 1
How it works:
- You have a stack of 8 iron pickaxes with 0 damage
- You use one pickaxe, taking 1 damage
- The stack automatically separates:
- 1 pickaxe with 1 damage (currently in use)
- 7 pickaxes with 0 damage (returned to inventory)
- Only the active pickaxe takes additional damage
Benefits:
- No durability loss to the rest of the stack
- Seamless experience when the active tool breaks
- Works with Mending and Unbreaking enchantments
When you pick up or insert items into inventory:
- The mod checks if an existing stack has room
- If item properties match (enchantments, NBT), items merge
- Respects configured maximum stack sizes
- Works with drag-and-drop in inventory GUIs
The inventory insertion system is inventory-context-aware:
- Creative Mode: Stacking is bypassed (creative behavior preserved)
- Armor Slots: Max stack = 1 (equipment restriction)
- Inventory Slots: Full stacking rules apply
- Crafting Grid: Standard Minecraft behavior