Description
Every block you break drops one random item instead of its own drop. Pick fair mode or chaos mode, and have each kind of block always give the same item in your world, or a new item every time. Stable Script API, no experiments.
How it works
- Break any block in survival or adventure and one random item comes out in place of the normal drop. Blocks that drop nothing in vanilla, like glass, give an item too.
- Fair mode (default): common items come up most; diamonds, netherite, elytra, totems and the like are rare. Chaos mode: every item is as likely as any other.
- Same item (default): every kind of block always gives the same item in your world (in one test world dirt always gave birch logs and stone always gave brain coral), so you can work out which block to mine for what.
/randomdrops reseedshuffles the whole table. Mixed: a new pick on every break. - The pool is every item this version of the game has, read when the world starts (1,502 items on 1.26.63), minus the ones left out below.
- Experience orbs are never touched, so ores still give experience.
What stays vanilla, on purpose:
- Chests, barrels, shulker boxes, hoppers, furnaces and every other block that holds items drop themselves and everything inside, untouched, so nothing you stored is ever swapped or lost.
- Blocks broken by explosions, pistons, commands or anything else that isn't a player.
- Creative mode, where nothing drops anyway.
- A block resting on the one you break (a torch, a flower) pops off as itself.
Never in the pool: command blocks and minecarts, structure blocks, structure void, jigsaws, barriers, light blocks, border blocks, allow and deny blocks, bedrock, end portal frames, reinforced deepslate, spawners, trial spawners, vaults, the debug stick, knowledge books, every spawn egg (a dragon or wither from a dirt block would end most worlds), technical ids that aren't real items (air, fire, liquids, portals), Education Edition items, and items from other add-ons.
Commands and settings
- Operators:
/randomdropsshows the setup./randomdrops on,off,fair,chaos,same,mixed,reseedorreseed 1234(pick your own seed to share a table with friends),status. - Everyone:
/randomdropsinfosays how it's set up. - Operators:
/randomdropsconfiglists the settings;/randomdropsconfig amount 2or/randomdropsconfigtext mode chaoschanges one, saved in the world. They also sit at the top ofscripts/main.js:enabled,mode,sameItem,amount(items per break, cut down to what the item stacks to),percent(chance a break is random; the rest drop as normal).
Tested
Tested on Bedrock Dedicated Server 1.26.63; not yet seen in a real game client.
- 32 checks with simulated players in a Beta-APIs test world (the add-on itself uses no beta API), over 86 real block breaks: exactly one item from every break, including a 30-break run over 15 kinds of block, so nothing duplicates and nothing is lost; the same block giving the same item, a reseed changing it and the old seed bringing it back; mixed fair and chaos mode each giving at least 6 different items from 12 breaks (12 of 12 in the final run);
amount; chests and barrels dropping their contents untouched; a door, glass, coal ore and a torch on top; creative mode, a break by a command,percent 0, and switching off and on. - 48 checks with real network clients in a world with no experiments and cheats off, shared with Elemental Brands: the pool built at start-up, the commands and operator checks, the console, and settings and the seed surviving a restart and /reload. After the run, level.dat still shows cheats off and no experiment ever used.
- 10 unit tests of the pool: what's left out, the rarity tiers, fair and chaos odds over 40,000 picks, and the same-item table staying fixed per seed.
Not tested: a real phone, console or PC client, or a real Realm. The breaking was done by simulated players, so a real player digging hasn't been seen. Other add-ons that change drops weren't tried alongside. The table changes if a game update adds or removes items, since the pool is read from the game. No achievement was earned in a test; the tag means level.dat shows no experiment and cheats off.
Install: open the .mcaddon, then add the behaviour pack to your world. Needs Minecraft 1.21.100 or newer (stable Script API 2.1.0); it has only been run on 1.26.63. Licence: MIT.
Not affiliated with Mojang or Microsoft.
More free tools: actuallyop.com






