Stacknator

Quick rating

Stacknator

No reviews yet

Properly configurable stack sizes for any vanilla or modded items

QoL & Tweaks
Storage & Organization
Mod Loaders
Fabric
Minecraft
26.2

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Where It Runs
Server Only

Runs entirely on the server. Also works in singleplayer.

About

Project Details

Type
Mod
License
Apache License 2.0
Latest Version
Stacknator 2.0.1+26.1-26.2

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Stacknator

Stacknator is a lightweight Minecraft mod for Fabric that lets you customize the maximum stack size of any vanilla or modded item via a simple configuration file. By modifying item data components during game initialization, Stacknator delivers a clean, efficient solution without performance overhead or hacky workarounds.

Compatibility

  • Required: Fabric API
  • Vanilla Items: Fully compatible.
  • Modded Items: Generally compatible with most mods.

Tags: Supported through the Filler feature.

Tip: To find an item's identifier, enable Advanced Tooltips in-game by pressing F3 + H, then hover over the item.

Installation

  1. Drop the Stacknator .jar into your mods folder.
  2. Start the server or load into a world.
  3. Edit the stacknator.json config file to set your desired stack sizes.
  4. Enjoy!

Required only on the server side for a survival gameplay, however it's recommended to have it on the client side as well to be fully compatible some screens (e.g. creative screen).

Documentation

enabled: Enables or disables the mod.
Type: boolean Default: true

log_modified_items:
Toggles logging of successful stack size changes (other logs always show).
Type: boolean Default: true

checks:
Defines the checks to be performed.
Type: object

  • enable_checks:
    Enables or disables all checks.
    Type: boolean Default: true
  • check_damageable:
    Enables or disables the damageable check.
    Type: boolean Default: true
  • check_stackable:
    Enables or disables the stackable check.
    Type: boolean Default: false
  • check_minimum_stack_size:
    Enables or disables the minimum stack size check.
    Type: boolean Default: true
  • check_maximum_stack_size:
    Enables or disables the maximum stack size check.
    Type: boolean Default: true

remove_defaults:
Removes all item entries that match the default stack size.
Type: boolean Default: false

filler:
Defines the filler settings.
Type: object

  • enable_filler:
    Enables or disables the filler. When enabled, the mod will iterate all registered items and apply the filler rules to each item while enforcing the configured checks.
    Type: boolean Default: false
  • reset_stacks:
    Enables or disables resetting of stack sizes to the default values, overriding any defined custom stack size.
    Type: boolean Default: false
  • run_once:
    Disables the filler after one run.
    Type: boolean Default: true
  • tag_priority:
    Enables or disables prioritizing tags over item entries when applying the filler.
    Type: boolean Default: true
  • tags:
    Defines tag identifiers and their custom stack sizes.
    Type: object Default: {}

sort_items:
Enables or disabled sorting the item entries alphabetically by their keys.
Type: boolean Default: true

items:
Defines item identifiers and their custom stack sizes.
Type: object Default: {}

Checks

Stacknator performs the following checks for each item/tag entry in the config file:

  • Entry Key Format:
    Verifies if the entry key follows the namespace:item format.
    On Failure: Skips the entry.
  • Item Damageable:
    Ensures the item is not damageable (e.g. tools, weapons and armor).
    On Failure: Skips the entry.
  • Item Stackable:
    Confirms the item is stackable (default maximum stack above 1).
    On Failure: Skips the entry.
  • Entry Value Below 1:
    Checks if the stack size is less than 1.
    On Failure: Skips the entry.
  • Entry Value Above 99:
    Checks if the stack size exceeds 99.
    On Failure: Adjusts to 99.

Full Configuration Example

{
  "enabled": true,
  "log_modified_items": true,
  "checks": {
    "enable_checks": true,
    "check_damageable": true,
    "check_stackable": false,
    "check_minimum_stack_size": true,
    "check_maximum_stack_size": true
  },
  "remove_defaults": false,
  "filler": {
    "enable_filler": false,
    "reset_stacks": false,
    "run_once": true,
    "tag_priority": true,
    "tags": {
        "#minecraft:logs": 16,
        "#minecraft:planks": 32
    }
  },
  "sort_items": true,
  "items": {
    "minecraft:egg": 64,
    "minecraft:red_bed": 16,
    "minecraft:ender_pearl": 32,
    "minecraft:tnt": 1
  }
}

Stacknator

Stacknator is a lightweight Minecraft mod for Fabric that lets you customize the maximum stack size of any vanilla or modded item via a simple configuration file. By modifying item data components during game initialization, Stacknator delivers a clean, efficient solution without performance overhead or hacky workarounds.

Compatibility

  • Required: Fabric API
  • Vanilla Items: Fully compatible.
  • Modded Items: Generally compatible with most mods.

Tags: Supported through the Filler feature.

Tip: To find an item's identifier, enable Advanced Tooltips in-game by pressing F3 + H, then hover over the item.

Installation

  1. Drop the Stacknator .jar into your mods folder.
  2. Start the server or load into a world.
  3. Edit the stacknator.json config file to set your desired stack sizes.
  4. Enjoy!

Required only on the server side for a survival gameplay, however it's recommended to have it on the client side as well to be fully compatible with some screens (e.g. creative screen).

Documentation

  • enabled:
    Enables or disables the mod.
    Type: boolean Default: true
  • log_modified_items:
    Toggles logging of successful stack size changes (other logs always show).
    Type: boolean Default: true
  • checks:
    Defines the checks to be performed.
    Type: object Default:
    • enable_checks:
      Enables or disables all checks.
      Type: boolean Default: true
    • check_damageable:
      Enables or disables the damageable check.
      Type: boolean Default: true
    • check_stackable:
      Enables or disables the stackable check.
      Type: boolean Default: false
    • check_minimum_stack_size:
      Enables or disables the minimum stack size check.
      Type: boolean Default: true
    • check_maximum_stack_size:
      Enables or disables the maximum stack size check.
      Type: boolean Default: true
    • remove_defaults:
      Removes all item entries that match the default stack size.
      Type: boolean Default: false
    • filler:
      Defines the filler settings.
      Type: object Default: {}
      • enable_filler:
        Enables or disables the filler. When enabled, the mod will iterate all registered items and apply the filler rules to each item while enforcing the configured checks.
        Type: boolean Default: false
      • reset_stacks:
        Enables or disables resetting of stack sizes to the default values, overriding any defined custom stack size.
        Type: boolean Default: false
      • run_once:
        Disables the filler after one run.
        Type: boolean Default: true
      • tag_priority:
        Enables or disables prioritizing tags over item entries when applying the filler.
        Type: boolean Default: true
      • tags:
        Defines tag identifiers and their custom stack sizes.
        Type: object Default: {}
    • sort_items:
      Enables or disabled sorting the item entries alphabetically by their keys.
      Type: boolean Default: true
    • items:
      Defines item identifiers and their custom stack sizes.
      Type: object Default: {}

Checks

Stacknator performs the following checks for each item/tag entry in the config file:

  • Entry Key Format:
    Verifies if the entry key follows the namespace:item format.
    On Failure: Skips the entry.
  • Item Damageable:
    Ensures the item is not damageable (e.g. tools, weapons and armor).
    On Failure: Skips the entry.
  • Item Stackable:
    Confirms the item is stackable (default maximum stack above 1).
    On Failure: Skips the entry.
  • Entry Value Below 1:
    Checks if the stack size is less than 1.
    On Failure: Skips the entry.
  • Entry Value Above 99:
    Checks if the stack size exceeds 99.
    On Failure: Adjusts to 99.

Full Configuration Example

{
  "enabled": true,
  "log_modified_items": true,
  "checks": {
    "enable_checks": true,
    "check_damageable": true,
    "check_stackable": false,
    "check_minimum_stack_size": true,
    "check_maximum_stack_size": true
  },
  "remove_defaults": false,
  "filler": {
    "enable_filler": false,
    "reset_stacks": false,
    "run_once": true,
    "tag_priority": true,
    "tags": {
        "#minecraft:logs": 16,
        "#minecraft:planks": 32
    }
  },
  "sort_items": true,
  "items": {
    "minecraft:egg": 64,
    "minecraft:red_bed": 16,
    "minecraft:ender_pearl": 32,
    "minecraft:tnt": 1
  }
}

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~5,000
Total Downloads
CurseForge
~3,000
Modrinth
~1,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works