Inventory Sorter

Sort chests, ender chests, barrels, and shulker box contents by hitting them with a stick
Back to Files

inventory_sorter.mcaddon

File nameinventory_sorter.mcaddon
Uploader
saoudihsaoudih
Uploaded
Oct 11, 2026
Downloads
211
Size
47.2 KB
File ID
9135688
Type
R
Release
Supported game versions
  • 26.50

What's new

# Inventory Sorter Add-on: Changelog

## 1.5.0

### Added
- **Seed grouping.** Wheat, beetroot, melon, pumpkin and torchflower seeds, plus pitcher pod (the pitcher plant's seed), sort together in name order, right after flowers.
- **Cocoa beans** now sort with the regular food group. They aren't edible in vanilla, so they needed their own rule to land there.

## 1.4.0

### Added
- **Flower grouping.** All flowers sort together, in name order, instead of scattering among the other blocks. Covers dandelion, golden dandelion, poppy, blue orchid, allium, azure bluet, the four tulips, oxeye daisy, cornflower, lily of the valley, wither rose, torchflower, open and closed eyeblossom, sunflower, lilac, rose bush, peony, pitcher plant, pink petals, wildflowers and cactus flower.
- **Fruit and vegetable grouping.** Fruits and vegetables sort together right after fish, in a fixed order. Fruits come first: apple, golden apple, enchanted golden apple, melon slice, sweet berries, glow berries, chorus fruit. Vegetables follow: carrot, golden carrot, potato, baked potato, poisonous potato, beetroot.
- Not included: dried kelp, stews, pies, bread, pumpkin and melon blocks, spore blossom and flowering azalea.

## 1.3.2

### Changed
- Fish are now ordered **cooked first, then raw**. Each group is sorted by name (cooked: cod, salmon; raw: cod, pufferfish, salmon, tropical fish).

## 1.3.1

### Changed
- Fish are split into raw and cooked groups (raw first, then cooked). Superseded by 1.3.2.

## 1.3.0

### Added
- **Fish grouping.** Cod, salmon, tropical fish, pufferfish, cooked cod and cooked salmon now sort together right after other food, instead of scattering among it.

## 1.2.1

### Fixed
- **Stonecutter** was not grouping with the workstations. Bedrock's real ID is `minecraft:stonecutter_block`; the bare `minecraft:stonecutter` is an old unobtainable block.

## 1.2.0

### Added
- **Workstation grouping.** Crafting table, crafter, stonecutter, loom, cartography table, furnace, blast furnace, smoker, smithing table, anvil, enchanting table, grindstone, fletching table, barrel, lectern, composter, cauldron and brewing stand sort together in that order.
- All three anvil damage states (anvil, chipped anvil, damaged anvil) sort together at the anvil position.

## 1.1.0

First tracked version. Rolls up all changes made after 1.0.0.

### Added
- **Stone grouping, matching wood.** Stone-family blocks now group by kind (all stairs together, all slabs, walls, fences, bricks), then sort by stone type.
- **Bows, crossbows, maces and spears** are grouped with weapons. Order: sword, mace, spear, trident, bow, crossbow.
- **Wool and concrete stairs and slabs** (new in Bedrock 1.26.50) group with the shared stairs and slab groups.
- **Poplar wood** (new in Bedrock 1.26.50) is added to the wood types. Red, orange and yellow poplar leaves group with all other leaves.
- **Froglights** (ochre, pearlescent, verdant) group together.
- **Copper chests** of every oxidation stage and waxed variant can be sorted, not just the fresh one.
- **Ender chest sorting** is supported. It graduated to the stable API in Bedrock 1.26.30, so no Beta APIs toggle is needed.

### Fixed
- Brick and tile stairs, slabs, walls and fences now group with the other stairs, slabs and walls. This covers stone brick, mossy stone brick, deepslate brick and tile, nether brick, end stone brick and others. Bedrock names the base block plural (`stone_bricks`) but its stairs and slabs singular (`stone_brick_stairs`).
- End stone brick stairs, slabs and walls: Bedrock names the stairs `end_brick_stairs` but the slab and wall `end_stone_brick_slab` / `end_stone_brick_wall`. All three now group correctly.
- Cracked, mossy and chiseled stone bricks now group with plain stone bricks.
- Stack merging now uses `isStackableWith()`. Stacks that share an item ID but carry different data (for example Ominous Bottles of different Bad Omen levels) are no longer merged into one stack.

---

## 1.0.0

Initial version. Sort chests, barrels, shulker boxes and ender chests by hitting them with a stick.

---

## Known limitations

These can't be fixed in the addon because the Script API doesn't expose the data.

- **Tipped arrows** can't be sorted by effect. They share the `minecraft:arrow` ID with plain arrows, and the effect isn't readable by scripts. All arrows group together but aren't ordered by effect.
- **Ominous Bottles** can't be sorted by Bad Omen level. The level isn't readable by scripts. All bottles group together but aren't ordered by level.

## Compatibility

- Requires Minecraft Bedrock 1.26.30 or newer (`min_engine_version`).
- Uses only stable `@minecraft/server` APIs (version 2.8.0), so no experimental toggles are required.

This mod has no additional files