Skip to content

About

Why not stack your tools by 8 ?

Resources

Stars

3 stars

Watchers

1 watching

Forks

Repository files navigation

StackableTools

Loaders License GitHub Release Modrinth Downloads CurseForge Downloads Used in 0 modpacks on Modpack Index Supports Minecraft 1.20 – 26.3 Updated 4mo ago


StackableTools makes tools stackable, revolutionizing your inventory management without breaking the game's balance. The Fabric and NeoForge builds are Kotlin; Horizon has a native Rust port in horizon/.

Download Links

Platform Link
CurseForge Download on CurseForge
Modrinth Download on Modrinth

Version Support

Minecraft Fabric NeoForge Horizon
1.20 – 1.20.3 ✅ — —
1.20.4 ✅ ✅ —
1.20.5 ✅ — —
1.20.6 ✅ ✅ —
1.21 – 1.21.1 ✅ ✅ —
1.21.2 – 1.21.3 ✅ ✅ —
1.21.4 ✅ ✅ —
1.21.5 – 1.21.7 ✅ ✅ —
1.21.8 ✅ ✅ —
1.21.9 – 1.21.10 ✅ ✅ —
1.21.11 ✅ ✅ —
26.1 – 26.2 ✅ ✅ —
26.3 ✅ ✅ ✅

✅ supported · — not available. Fabric covers 1.20–1.20.6, 1.21.0–1.21.11 and 26.1–26.3. NeoForge is published as four line JARs: 1.20.4–1.20.6, 1.21.1–1.21.8, 1.21.9–1.21.11 and 26.1–26.3. Horizon is 26.3 only.

1.21.4 is the fully QA-tested Fabric baseline; every other Fabric version has automated server game tests. NeoForge 26.3 has 25 game tests, and Horizon has 14 Rust unit tests plus .hmod package validation. Horizon in-game validation is still pending. See .github/workflows/gametest.yml and horizon/README.md.

Main Features

  • Stackable Tools: Swords, pickaxes, shovels, axes, and more are now stackable!
  • Potions Support: Stack your potions (up to 16 by default).
  • Durability Isolation: Only the item you are using takes damage. The rest of the stack stays pristine!
  • Fully Configurable: Fine-tune stack sizes for each category (Tools, Potions, Enchants).
  • Per-item and per-tag rules: Override a single item or an entire item tag, with item rules taking priority over tag rules, and tag rules over categories.
  • Safe workstation use: Anvils, enchanting tables, and grindstones consume one item from a stack at a time instead of the whole stack.
  • Mending Compatible: Works perfectly with Mending and Unbreaking.
  • Smart Insertion: Picked-up items will automatically merge into existing stacks.

Configuration

Stack sizes are configured in config/stackabletools.toml. Category limits apply first; item and tag overrides take priority over them. A value of 0 disables stacking for the matching item or tag.

[stacking]
active_categories = ["tools", "potions", "enchant_book"]
max_tool_stack_size = 8

[stacking.overrides]
# Exact item override
"minecraft:diamond_pickaxe" = 2
# Tag override; the tag name starts with #
"#minecraft:swords" = 4
# Disable stacking for one item
"minecraft:elytra" = 0

Priority order: excluded_item_ids > item override > tag override > active category > manual_item_ids > vanilla default. When several tags match, the smallest configured stack size wins.

Commands

All configuration-changing commands require permission level 2 (gamemasters). The read-only info and list commands are available to all players. Stack management commands live under /stackabletools.

Command Description
/stackabletools info Show the rule applied to the item in your main hand.
/stackabletools set <category> <size> Set the stack size for all, tools, weapons, armors, potions, enchanted_books, or elytra.
/stackabletools override <item-or-tag> <size> Add an item or tag override. Use #namespace:tag for tags.
/stackabletools unset <item-or-tag> Remove an override.
/stackabletools list List configured overrides.
/stackabletools enable <true|false> Enable or disable stacking.
/stackabletools reload Reload the configuration from disk.
/config-mod Open the configuration file in a desktop editor.

Development setup

The repository uses mise to pin Java 17/21/25, Rust, and jq.

mise install
mise run test          # shared core tests
mise run test:neoforge # NeoForge game tests
mise run test:game     # Fabric game tests
mise run build:matrix  # Fabric + NeoForge generation JARs in dist/

Run mise tasks to list every task. mise.lock records the exact tool artifacts.

Installation (User)

  1. Download the .jar matching your loader and Minecraft version from the Releases page.
  2. Fabric: install Fabric Loader and Fabric API. NeoForge: install the NeoForge build matching your Minecraft version (1.20.4 through 26.3).
  3. Place the .jar in your mods/ folder. For Horizon, use the native .hmod from horizon/.

See the multi-loader architecture note for supported combinations and build commands.

License

CC0 1.0 Universal. See LICENSE for details.

About

Why not stack your tools by 8 ?

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages