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.
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.
.jar into your mods folder.Required only on the server side for a
survivalgameplay, however it's recommended to have it on the client side as well to be fully compatible some screens (e.g. creative screen).
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
boolean Default: trueboolean Default: true boolean Default: false boolean Default: true boolean Default: trueremove_defaults:
Removes all item entries that match the default stack size.
Type: boolean Default: false
filler:
Defines the filler settings.
Type: object
boolean Default: false boolean Default: falseboolean Default: trueboolean Default: trueobject 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: {}
Stacknator performs the following checks for each item/tag entry in the config file:
namespace:item format.{
"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
}
}