Skip to content

linked3/stack_tags

Stack Tags

Stack Tags lets you control item stack sizes using data packs. Place items into one of several tags to set their exact max stack size.

What it does

  • Adds item tags that set exact max stack sizes: stack_tags:stackable_to_1, stack_tags:stackable_to_2, stack_tags:stackable_to_4, stack_tags:stackable_to_8, stack_tags:stackable_to_16, stack_tags:stackable_to_32, stack_tags:stackable_to_64.
  • If an item is present in multiple tags, the largest value wins.
  • Values are clamped to 64.

How to use

Add your items to the desired tag(s) via a data pack:

data/stack_tags/tags/items/stackable_to_16.json
{
  "replace": false,
  "values": [
    "minecraft:lava_bucket",
    "minecraft:water_bucket"
  ]
}

Or replace the default behavior of the mod to set up your custom max stack sizes:

data/stack_tags/tags/items/stackable_to_16.json
{
  "replace": true,
  "values": [
    "minecraft:golden_apple",
    "minecraft:enchanted_golden_apple"
  ]
}

You can create similar files for stackable_to_1, 2, 4, 8, 32, and 64.

About

No description, website, or topics provided.

Resources

License

GPL-3.0 and 2 other licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
LICENSE.md
Unknown
LICENSE.txt

Stars

Watchers

Forks

Packages

No packages published