![]() |
VOOZH | about |
| The data for Java release versions is current as of 1.21.11. (needs to be checked/updated to 26.2). | 22:04, 24 February 2026 (UTC) |
| The data for Java snapshots is current as of 26.1 Snapshot 11. (needs to be checked/updated to 26.3 Snapshot 1). | 15:43, 3 March 2026 (UTC) |
| The data for Bedrock release versions is current as of 26.1. (needs to be checked/updated to 26.32). | 22:04, 24 February 2026 (UTC) |
| The data for Bedrock beta versions is current as of Preview 26.10.25. (the wiki is behind; it's only updated to beta 26.40.27). | 22:04, 24 February 2026 (UTC) |
Generates a table of the contents of the designated chests, with columns corresponding to various statistics about the availability of those items.
It takes any number of chest parameters, and any number of column parameters, in no particular order.
If no chest parameters are listed, it displays them all; likewise for column parameters.
{{#invoke:LootChest|base
[ |<chestParam1> ... |<chestParamN> ]
[ |<columnHideParam1> ... |<columnHideParamN> ]
}}
abandoned-camp-barrelabandoned-camp-common-chestabandoned-camp-secret-chestancient-city-ice-boxancient-citybastion-bridgebastion-genericbastion-hoglin-stablebastion-treasurebonus-barrelbonusbrushable-cold-ocean-ruinsbrushable-desert-templebrushable-desert-wellbrushable-trail-ruins-rarebrushable-trail-ruinsbrushable-warm-ocean-ruinsburied-treasuredesert-temple (alternative name: desert)end-cityigloojungle-temple-dispenserjungle-temple (alternative name: jungle)mineshaftmonster roommoon-labmoon-resuplynether-fortress (alternative names: nether-fortress, nether)pillager-outpost (alternative name: outpost)ruined-portalshipwreck-mapshipwreck-supplyshipwreck-treasurestronghold-altar (alternative name: altar)stronghold-library (alternative name: library)stronghold-storeroom (alternative name: storeroom)sulfur-cave-mineshafttrial-chambers-chamber-dispensertrial-chambers-corridor-dispensertrial-chambers-corridor-pottrial-chambers-corridortrial-chambers-entrancetrial-chambers-intersection-barreltrial-chambers-intersectiontrial-chambers-reward-ominoustrial-chambers-reward (alternative name: trial-vault)trial-chambers-supplytrial-chambers-trial-spawner-ominoustrial-chambers-trial-spawner (alternative name: trial-spawner)trial-chambers-water-dispenserunderwater-ruin-bigunderwater-ruin-smallvillage-armorer (alternative name: armorer)village-butcher (alternative name: butcher)village-cartographer (alternative name: cartographer)village-desert-house (alternative name: desert-house)village-fisherman (alternative name: fisherman)village-fletcher (alternative name: fletcher)village-mason (alternative name: mason)village-plains-house (alternative name: plains-house)village-savanna-house (alternative name: savanna-house)village-shepherd (alternative name: shepherd)village-snowy-house (alternative name: snowy-house)village-taiga-house (alternative name: taiga-house)village-tannery (alternative name: tannery)village-temple (alternative name: temple)village-toolsmith (alternative name: toolsmith)village-weaponsmith (alternative name: weaponsmith)woodland-mansion (alternative name: mansion)chance: The odds of finding any of this item in a single chest.,
chests: The average number of chests the player should expect to search to find any of this item.,
items: The number of items expected per chest, averaged over a large number of chests.,
stacksize: The size of stacks (or for unstackable items, number) of this item on any given roll.,
weight: The weight of this item relative to other items in the pool.
{{#invoke:LootChest|base}} → all chests and all columns
{{#invoke:LootChest|base|weaponsmith|jungle|bonus|chance|stacksize}} → only weaponsmith and jungle chests, and only 'stacksize' and 'chance' columns
Prints a summary of this item's availability in the various worldgen chests.
It takes exactly one item name as a parameter.
{{#invoke:LootChest|base2|<itemParam>}}
acacia-log, acacia-planks, acacia-sapling, acacia-sapling-m, activator-rail, air-block-m, allium-m, amethyst-shard, ancient-debris, ancient-debris-2, ancient-debris-m, angler-pottery-sherd, apple, archer-pottery-sherd, arms-up-pottery-sherd, arrow, azure-bluet-m, baked-potato, bamboo, bamboo-hanging-sign, bamboo-m, bamboo-planks, barrel, basalt, beetroot, beetroot-seeds, beetroot-seeds-m, beetroot-soup, bell, bell-m, big-dripleaf-m, birch-log, birch-sapling, birch-sapling-m, black-wool, blade-pottery-sherd, block-of-diamond, block-of-emerald, block-of-gold, block-of-iron, blue-dye, blue-ice, blue-key, blue-orchid-m, blue-stained-glass-pane, bolt-armor-trim-smithing-template, bone, bone-block, bone-block-m, bone-meal, bone-meal-m, book, book-and-quill, bottle-o'-enchanting, bow, bowl, brain-coral-block-m, bread, brewer-pottery-sherd, brick, brown-candle, brown-mushroom, brown-mushroom-m, brown-wool, bubble-coral-block-m, bucket, bucket-m, budding-amethyst-m, bundle, buried-treasure-map, burn-pottery-sherd, cactus, cactus-m, cake, candle, carrot, carrot-m, chainmail-boots, chainmail-chestplate, chainmail-helmet, chainmail-leggings, cherry-sapling-m, chorus-flower-m, clay, clay-ball, clock, coal, coast-armor-trim-smithing-template, cobweb, cobweb-m, cocoa-beans, cocoa-beans-m, compass, cooked-beef, cooked-chicken, cooked-cod, cooked-porkchop, cooked-salmon, copper-axe, copper-boots, copper-chestplate, copper-horse-armor, copper-ingot, copper-leggings, copper-nautilus-armor, copper-spear, copper-sword, cornflower-m, cow-spawn-egg-m, crimson-fungus, crimson-nylium, crimson-nylium-m, crimson-roots, crossbow, crying-obsidian, damaged-diamond-axe, damaged-diamond-boots, damaged-diamond-chestplate, damaged-diamond-helmet, damaged-diamond-leggings, damaged-diamond-pickaxe, damaged-diamond-pickaxe-2, damaged-diamond-sword, damaged-golden-axe, damaged-golden-pickaxe, damaged-iron-axe, damaged-level-enchanted-crossbow, damaged-level-enchanted-diamond-hoe, damaged-level-enchanted-netherite-boots, damaged-level-enchanted-netherite-chestplate, damaged-level-enchanted-netherite-helmet, damaged-level-enchanted-netherite-leggings, damaged-level-enchanted-netherite-sword, damaged-netherite-boots, damaged-netherite-chestplate, damaged-netherite-helmet, damaged-netherite-leggings, damaged-netherite-sword, damaged-random-enchanted-crossbow, damaged-random-enchanted-crossbow-2, damaged-random-enchanted-diamond-axe, damaged-random-enchanted-diamond-boots, damaged-random-enchanted-diamond-boots-2, damaged-random-enchanted-diamond-chestplate, damaged-random-enchanted-diamond-chestplate-2, damaged-random-enchanted-diamond-helmet, damaged-random-enchanted-diamond-helmet-2, damaged-random-enchanted-diamond-leggings, damaged-random-enchanted-diamond-leggings-2, damaged-random-enchanted-diamond-pickaxe, damaged-random-enchanted-diamond-pickaxe-2, damaged-random-enchanted-diamond-shovel, damaged-random-enchanted-diamond-shovel-2, damaged-random-enchanted-diamond-spear, damaged-random-enchanted-diamond-sword, damaged-random-enchanted-diamond-sword-2, damaged-random-enchanted-golden-axe, damaged-random-enchanted-golden-pickaxe, damaged-random-enchanted-iron-axe, damaged-random-enchanted-iron-sword, damaged-random-enchanted-netherite-axe, damaged-random-enchanted-netherite-boots, damaged-random-enchanted-netherite-chestplate, damaged-random-enchanted-netherite-helmet, damaged-random-enchanted-netherite-hoe, damaged-random-enchanted-netherite-leggings, damaged-random-enchanted-netherite-pickaxe, damaged-random-enchanted-netherite-shovel, damaged-random-enchanted-netherite-sword, damaged-shield, damaged-stone-axe, damaged-stone-pickaxe, dandelion, dandelion-m, danger-pottery-sherd, dark-oak-log, dark-oak-sapling, dark-oak-sapling-m, dead-bush, detector-rail, diamond, diamond-boots, diamond-chestplate, diamond-helmet, diamond-hoe, diamond-horse-armor, diamond-leggings, diamond-m, diamond-nautilus-armor, diamond-pickaxe-m, diamond-shovel, diamond-spear, diamond-sword, dirt-m, disc-13, disc-bounce, disc-cat, disc-creator, disc-creator-music-box, disc-fragment-5, disc-mellohi, disc-otherside, disc-pigstep, disc-precipice, disc-relic, disc-wait, dune-armor-trim-smithing-template, echo-shard, echo-shard-m, egg, elytra-m, emerald, empty, empty-map, empty-map-2, enchanted-book, enchanted-book-rnd, enchanted-book-rnd-breach-density, enchanted-book-rnd-efficiency, enchanted-book-rnd-mending, enchanted-book-rnd-mending-trident, enchanted-book-rnd-quick-charge, enchanted-book-rnd-soul-speed, enchanted-book-rnd-swift-sneak, enchanted-book-rnd-trial-chambers, enchanted-book-rnd-trial-chambers-2, enchanted-book-rnd-unbreaking, enchanted-book-rnd-wind-burst, enchanted-fishing-rod, enchanted-golden-apple, end-stone-m, ender-pearl, ender-pearl-m, explorer-pottery-sherd, eye-armor-trim-smithing-template, feather, fern, fern-m, fire-charge, fire-coral-block-m, firework-rocket, fishing-rod, flint, flint-and-steel, flow-armor-trim-smithing-template, flow-banner-pattern, flower-pot, friend-pottery-sherd, furnace, ghast-tear-m, gilded-blackstone, glass-bottle, glistering-melon-slice, glow-berries, glow-berries-m, glowstone, glowstone-dust-m, goat-horn, gold-ingot, gold-ingot-m, gold-nugget, golden-apple, golden-apple-m, golden-boots, golden-carrot, golden-chestplate, golden-helmet, golden-hoe, golden-horse-armor, golden-leggings, golden-nautilus-armor, golden-sword, grass-block-m, gravel-m, gray-wool, green-candle, green-dye, gunpowder, gunpowder-m, guster-banner-pattern, heart-of-the-sea, heart-of-the-sea-m, heart-pottery-sherd, heartbreak-pottery-sherd, heavy-core, honey-bottle, honeycomb, horn-coral-block-m, host-armor-trim-smithing-template, howl-pottery-sherd, ink-sac, iron-axe, iron-boots, iron-chain, iron-chestplate, iron-helmet, iron-horse-armor, iron-ingot, iron-ingot-m, iron-leggings, iron-nautilus-armor, iron-nugget, iron-pickaxe, iron-shovel, iron-spear, iron-sword, jungle-log, jungle-sapling, jungle-sapling-m, kelp-m, lapis-lazuli, lapis-lazuli-m, large-fern, large-fern-m, lava-bucket-m, lead, leather, leather-boots, leather-cap, leather-pants, leather-tunic, level-enchanted-bow, level-enchanted-bow-2, level-enchanted-crossbow, level-enchanted-diamond-axe, level-enchanted-diamond-axe-2, level-enchanted-diamond-boots, level-enchanted-diamond-boots-2, level-enchanted-diamond-chestplate, level-enchanted-diamond-chestplate-2, level-enchanted-diamond-chestplate-3, level-enchanted-diamond-chestplate-4, level-enchanted-diamond-helmet, level-enchanted-diamond-helmet-2, level-enchanted-diamond-leggings, level-enchanted-diamond-leggings-2, level-enchanted-diamond-leggings-3, level-enchanted-diamond-pickaxe, level-enchanted-diamond-shovel, level-enchanted-diamond-spear, level-enchanted-diamond-sword, level-enchanted-diamond-sword-2, level-enchanted-golden-boots, level-enchanted-golden-chestplate, level-enchanted-golden-helmet, level-enchanted-golden-hoe, level-enchanted-golden-leggings, level-enchanted-iron-axe, level-enchanted-iron-boots, level-enchanted-iron-boots-2, level-enchanted-iron-boots-3, level-enchanted-iron-chestplate, level-enchanted-iron-chestplate-0-10, level-enchanted-iron-chestplate-2, level-enchanted-iron-chestplate-3, level-enchanted-iron-helmet, level-enchanted-iron-helmet-2, level-enchanted-iron-helmet-3, level-enchanted-iron-leggings, level-enchanted-iron-leggings-2, level-enchanted-iron-leggings-3, level-enchanted-iron-pickaxe, level-enchanted-iron-pickaxe-2, level-enchanted-iron-shovel, level-enchanted-iron-shovel-2, level-enchanted-iron-sword, level-enchanted-iron-sword-2, level-enchanted-leather-boots, level-enchanted-leather-cap, level-enchanted-leather-pants, level-enchanted-leather-tunic, level-enchanted-stone-sword, light-blue-dye, light-blue-stained-glass-pane, light-gray-wool, light-weighted-pressure-plate, lilac-m, lily-of-the-valley-m, lingering-potion-of-healing, lingering-potion-of-poison, lingering-potion-of-slowness, lingering-potion-of-weakness, lodestone, magenta-stained-glass-pane, magma-block, magma-cream, mangrove-log, mangrove-propagule-m, map, melon-seeds, melon-seeds-m, milk-bucket, miner-pottery-sherd, moss-block, moss-block-m, mourner-pottery-sherd, mycelium-m, name-tag, nautilus-shell-m, nether-quartz, nether-quartz-m, nether-wart, nether-wart-m, netherite-boots, netherite-chestplate, netherite-helmet, netherite-ingot, netherite-leggings, netherite-scrap, netherite-upgrade-smithing-template, oak-hanging-sign, oak-log, oak-log-m, oak-planks, oak-sapling, oak-sapling-m, oak-sign, obsidian, ominous-bottle, ominous-bottle-2, ominous-trial-key, orange-dye, orange-tulip-m, oxeye-daisy-m, packed-air-m, packed-ice, paper, peony-m, pink-petals-m, pink-stained-glass-pane, pink-tulip-m, plenty-pottery-sherd, pointed-dripstone-m, poisonous-potato, polished-basalt, poppy, poppy-m, potato, potato-m, potion-of-healing, potion-of-leaping, potion-of-night-vision, potion-of-regeneration, potion-of-strength, potion-of-swiftness, potion-of-water-breathing, powder-snow-bucket-m, powered-rail, prismarine-crystals, prismarine-crystals-m, prismarine-shard-m, prize-pottery-sherd, pufferfish-bucket-m, pumpkin, pumpkin-pie, pumpkin-seeds, pumpkin-seeds-m, purple-candle, purple-stained-glass-pane, rabbit-foot-m, rabbit-hide, rail, raiser-armor-trim-smithing-template, random-effect-arrow, random-effect-lingering-potion, random-effect-potion, random-effect-splash-potion, random-effect-tipped-arrow, random-enchanted-crossbow, random-enchanted-diamond-pickaxe, random-enchanted-golden-axe, random-enchanted-golden-boots, random-enchanted-golden-chestplate, random-enchanted-golden-helmet, random-enchanted-golden-hoe, random-enchanted-golden-leggings, random-enchanted-golden-pickaxe, random-enchanted-golden-shovel, random-enchanted-golden-sword, random-enchanted-leather-boots, random-enchanted-leather-cap, random-enchanted-leather-pants, random-enchanted-leather-tunic, raw-beef, raw-cod, raw-mutton, raw-porkchop, raw-salmon, red-candle, red-key, red-mushroom-m, red-stained-glass-pane, red-tulip-m, redstone, redstone-m, resin-brick, resin-clump, rib-armor-trim-smithing-template, rose-bush-m, rotten-flesh, saddle, sand, sand-m, scaffolding, sculk, sculk-catalyst, sculk-catalyst-m, sculk-sensor, sea-pickle-m, sentry-armor-trim-smithing-template, shaper-armor-trim-smithing-template, sheaf-pottery-sherd, shears, sheep-spawn-egg-m, shelter-pottery-sherd, short-grass, silence-armor-trim-smithing-template, skull-pottery-sherd, slimeball-m, smooth-stone, sniffer-egg, sniffer-egg-m, snort-pottery-sherd, snout-armor-trim-smithing-template, snout-banner-pattern, snow-block, snow-block-m, snowball, soul-sand, soul-sand-m, soul-speed-enchanted-golden-boots, soul-torch, spectral-arrow, spider-eye, spider-eye-m, spire-armor-trim-smithing-template, splash-potion-of-poison, splash-potion-of-slowness, splash-potion-of-weakness, spore-blossom-m, spruce-hanging-sign, spruce-log, spruce-sapling, spruce-sapling-m, spruce-sign, spyglass, spyglass-m, stick, stone, stone-axe, stone-bricks, stone-pickaxe, stone-spear, string, string-m, sugar-cane-m, sunflower-m, suspicious-stew, suspicious-stew-2, sweet-berries, sweet-berries-m, tall-grass, tide-armor-trim-smithing-template, tipped-arrow-poison, tipped-arrow-slowness, tipped-arrow-strong-slowness, tnt, torch, trial-key, trident, tripwire-hook, tube-coral-block-m, tuff, turtle-egg-m, unknown-enchanted-diamond-chestplate, unknown-enchanted-iron-helmet, unknown-enchanted-iron-leggings, unknown-enchanted-iron-pickaxe, unknown-enchanted-iron-shovel, vex-armor-trim-smithing-template, villager-spawn-egg-m, ward-armor-trim-smithing-template, warped-nylium-m, water-bucket, water-bucket-m, wayfinder-armor-trim-smithing-template, wheat, wheat-seeds, wheat-seeds-m, white-candle, white-dye, white-tulip-m, white-wool, wild-armor-trim-smithing-template, wind-charge, wind-charge-2, wither-skeleton-skull-m, wooden-axe, wooden-hoe, wooden-pickaxe, yellow-dye, yellow-key, yellow-stained-glass-pane
{{#invoke:LootChest|base2|iron-ingot}} →
Iron ingots can be found in 13.5% of woodland mansion chests, 99.4% of buried treasure chests, 24.0% of trial chambers vault chests, and 18.5% of monster room chests, all in stacks of 1–4; in 22.8% of stronghold altar chests, 97.4% of shipwreck treasure chests, 37.0% of jungle pyramid chests, 41.2% of village toolsmith chests, 34.3% of stronghold storeroom chests, 17.9% of nether fortress chests, 17.0% of desert pyramid chests, 27.3% of chest minecarts in sulfur cave mineshaft, 27.3% of chest minecarts in mineshaft, and 40.9% of village weaponsmith chests, all in stacks of 1–5; in 37.0% of end city chests in stacks of 4–8; in 19.0% of bastion remnant chests in stacks of 1–6; in 54.2% of village armorer chests and 30.5% of pillager outpost chests in stacks of 1–3; in 28.5% of trial chambers corridor pot chests in stacks of 1–2; in 33.7% of bastion remnant treasure chests in stacks of 3–9; and in 11.2% of bastion remnant bridge chests in stacks of 4–9. Java Edition 26.3 they can be found in 75.6% of abandoned camp secret chest chests in stacks of 1.
Bedrock Edition they can be found in 17.2% of woodland mansion chests, 99.4% of buried treasure chests, 29.6% of trial chambers vault chests, and 18.5% of monster room chests, all in stacks of 1–4; in 22.2% of stronghold altar chests, 97.4% of shipwreck treasure chests, 37.0% of jungle pyramid chests, 41.2% of village toolsmith chests, 28.5% of stronghold storeroom chests, 17.9% of nether fortress chests, 17.0% of desert pyramid chests, 27.3% of chest minecarts in sulfur cave mineshaft, 27.3% of chest minecarts in mineshaft, and 40.9% of village weaponsmith chests, all in stacks of 1–5; in 37.0% of end city chests in stacks of 4–8; in 19.0% of bastion remnant chests in stacks of 1–6; in 54.2% of village armorer chests and 30.5% of pillager outpost chests in stacks of 1–3; in 28.5% of trial chambers corridor pot chests in stacks of 1–2; in 33.7% of bastion remnant treasure chests in stacks of 3–9; and in 11.2% of bastion remnant bridge chests in stacks of 4–9. Bedrock Edition 26.40 they can be found in 75.6% of abandoned camp secret chest chests in stacks of 1.
{{#invoke:LootChest|base2|emerald}} →
Emeralds can be found in 31.8% of village armorer chests, 10.2% of village butcher chests, 15.4% of small ocean ruins chests, 12.5% of desert well chests, 12.3% of village fletcher chests, 7.6% of igloo chests, 4.4% of trail ruins chests, 20.8% of village mason chests, 13.3% of warm ocean Ruins chests, 13.3% of cold ocean ruins chests, 14.1% of big ocean ruins chests, 24.2% of village fisherman chests, 12.3% of village shepherd chests, and 12.5% of desert pyramid chests, all in stacks of 1; in 25.4% of village temple chests, 18.6% of taiga village house chests, 22.8% of plains village house chests, 21.5% of savanna village house chests, 9.9% of snowy village house chests, and 17.3% of village tannery chests, all in stacks of 1–4; in 73.7% of shipwreck treasure chests in stacks of 1–5; in 59.9% of buried treasure chests in stacks of 4–8; in 14.3% of desert village house chests, 8.6% of jungle pyramid chests, 35.6% of trial chambers corridor pot chests, and 17.0% of desert pyramid chests, all in stacks of 1–3; in 38.4% of trial chambers vault chests in stacks of 2–4; in 56.2% of trial chambers ominous vault chests in stacks of 4–10; and in 8.6% of end city chests in stacks of 2–6.
Bedrock Edition they can be found in 31.8% of village armorer chests, 10.2% of village butcher chests, 15.4% of small ocean ruins chests, 12.5% of desert well chests, 12.3% of village fletcher chests, 7.6% of igloo chests, 4.4% of trail ruins chests, 20.8% of village mason chests, 13.3% of warm ocean Ruins chests, 13.3% of cold ocean ruins chests, 14.1% of big ocean ruins chests, 12.3% of village shepherd chests, and 12.5% of desert pyramid chests, all in stacks of 1; in 25.4% of village temple chests, 20.3% of taiga village house chests, 22.8% of plains village house chests, 21.5% of savanna village house chests, 9.9% of snowy village house chests, and 17.3% of village tannery chests, all in stacks of 1–4; in 73.7% of shipwreck treasure chests in stacks of 1–5; in 53.1% of buried treasure chests in stacks of 4–8; in 7.0% of stronghold altar chests, 14.3% of desert village house chests, 8.6% of jungle pyramid chests, 35.6% of trial chambers corridor pot chests, and 17.0% of desert pyramid chests, all in stacks of 1–3; in 39.7% of trial chambers vault chests in stacks of 2–4; in 56.2% of trial chambers ominous vault chests in stacks of 4–10; and in 8.6% of end city chests in stacks of 2–6.
Prints a summary of this item's availability in the various worldgen chests in the form of a table.
It takes exactly one item name as a parameter.
{{#invoke:LootChest|base3|<itemParam>}}
Same as above
{{#invoke:LootChest|base3|emerald}} →
| Item | Structure | Container | Quantity | Chance |
|---|---|---|---|---|
| Java Edition | ||||
| 👁 Image Emerald |
👁 Image Buried Treasure |
Chest | 4–8 | 59.9%{ "item": "Emerald", "stacksize": "4–8", "chance": 0.5987654320987654, "structure": "Buried Treasure", "container": "Chest" }
|
| 👁 Image Desert Pyramid |
Suspicious sand | 1 | 12.5%{ "item": "Emerald", "stacksize": 1, "chance": 0.125, "structure": "Desert Pyramid", "container": "Suspicious sand" }
| |
| Chest | 1–3 | 17%{ "item": "Emerald", "stacksize": "1–3", "chance": 0.17026171025287384, "structure": "Desert Pyramid", "container": "Chest" }
| ||
| 👁 Image Desert well |
Suspicious sand | 1 | 12.5%{ "item": "Emerald", "stacksize": 1, "chance": 0.125, "structure": "Desert well", "container": "Suspicious sand" }
| |
| 👁 Image End City |
Chest | 2–6 | 8.6%{ "item": "Emerald", "stacksize": "2–6", "chance": 0.08643110630611406, "structure": "End City", "container": "Chest" }
| |
| 👁 Image Igloo |
Chest | 1 | 7.6%{ "item": "Emerald", "stacksize": 1, "chance": 0.07641250360396157, "structure": "Igloo", "container": "Chest" }
| |
| 👁 Image Jungle Pyramid |
Chest | 1–3 | 8.6%{ "item": "Emerald", "stacksize": "1–3", "chance": 0.08643110630611406, "structure": "Jungle Pyramid", "container": "Chest" }
| |
| 👁 Image Ocean ruins |
Warm ruins suspicious sand | 1 | 13.3%{ "item": "Emerald", "stacksize": 1, "chance": 0.1333333333333333, "structure": "Ocean ruins", "container": "Warm ruins suspicious sand" }
| |
| Cold ruins suspicious gravel | 1 | 13.3%{ "item": "Emerald", "stacksize": 1, "chance": 0.1333333333333333, "structure": "Ocean Ruins", "container": "Cold ruins suspicious gravel" }
| ||
| 👁 Image Shipwreck |
Treasure chest | 1–5 | 73.7%{ "item": "Emerald", "stacksize": "1–5", "chance": 0.7372032702331961, "structure": "Shipwreck", "container": "Treasure chest" }
| |
| 👁 Image Trail Ruins |
Suspicious gravel | 1 | 4.4%{ "item": "Emerald", "stacksize": 1, "chance": 0.0444444444444444, "structure": "Trail Ruins", "container": "Suspicious gravel" }
| |
| 👁 Image Trial Chambers |
Corridor pot | 1–3 | 35.6%{ "item": "Emerald", "stacksize": "1–3", "chance": 0.3561253561253561, "structure": "Trial Chambers", "container": "Corridor pot" }
| |
| Ominous vault | 4–10 | 56.2%{ "item": "Emerald", "stacksize": "4–10", "chance": 0.5621399176954733, "structure": "Trial Chambers", "container": "Ominous vault" }
| ||
| Vault and reward chest | 2–4 | 38.4%{ "item": "Emerald", "stacksize": "2–4", "chance": 0.38441636730434786, "structure": "Trial Chambers", "container": "Vault and reward chest" }
| ||
| 👁 Image Ocean Ruins |
Big ruins chest | 1 | 14.1%{ "item": "Emerald", "stacksize": 1, "chance": 0.14098186890144448, "structure": "Ocean Ruins", "container": "Big ruins chest" }
| |
| Small ruins chest | 1 | 15.4%{ "item": "Emerald", "stacksize": 1, "chance": 0.1539782646088358, "structure": "Ocean Ruins", "container": "Small ruins chest" }
| ||
| 👁 Image Village |
Tanner's chest | 1–4 | 17.3%{ "item": "Emerald", "stacksize": "1–4", "chance": 0.17258930206298828, "structure": "Village", "container": "Tanner's chest" }
| |
| Desert house chest | 1–3 | 14.3%{ "item": "Emerald", "stacksize": "1–3", "chance": 0.14254173828500694, "structure": "Village", "container": "Desert house chest" }
| ||
| Snowy house chest | 1–4 | 9.9%{ "item": "Emerald", "stacksize": "1–4", "chance": 0.0989873657501581, "structure": "Village", "container": "Snowy house chest" }
| ||
| Temple chest | 1–4 | 25.4%{ "item": "Emerald", "stacksize": "1–4", "chance": 0.25406025971014023, "structure": "Village", "container": "Temple chest" }
| ||
| Plains house chest | 1–4 | 22.8%{ "item": "Emerald", "stacksize": "1–4", "chance": 0.22790559614142292, "structure": "Village", "container": "Plains house chest" }
| ||
| Fletcher's chest | 1 | 12.3%{ "item": "Emerald", "stacksize": 1, "chance": 0.12311565744709374, "structure": "Village", "container": "Fletcher's chest" }
| ||
| Butcher's chest | 1 | 10.2%{ "item": "Emerald", "stacksize": 1, "chance": 0.10217553744347596, "structure": "Village", "container": "Butcher's chest" }
| ||
| Savanna house chest | 1–4 | 21.5%{ "item": "Emerald", "stacksize": "1–4", "chance": 0.21463353884117242, "structure": "Village", "container": "Savanna house chest" }
| ||
| Mason's chest | 1 | 20.8%{ "item": "Emerald", "stacksize": 1, "chance": 0.20842461344544605, "structure": "Village", "container": "Mason's chest" }
| ||
| Shepherd's chest | 1 | 12.3%{ "item": "Emerald", "stacksize": 1, "chance": 0.12311565744709374, "structure": "Village", "container": "Shepherd's chest" }
| ||
| Fisherman's chest | 1 | 24.2%{ "item": "Emerald", "stacksize": 1, "chance": 0.2418426461183103, "structure": "Village", "container": "Fisherman's chest" }
| ||
| Taiga house chest | 1–4 | 18.6%{ "item": "Emerald", "stacksize": "1–4", "chance": 0.18575629348123335, "structure": "Village", "container": "Taiga house chest" }
| ||
| Armorer's chest | 1 | 31.8%{ "item": "Emerald", "stacksize": 1, "chance": 0.31807250976562496, "structure": "Village", "container": "Armorer's chest" }
| ||
| Bedrock Edition | ||||
| 👁 Image Emerald |
👁 Image Buried Treasure |
Chest | 4–8 | 53.1%{ "item": "Emerald", "stacksize": "4–8", "chance": 0.5308641975308642, "structure": "Buried Treasure", "container": "Chest" }
|
| 👁 Image Desert Pyramid |
Suspicious sand | 1 | 12.5%{ "item": "Emerald", "stacksize": 1, "chance": 0.125, "structure": "Desert Pyramid", "container": "Suspicious sand" }
| |
| Chest | 1–3 | 17%{ "item": "Emerald", "stacksize": "1–3", "chance": 0.17026171025287384, "structure": "Desert Pyramid", "container": "Chest" }
| ||
| 👁 Image Desert well |
Suspicious sand | 1 | 12.5%{ "item": "Emerald", "stacksize": 1, "chance": 0.125, "structure": "Desert well", "container": "Suspicious sand" }
| |
| 👁 Image End City |
Chest | 2–6 | 8.6%{ "item": "Emerald", "stacksize": "2–6", "chance": 0.08643110630611406, "structure": "End City", "container": "Chest" }
| |
| 👁 Image Igloo |
Chest | 1 | 7.6%{ "item": "Emerald", "stacksize": 1, "chance": 0.07641250360396157, "structure": "Igloo", "container": "Chest" }
| |
| 👁 Image Jungle Pyramid |
Chest | 1–3 | 8.6%{ "item": "Emerald", "stacksize": "1–3", "chance": 0.0862448747002107, "structure": "Jungle Pyramid", "container": "Chest" }
| |
| 👁 Image Ocean ruins |
Warm ruins suspicious sand | 1 | 13.3%{ "item": "Emerald", "stacksize": 1, "chance": 0.1333333333333333, "structure": "Ocean ruins", "container": "Warm ruins suspicious sand" }
| |
| Cold ruins suspicious gravel | 1 | 13.3%{ "item": "Emerald", "stacksize": 1, "chance": 0.1333333333333333, "structure": "Ocean Ruins", "container": "Cold ruins suspicious gravel" }
| ||
| 👁 Image Shipwreck |
Treasure chest | 1–5 | 73.7%{ "item": "Emerald", "stacksize": "1–5", "chance": 0.7372032702331961, "structure": "Shipwreck", "container": "Treasure chest" }
| |
| 👁 Image Stronghold |
Altar chest | 1–3 | 7%{ "item": "Emerald", "stacksize": "1–3", "chance": 0.07033108102140684, "structure": "Stronghold", "container": "Altar chest" }
| |
| 👁 Image Trail Ruins |
Suspicious gravel | 1 | 4.4%{ "item": "Emerald", "stacksize": 1, "chance": 0.0444444444444444, "structure": "Trail Ruins", "container": "Suspicious gravel" }
| |
| 👁 Image Trial Chambers |
Ominous vault | 4–10 | 56.2%{ "item": "Emerald", "stacksize": "4–10", "chance": 0.5621399176954733, "structure": "Trial Chambers", "container": "Ominous vault" }
| |
| Corridor pot | 1–3 | 35.6%{ "item": "Emerald", "stacksize": "1–3", "chance": 0.3561253561253561, "structure": "Trial Chambers", "container": "Corridor pot" }
| ||
| Vault and reward chest | 2–4 | 39.7%{ "item": "Emerald", "stacksize": "2–4", "chance": 0.39706025182608695, "structure": "Trial Chambers", "container": "Vault and reward chest" }
| ||
| 👁 Image Ocean Ruins |
Big ruins chest | 1 | 14.1%{ "item": "Emerald", "stacksize": 1, "chance": 0.14098186890144448, "structure": "Ocean Ruins", "container": "Big ruins chest" }
| |
| Small ruins chest | 1 | 15.4%{ "item": "Emerald", "stacksize": 1, "chance": 0.1539782646088358, "structure": "Ocean Ruins", "container": "Small ruins chest" }
| ||
| 👁 Image Village |
Desert house chest | 1–3 | 14.3%{ "item": "Emerald", "stacksize": "1–3", "chance": 0.14254173828500694, "structure": "Village", "container": "Desert house chest" }
| |
| Tanner's chest | 1–4 | 17.3%{ "item": "Emerald", "stacksize": "1–4", "chance": 0.17258930206298828, "structure": "Village", "container": "Tanner's chest" }
| ||
| Taiga house chest | 1–4 | 20.3%{ "item": "Emerald", "stacksize": "1–4", "chance": 0.20281509304744794, "structure": "Village", "container": "Taiga house chest" }
| ||
| Savanna house chest | 1–4 | 21.5%{ "item": "Emerald", "stacksize": "1–4", "chance": 0.21463353884117242, "structure": "Village", "container": "Savanna house chest" }
| ||
| Fletcher's chest | 1 | 12.3%{ "item": "Emerald", "stacksize": 1, "chance": 0.12311565744709374, "structure": "Village", "container": "Fletcher's chest" }
| ||
| Butcher's chest | 1 | 10.2%{ "item": "Emerald", "stacksize": 1, "chance": 0.10217553744347596, "structure": "Village", "container": "Butcher's chest" }
| ||
| Snowy house chest | 1–4 | 9.9%{ "item": "Emerald", "stacksize": "1–4", "chance": 0.0989873657501581, "structure": "Village", "container": "Snowy house chest" }
| ||
| Mason's chest | 1 | 20.8%{ "item": "Emerald", "stacksize": 1, "chance": 0.20842461344544605, "structure": "Village", "container": "Mason's chest" }
| ||
| Temple chest | 1–4 | 25.4%{ "item": "Emerald", "stacksize": "1–4", "chance": 0.25406025971014023, "structure": "Village", "container": "Temple chest" }
| ||
| Shepherd's chest | 1 | 12.3%{ "item": "Emerald", "stacksize": 1, "chance": 0.12311565744709374, "structure": "Village", "container": "Shepherd's chest" }
| ||
| Plains house chest | 1–4 | 22.8%{ "item": "Emerald", "stacksize": "1–4", "chance": 0.22790559614142292, "structure": "Village", "container": "Plains house chest" }
| ||
| Armorer's chest | 1 | 31.8%{ "item": "Emerald", "stacksize": 1, "chance": 0.31807250976562496, "structure": "Village", "container": "Armorer's chest" }
| ||
p so that it can be pulled directly from (or compared directly to) the minecraft loot table files.p.items'<item-id>' = {
id is included in the item definition.'<sprite-type>'
item or block.[, id='<sprite-id>']
item-id.[, link='<item-link>']
[, title='<item-text>']
[, cannot_stack=false]
[, plural=(false|'<custom-plural-word>')]
false when a word has no plural, like 'Nether Wart'. Use a custom plural word when you cannot simply append an 's' to the base word to make it plural, like 'Bottles o' Enchanting'. Used in Template:LootChestItem.[, preserve_case=false]
false when an item name should follow the capitalization exactly specified in title, and not follow sentence case, like 'TNT'.[, note='<note-name>']
}p.notes'<note-name>' = '<note-full-text>'p.chests[n].poolsJava[n]p.chests[n].poolsJavaUpcoming[n]p.chests[n].poolsBedrock[n]p.chests[n].poolsBedrockUpcoming[n]
{ <min-number-of-stacks>, <max-number-of-stacks> }p.chests[n].poolsJava[n].itemsp.chests[n].poolsJavaUpcoming[n].itemsp.chests[n].poolsBedrock[n].itemsp.chests[n].poolsBedrockUpcoming[n].items'<item-id>' = { <min-stack-size>, <max-stack-size>, <item-weight> }p.synonyms'<chest-name-synonym>' = '<original-interally-valid-chest-name>'p.display_names'<chest-name-given-via-parameter>' = '<name-displayed-in-single-chest-table>'p.columns'<column-name>' = '<column-full-description>'The following functions are made available at the top of the file, for ease of inspection.
calc_average_amount_this_item_per_chestcalc_chance_any_of_this_item_per_chest{{#invoke:LootChest|base2_test}}
Bedrock Editionbirch saplings can be found in 14.3% of bonus chest chests in stacks of 4.
Bedrock Editionbrown mushrooms can be found in all bonus chest chests in stacks of 1–2.
Bedrock Editioncocoa beans can be found in 40.0% of bonus chest chests in stacks of 1–2.
Bedrock Editiondark oak saplings can be found in 14.3% of bonus chest chests in stacks of 4.
Bedrock Editionink sacs can be found in 40.0% of stronghold storeroom chests in stacks of 1–3.
Bedrock Editionjungle saplings can be found in 28.6% of bonus chest chests in stacks of 4.
Bedrock Editionmaps[L] can be found in 7.7% of shipwreck map chests and 10.5% of stronghold library chests in stacks of 1, and in 46.2% of village cartographer chests in stacks of 1–3.
Bedrock Editionoak signs can be found in 10.7% of taiga village house chests in stacks of 1.
Acacia logs can be found in 26.2% of bonus chest chests in stacks of 1–3.
Bedrock Edition they can be found in 33.3% of bonus chest chests in stacks of 1–3.
Acacia planks can be found in 20.4% of trial chambers supply chests in stacks of 3–6.
Bedrock Edition they can be found in 20.4% of trial chambers supply chests in stacks of 3–6.
Acacia saplings can be found in 6.2% of lunar base chests in stacks of 1–4, and in 4.2% of lunar base chests in stacks of 1–2.
Acacia saplings can be found in 71.7% of savanna village house chests in stacks of 1–2.
Bedrock Edition they can be found in 14.3% of bonus chest chests in stacks of 4, and in 71.7% of savanna village house chests in stacks of 1–2.
Activator rails can be found in 23.0% of chest minecarts in sulfur cave mineshaft and 27.1% of chest minecarts in mineshaft in stacks of 1–4.
Bedrock Edition they can be found in 23.0% of chest minecarts in sulfur cave mineshaft and 27.1% of chest minecarts in mineshaft in stacks of 1–4.
Air can be found in 13.3% of lunar base chests in stacks of 1–4.
Alliums can be found in 0.9% of lunar base chests in stacks of 1.
Amethyst shards can be found in 39.7% of trial chambers intersection chests in stacks of 8–20, and in 23.7% of Ancient City chests in stacks of 1–15.
Bedrock Edition they can be found in 39.7% of trial chambers intersection chests in stacks of 8–20, and in 23.7% of Ancient City chests in stacks of 1–15.
Ancient debris can be found in 12.0% of bastion remnant hoglin stable chests, 24.5% of bastion remnant treasure chests, and 13.5% of bastion remnant chests, all in stacks of 1.
Bedrock Edition they can be found in 5.7% of bastion remnant hoglin stable chests and 13.5% of bastion remnant chests in stacks of 1, and in 11.3% of bastion remnant treasure chests in stacks of 2.
Ancient debris can be found in 5.0% of bastion remnant hoglin stable chests and 10.3% of bastion remnant treasure chests in stacks of 2.
Ancient debrises can be found in 6.8% of lunar base chests in stacks of 1.
Angler pottery sherds can be found in 6.7% of warm ocean Ruins chests in stacks of 1.
Bedrock Edition they can be found in 6.7% of warm ocean Ruins chests in stacks of 1.
Apples can be found in 32.9% of stronghold altar chests, 70.4% of igloo chests, 47.5% of stronghold storeroom chests, and 55.0% of village weaponsmith chests, all in stacks of 1–3; in 74.2% of plains village house chests in stacks of 1–5; and in 83.8% of bonus chest chests in stacks of 1–2.
Bedrock Edition they can be found in 32.0% of stronghold altar chests, 70.4% of igloo chests, 40.0% of stronghold storeroom chests, and 55.0% of village weaponsmith chests, all in stacks of 1–3; in 74.2% of plains village house chests in stacks of 1–5; and in all bonus chest chests in stacks of 1–2.
Archer pottery sherds can be found in 12.5% of desert pyramid chests in stacks of 1.
Bedrock Edition they can be found in 12.5% of desert pyramid chests in stacks of 1.
Arms up pottery sherds can be found in 25.0% of desert well chests in stacks of 1.
Bedrock Edition they can be found in 25.0% of desert well chests in stacks of 1.
Arrow of poisons can be found in 20.4% of trial chambers supply chests in stacks of 4–8, and in 31.0% of trial chambers vault chests in stacks of 2–8.
Bedrock Edition they can be found in 20.4% of trial chambers supply chests in stacks of 4–8, and in 37.8% of trial chambers vault chests in stacks of 2–8.
Arrow of slowness ivs can be found in 37.5% of trial chambers ominous vault chests in stacks of 4–12.
Bedrock Edition they can be found in 37.5% of trial chambers ominous vault chests in stacks of 4–12.
Arrow of slownesses can be found in 20.4% of trial chambers supply chests in stacks of 4–8.
Bedrock Edition they can be found in 20.4% of trial chambers supply chests in stacks of 4–8.
Arrows can be found in 28.5% of trial chambers corridor pot chests and 31.0% of trial chambers vault chests in stacks of 2–8, in 37.3% of trial chambers supply chests in stacks of 4–14, in 13.8% of dispensers in trial chambers chamber dispenser and all dispensers in trial chambers corridor dispenser in stacks of 4–8, in 23.3% of village fletcher chests in stacks of 1–3, in 55.1% of trial chambers entrance chests in stacks of 5–10, in all dispensers in jungle pyramids and 39.1% of pillager outpost chests in stacks of 2–7, and in 47.9% of bastion remnant bridge chests, 22.8% of bastion remnant hoglin stable chests, and 44.1% of bastion remnant chests, all in stacks of 5–17. Java Edition 26.3 they can be found in 27.5% of abandoned camp common chest chests in stacks of 4, and in 33.6% of abandoned camp barrel chests in stacks of 1–3.
Bedrock Edition they can be found in 37.3% of trial chambers supply chests in stacks of 4–14, in 11.2% of bastion remnant bridge chests in stacks of 10–28, in 23.3% of village fletcher chests in stacks of 1–3, in 28.5% of trial chambers corridor pot chests and 37.8% of trial chambers vault chests in stacks of 2–8, in 13.8% of dispensers in trial chambers chamber dispenser and all dispensers in trial chambers corridor dispenser in stacks of 4–8, in 11.2% of bastion remnant chests in stacks of 10–22, in 33.7% of bastion remnant treasure chests in stacks of 12–25, in 55.1% of trial chambers entrance chests in stacks of 5–10, in all dispensers in jungle pyramids and 39.1% of pillager outpost chests in stacks of 2–7, and in 47.9% of bastion remnant bridge chests, 22.8% of bastion remnant hoglin stable chests, and 44.1% of bastion remnant chests, all in stacks of 5–17. Bedrock Edition 26.40 they can be found in 27.5% of abandoned camp common chest chests in stacks of 4, and in 33.6% of abandoned camp barrel chests in stacks of 1–3.
Arrows[Y] can be found in 10.9% of bonus barrel chests in stacks of 1–20.
Azure bluets can be found in 0.9% of lunar base chests in stacks of 1.
Baked potatos can be found in 49.3% of trial chambers barrel intersection chests in stacks of 6–10, in 37.3% of trial chambers supply chests and 21.0% of trial chambers ominous spawner chests in stacks of 2–4, in 10.0% of trial chambers spawner chests in stacks of 1–3, and in 54.9% of Ancient City chests in stacks of 1–10.
Bedrock Edition they can be found in 49.3% of trial chambers barrel intersection chests in stacks of 6–10, in 37.3% of trial chambers supply chests and 21.0% of trial chambers ominous spawner chests in stacks of 2–4, in 10.0% of trial chambers spawner chests in stacks of 1–3, and in 54.9% of Ancient City chests in stacks of 1–10.
Bamboo can be found in 50.6% of jungle pyramid chests and 14.4% of shipwreck supply chests in stacks of 1–3.
Bedrock Edition they can be found in 50.5% of jungle pyramid chests and 14.4% of shipwreck supply chests in stacks of 1–3.
Bamboo hanging signs can be found in 19.6% of Trial Chambers corridor chests in stacks of 1–4.
Bedrock Edition they can be found in 19.6% of Trial Chambers corridor chests in stacks of 1–4.
Bamboo planks can be found in 49.3% of trial chambers barrel intersection chests in stacks of 5–15, and in 19.6% of Trial Chambers corridor chests in stacks of 3–6.
Bedrock Edition they can be found in 49.3% of trial chambers barrel intersection chests in stacks of 5–15, and in 19.6% of Trial Chambers corridor chests in stacks of 3–6.
Bamboos can be found in 4.2% of lunar base chests in stacks of 2–4.
Barrels can be found in 24.2% of village fisherman chests in stacks of 1–3.
Beetroot seeds can be found in 2.2% of trail ruins chests in stacks of 1; in 13.5% of woodland mansion chests, 27.3% of chest minecarts in sulfur cave mineshaft, 27.3% of chest minecarts in mineshaft, and 18.5% of monster room chests, all in stacks of 2–4; in 66.3% of snowy village house chests in stacks of 1–5; and in 20.4% of end city chests in stacks of 1–10.
Bedrock Edition they can be found in 2.2% of trail ruins chests in stacks of 1; in 33.3% of bonus chest chests in stacks of 1–2; in 17.2% of woodland mansion chests, 27.3% of chest minecarts in sulfur cave mineshaft, 27.3% of chest minecarts in mineshaft, and 18.5% of monster room chests, all in stacks of 2–4; in 66.3% of snowy village house chests in stacks of 1–5; and in 20.4% of end city chests in stacks of 1–10.
Beetroot seeds can be found in 4.2% of lunar base chests and 6.2% of lunar base chests in stacks of 1.
Beetroot soup can be found in 9.9% of snowy village house chests in groups of 1.
Bedrock Edition they can be found in 9.9% of snowy village house chests in groups of 1.
Bells can be found in 1.5% of ruined portal chests in stacks of 1.
Bedrock Edition they can be found in 1.5% of ruined portal chests in stacks of 1.
Bells can be found in 2.0% of lunar base chests in stacks of 1.
Bfc9000s[W] can be found in 10.9% of bonus barrel chests in groups of 1.
Big dripleafs can be found in 0.9% of lunar base chests in stacks of 1.
Birch logs can be found in 26.2% of bonus chest chests in stacks of 1–3.
Bedrock Edition they can be found in 25.0% of bonus chest chests in stacks of 1–3.
Birch saplings can be found in 6.2% of lunar base chests in stacks of 1–4, and in 4.2% of lunar base chests in stacks of 1–2.
Black wool can be found in 33.0% of village shepherd chests in stacks of 1–3.
Bedrock Edition they can be found in 33.0% of village shepherd chests in stacks of 1–3.
Blade pottery sherds can be found in 6.7% of cold ocean ruins chests in stacks of 1.
Bedrock Edition they can be found in 6.7% of cold ocean ruins chests in stacks of 1.
Blocks of diamond can be found in 0.3% of trial chambers corridor pot chests, 2.3% of trial chambers intersection chests, and 2.8% of trial chambers ominous vault chests, all in stacks of 1.
Bedrock Edition they can be found in 0.3% of trial chambers corridor pot chests, 2.3% of trial chambers intersection chests, and 2.8% of trial chambers ominous vault chests, all in stacks of 1.
Blocks of emerald can be found in 1.4% of trial chambers corridor pot chests and 13.8% of trial chambers ominous vault chests in stacks of 1, and in 11.2% of trial chambers intersection chests in stacks of 1–3.
Bedrock Edition they can be found in 1.4% of trial chambers corridor pot chests and 13.8% of trial chambers ominous vault chests in stacks of 1, and in 11.2% of trial chambers intersection chests in stacks of 1–3.
Blocks of gold can be found in 11.2% of bastion remnant bridge chests and 19.0% of bastion remnant chests in stacks of 1, in 33.7% of bastion remnant treasure chests in stacks of 2–5, in 16.0% of bastion remnant hoglin stable chests in stacks of 2–4, and in 1.5% of ruined portal chests in stacks of 1–2.
Bedrock Edition they can be found in 11.2% of bastion remnant bridge chests and 19.0% of bastion remnant chests in stacks of 1, in 33.7% of bastion remnant treasure chests in stacks of 2–5, in 18.2% of bastion remnant hoglin stable chests in stacks of 2–4, and in 1.5% of ruined portal chests in stacks of 1–2.
Blocks of iron can be found in 11.0% of trial chambers ominous vault chests and 19.0% of bastion remnant chests in stacks of 1, in 33.7% of bastion remnant treasure chests in stacks of 2–5, and in 39.7% of trial chambers intersection chests in stacks of 1–2.
Bedrock Edition they can be found in 11.0% of trial chambers ominous vault chests and 19.0% of bastion remnant chests in stacks of 1, in 33.7% of bastion remnant treasure chests in stacks of 2–5, and in 39.7% of trial chambers intersection chests in stacks of 1–2.
Blue dye can be found in 4.4% of trail ruins chests in stacks of 1.
Bedrock Edition they can be found in 4.4% of trail ruins chests in stacks of 1.
Blue ice can be found in 9.9% of snowy village house chests in stacks of 1.
Bedrock Edition they can be found in 9.9% of snowy village house chests in stacks of 1.
Blue keys can be found in 4.2% of bonus barrel chests in stacks of 1.
Blue orchids can be found in 0.9% of lunar base chests in stacks of 1.
Blue stained glass panes can be found in 2.2% of trail ruins chests in stacks of 1.
Bedrock Edition they can be found in 2.2% of trail ruins chests in stacks of 1.
Bolt armor trim smithing templates can be found in 6.2% of trial chambers vault chests in stacks of 1.
Bedrock Edition they can be found in 6.2% of trial chambers vault chests in stacks of 1.
Bone blocks can be found in 13.3% of lunar base chests in stacks of 1–8.
Bone blocks can be found in 24.4% of bastion remnant chests in stacks of 3–6.
Bedrock Edition they can be found in 24.4% of bastion remnant chests in stacks of 3–6.
Bone meals can be found in 14.3% of lunar base chests in stacks of 1–8.
Bone meals can be found in 20.4% of trial chambers supply chests in stacks of 2–5.
Bedrock Edition they can be found in 20.4% of trial chambers supply chests in stacks of 2–5.
Bones can be found in 57.8% of woodland mansion chests, 59.0% of desert pyramid chests, and 57.8% of monster room chests, all in stacks of 1–8; in 61.5% of jungle pyramid chests and 27.1% of desert pyramid chests in stacks of 4–6; and in 36.5% of Ancient City chests in stacks of 1–15. Java Edition 26.3 they can be found in 27.5% of abandoned camp common chest chests and 33.6% of abandoned camp barrel chests in stacks of 2–4.
Bedrock Edition they can be found in 57.8% of woodland mansion chests, 59.0% of desert pyramid chests, and 57.8% of monster room chests, all in stacks of 1–8; in 61.4% of jungle pyramid chests and 27.1% of desert pyramid chests in stacks of 4–6; and in 36.5% of Ancient City chests in stacks of 1–15. Bedrock Edition 26.40 they can be found in 27.5% of abandoned camp common chest chests and 33.6% of abandoned camp barrel chests in stacks of 2–4.
Books can be found in 14.3% of desert village house chests and 12.1% of plains village house chests in stacks of 1, in 89.2% of stronghold library chests in stacks of 1–3, in 34.5% of shipwreck map chests in stacks of 1–5, and in 36.5% of Ancient City chests in stacks of 3–10.
Bedrock Edition they can be found in 14.3% of desert village house chests and 12.1% of plains village house chests in stacks of 1, in 88.3% of stronghold library chests in stacks of 1–3, in 34.5% of shipwreck map chests in stacks of 1–5, and in 36.5% of Ancient City chests in stacks of 3–10.
Bottles o' enchanting can be found in 14.1% of shipwreck treasure chests and 60.9% of pillager outpost chests in stacks of 1, and in 23.7% of Ancient City chests in stacks of 1–3.
Bedrock Edition they can be found in 14.1% of shipwreck treasure chests and 60.9% of pillager outpost chests in stacks of 1, and in 23.7% of Ancient City chests in stacks of 1–3.
Brain coral blocks can be found in 2.0% of lunar base chests in stacks of 1–4.
Bread can be found in 25.5% of woodland mansion chests and 34.1% of monster room chests in stacks of 1; in 32.9% of stronghold altar chests, 81.2% of village toolsmith chests, 47.5% of stronghold storeroom chests, 15.0% of trial chambers spawner chests, 38.7% of chest minecarts in sulfur cave mineshaft, 38.7% of chest minecarts in mineshaft, and 55.0% of village weaponsmith chests, all in stacks of 1–3; in 61.5% of bonus chest chests in stacks of 1–2; and in 89.3% of village temple chests, 80.6% of village armorer chests, 80.6% of desert village house chests, 61.2% of village cartographer chests, 62.2% of village mason chests, 65.6% of taiga village house chests, 74.2% of plains village house chests, 71.7% of savanna village house chests, 66.3% of snowy village house chests, and 62.8% of village tannery chests, all in stacks of 1–4. Java Edition 26.3 they can be found in 33.6% of abandoned camp barrel chests in stacks of 1–3.
Bedrock Edition they can be found in 31.9% of woodland mansion chests and 34.1% of monster room chests in stacks of 1; in 32.0% of stronghold altar chests, 81.2% of village toolsmith chests, 40.0% of stronghold storeroom chests, 15.0% of trial chambers spawner chests, 38.7% of chest minecarts in sulfur cave mineshaft, 38.7% of chest minecarts in mineshaft, and 55.0% of village weaponsmith chests, all in stacks of 1–3; in all bonus chest chests in stacks of 1–2; and in 89.3% of village temple chests, 80.6% of village armorer chests, 80.6% of desert village house chests, 61.2% of village cartographer chests, 62.2% of village mason chests, 69.3% of taiga village house chests, 74.2% of plains village house chests, 71.7% of savanna village house chests, 66.3% of snowy village house chests, and 62.8% of village tannery chests, all in stacks of 1–4. Bedrock Edition 26.40 they can be found in 33.6% of abandoned camp barrel chests in stacks of 1–3.
Brewer pottery sherds can be found in 25.0% of desert well chests in stacks of 1.
Bedrock Edition they can be found in 25.0% of desert well chests in stacks of 1.
Bricks can be found in 12.5% of desert well chests and 4.4% of trail ruins chests in stacks of 1.
Bedrock Edition they can be found in 12.5% of desert well chests and 4.4% of trail ruins chests in stacks of 1.
Brown candles can be found in 4.4% of trail ruins chests in stacks of 1.
Bedrock Edition they can be found in 4.4% of trail ruins chests in stacks of 1.
Brown mushrooms can be found in 4.2% of lunar base chests in stacks of 1.
Brown wool can be found in 23.3% of village shepherd chests in stacks of 1–3.
Bedrock Edition they can be found in 23.3% of village shepherd chests in stacks of 1–3.
Bubble coral blocks can be found in 2.0% of lunar base chests in stacks of 1–4.
Buckets can be found in 13.5% of woodland mansion chests, 11.3% of savanna village house chests, and 18.5% of monster room chests, all in stacks of 1; and in 5.9% of trial chambers barrel intersection chests in stacks of 1–2. Java Edition 26.3 they can be found in 19.0% of abandoned camp common chest chests in stacks of 1.
Bedrock Edition they can be found in 17.2% of woodland mansion chests, 11.3% of savanna village house chests, and 18.5% of monster room chests, all in stacks of 1; and in 5.9% of trial chambers barrel intersection chests in stacks of 1–2. Bedrock Edition 26.40 they can be found in 19.0% of abandoned camp common chest chests in stacks of 1.
Buckets can be found in 18.7% of lunar base chests and 10.3% of lunar base chests in stacks of 1.
Budding amethysts can be found in 18.7% of lunar base chests in stacks of 1.
Bundles can be found in 33.3% of desert village house chests, 33.3% of village cartographer chests, 33.3% of taiga village house chests, 33.3% of plains village house chests, 33.3% of savanna village house chests, 33.3% of snowy village house chests, 33.3% of village weaponsmith chests, and 33.3% of village tannery chests, all in stacks of 1. Java Edition 26.3 they can be found in 27.5% of abandoned camp common chest chests and 33.6% of abandoned camp barrel chests in stacks of 1.
Bedrock Edition they can be found in 33.3% of desert village house chests, 33.3% of village cartographer chests, 33.3% of taiga village house chests, 33.3% of plains village house chests, 33.3% of savanna village house chests, 33.3% of snowy village house chests, 33.3% of village weaponsmith chests, and 33.3% of village tannery chests, all in stacks of 1. Bedrock Edition 26.40 they can be found in 27.5% of abandoned camp common chest chests and 33.6% of abandoned camp barrel chests in stacks of 1.
Buried treasure maps can be found in 41.7% of small ocean ruins chests, all shipwreck map chests, and 43.5% of big ocean ruins chests, all in stacks of 1.
Bedrock Edition they can be found in 41.7% of small ocean ruins chests, all shipwreck map chests, and 43.5% of big ocean ruins chests, all in stacks of 1.
Burn pottery sherds can be found in 8.3% of Trail Ruins chests in stacks of 1.
Bedrock Edition they can be found in 8.3% of Trail Ruins chests in stacks of 1.
Cactus can be found in 80.6% of desert village house chests in stacks of 1–4.
Bedrock Edition they can be found in 80.6% of desert village house chests in stacks of 1–4, and in 60.0% of bonus chest chests in stacks of 1–2.
Cactuses can be found in 4.2% of lunar base chests in stacks of 1–4.
Cake can be found in 39.7% of trial chambers intersection chests in stacks of 1–4.
Bedrock Edition they can be found in 39.7% of trial chambers intersection chests in stacks of 1–4.
Candles can be found in 23.7% of Ancient City chests in stacks of 1–4.
Bedrock Edition they can be found in 23.7% of Ancient City chests in stacks of 1–4.
Carrots can be found in 4.2% of lunar base chests and 6.2% of lunar base chests in stacks of 1–4.
Carrots can be found in 42.1% of shipwreck supply chests in stacks of 4–8, and in 57.5% of pillager outpost chests in stacks of 3–5.
Bedrock Edition they can be found in 50.0% of bonus chest chests in stacks of 1–2, in 42.1% of shipwreck supply chests in stacks of 4–8, and in 57.5% of pillager outpost chests in stacks of 3–5.
Chainmail chestplates can be found in 17.6% of woodland mansion chests in groups of 1.
Bedrock Edition they can be found in 17.3% of woodland mansion chests in groups of 1.
Cherry saplings can be found in 4.2% of lunar base chests in stacks of 1–2.
Chorus flowers can be found in 4.2% of lunar base chests in stacks of 1.
Clay ball can be found in 14.3% of desert village house chests in stacks of 1, and in 20.8% of village mason chests in stacks of 1–3.
Bedrock Edition they can be found in 14.3% of desert village house chests in stacks of 1, and in 20.8% of village mason chests in stacks of 1–3.
Clay can be found in 4.4% of trail ruins chests in stacks of 1.
Bedrock Edition they can be found in 4.4% of trail ruins chests in stacks of 1.
Clocks can be found in 7.7% of shipwreck map chests and 7.3% of ruined portal chests in stacks of 1.
Bedrock Edition they can be found in 7.7% of shipwreck map chests and 7.3% of ruined portal chests in stacks of 1.
Coal can be found in 2.2% of trail ruins chests, 13.3% of warm ocean Ruins chests, and 13.3% of cold ocean ruins chests, all in stacks of 1; in 37.3% of shipwreck supply chests in stacks of 2–8; in 47.4% of Ancient City chests in stacks of 6–15; in 34.3% of stronghold storeroom chests, 27.3% of chest minecarts in sulfur cave mineshaft, and 27.3% of chest minecarts in mineshaft, all in stacks of 3–8; in 27.9% of village butcher chests, 43.0% of village fisherman chests, and 9.9% of village toolsmith chests, all in stacks of 1–3; and in 82.1% of small ocean ruins chests, 70.4% of igloo chests, 19.7% of woodland mansion chests, 78.9% of big ocean ruins chests, 41.2% of snowy village house chests, and 26.6% of monster room chests, all in stacks of 1–4. Java Edition 26.3 they can be found in 33.6% of abandoned camp barrel chests in stacks of 2–4.
Bedrock Edition they can be found in 2.2% of trail ruins chests, 13.3% of warm ocean Ruins chests, and 13.3% of cold ocean ruins chests, all in stacks of 1; in 37.3% of shipwreck supply chests in stacks of 2–8; in 47.4% of Ancient City chests in stacks of 6–15; in 28.5% of stronghold storeroom chests, 27.3% of chest minecarts in sulfur cave mineshaft, and 27.3% of chest minecarts in mineshaft, all in stacks of 3–8; in 27.9% of village butcher chests and 9.9% of village toolsmith chests in stacks of 1–3; and in 82.1% of small ocean ruins chests, 70.4% of igloo chests, 24.9% of woodland mansion chests, 78.9% of big ocean ruins chests, 41.2% of snowy village house chests, and 26.6% of monster room chests, all in stacks of 1–4. Bedrock Edition 26.40 they can be found in 33.6% of abandoned camp barrel chests in stacks of 2–4.
Coast armor trim smithing templates can be found in 16.7% of shipwreck treasure chests, 16.7% of shipwreck map chests, and 16.7% of shipwreck supply chests, all in stacks of 2.
Bedrock Edition they can be found in 16.7% of shipwreck treasure chests, 16.7% of shipwreck map chests, and 16.7% of shipwreck supply chests, all in stacks of 2.
Cobwebs can be found in 3.9% of lunar base chests in stacks of 1–4.
Cocoa beans can be found in 4.2% of lunar base chests in stacks of 2–4.
Compasses can be found in 7.7% of shipwreck map chests, 26.3% of village cartographer chests, 5.9% of trial chambers barrel intersection chests, 16.5% of Ancient City chests, and 10.9% of stronghold library chests, all in stacks of 1. Java Edition 26.3 they can be found in 27.5% of abandoned camp common chest chests in stacks of 1.
Bedrock Edition they can be found in 7.7% of shipwreck map chests, 26.3% of village cartographer chests, 5.9% of trial chambers barrel intersection chests, 16.5% of Ancient City chests, and 10.5% of stronghold library chests, all in stacks of 1. Bedrock Edition 26.40 they can be found in 27.5% of abandoned camp common chest chests in stacks of 1.
Cooked chicken can be found in 15.0% of trial chambers spawner chests in stacks of 1.
Bedrock Edition they can be found in 15.0% of trial chambers spawner chests in stacks of 1.
Cooked cod can be found in 75.0% of buried treasure chests in stacks of 2–4.
Bedrock Edition they can be found in 75.0% of buried treasure chests in stacks of 2–4.
Cooked porkchops can be found in 24.4% of bastion remnant chests in stacks of 1, and in 22.8% of bastion remnant hoglin stable chests in stacks of 2–5.
Bedrock Edition they can be found in 24.4% of bastion remnant chests in stacks of 1, and in 22.8% of bastion remnant hoglin stable chests in stacks of 2–5.
Cooked salmon can be found in 75.0% of buried treasure chests in stacks of 2–4.
Bedrock Edition they can be found in 75.0% of buried treasure chests in stacks of 2–4.
Copper horse armor can be found in 2.5% of stronghold altar chests, 4.4% of jungle pyramid chests, 4.4% of end city chests, 17.9% of nether fortress chests, 17.0% of desert pyramid chests, 19.4% of monster room chests, and 5.0% of village weaponsmith chests, all in groups of 1.
Bedrock Edition they can be found in 2.4% of stronghold altar chests, 4.4% of jungle pyramid chests, 4.4% of end city chests, 17.9% of nether fortress chests, 17.0% of desert pyramid chests, 19.4% of monster room chests, and 5.0% of village weaponsmith chests, all in groups of 1.
Copper nautilus armor can be found in 10.8% of shipwreck treasure chests, 10.8% of small ocean ruins chests, 10.8% of shipwreck map chests, 10.8% of shipwreck supply chests, 10.8% of buried treasure chests, and 10.8% of big ocean ruins chests, all in groups of 1.
Bedrock Edition they can be found in 9.0% of small ocean ruins chests, 10.8% of shipwreck supply chests, 10.8% of buried treasure chests, and 9.0% of big ocean ruins chests, all in groups of 1.
Copper spears can be found in 30.6% of village weaponsmith chests in groups of 1. Java Edition 26.3 they can be found in 19.0% of abandoned camp common chest chests in groups of 1.
Bedrock Edition they can be found in 30.6% of village weaponsmith chests in groups of 1. Bedrock Edition 26.40 they can be found in 19.0% of abandoned camp common chest chests in groups of 1.
Cornflowers can be found in 0.9% of lunar base chests in stacks of 1.
Cow spawn eggs can be found in 9.7% of lunar base chests in stacks of 1.
Crimson fungi can be found in 22.8% of bastion remnant hoglin stable chests in stacks of 2–7.
Bedrock Edition they can be found in 22.8% of bastion remnant hoglin stable chests in stacks of 2–7.
Crimson nylium can be found in 22.8% of bastion remnant hoglin stable chests in stacks of 2–7.
Bedrock Edition they can be found in 22.8% of bastion remnant hoglin stable chests in stacks of 2–7.
Crimson nyliums can be found in 0.9% of lunar base chests in stacks of 1.
Crimson roots can be found in 22.8% of bastion remnant hoglin stable chests in stacks of 2–7.
Bedrock Edition they can be found in 22.8% of bastion remnant hoglin stable chests in stacks of 2–7.
Crossbows can be found in 50.0% of pillager outpost chests and 9.8% of bastion remnant chests in groups of 1.
Bedrock Edition they can be found in 50.0% of pillager outpost chests and 9.8% of bastion remnant chests in groups of 1.
Crying obsidians can be found in 22.8% of bastion remnant hoglin stable chests and 19.0% of bastion remnant chests in stacks of 1–5, in 33.7% of bastion remnant treasure chests in stacks of 3–5, and in 11.2% of bastion remnant bridge chests in stacks of 3–8.
Bedrock Edition they can be found in 22.8% of bastion remnant hoglin stable chests and 19.0% of bastion remnant chests in stacks of 1–5, in 33.7% of bastion remnant treasure chests in stacks of 3–5, and in 11.2% of bastion remnant bridge chests in stacks of 3–8.
Damaged diamond axes[K] can be found in 11.2% of trial chambers intersection chests in groups of 1.
Bedrock Edition they can be found in 11.2% of trial chambers intersection chests in groups of 1.
Damaged diamond pickaxes[K] can be found in 11.2% of trial chambers intersection chests in groups of 1.
Bedrock Edition they can be found in 5.9% of trial chambers barrel intersection chests and 11.2% of trial chambers intersection chests in groups of 1.
Damaged diamond pickaxes[T] can be found in 5.9% of trial chambers barrel intersection chests in groups of 1.
Damaged enchanted crossbows[C][AF] can be found in 6.7% of bastion remnant chests in groups of 1.
Bedrock Edition they can be found in 6.7% of bastion remnant chests in groups of 1.
Damaged enchanted crossbows[C][K] can be found in 11.2% of bastion remnant bridge chests in groups of 1.
Bedrock Edition they can be found in 11.2% of bastion remnant bridge chests in groups of 1.
Damaged enchanted diamond boots[C][H] can be found in 15.2% of bastion remnant treasure chests in groups of 1.
Bedrock Edition they can be found in 16.6% of bastion remnant treasure chests in groups of 1.
Damaged enchanted diamond chestplates[C][H] can be found in 15.2% of bastion remnant treasure chests in groups of 1.
Bedrock Edition they can be found in 16.6% of bastion remnant treasure chests in groups of 1.
Damaged enchanted diamond helmets[C][H] can be found in 15.2% of bastion remnant treasure chests in groups of 1.
Bedrock Edition they can be found in 16.6% of bastion remnant treasure chests in groups of 1.
Damaged enchanted diamond hoes[AE][H] can be found in 16.5% of Ancient City chests in groups of 1.
Bedrock Edition they can be found in 16.5% of Ancient City chests in groups of 1.
Damaged enchanted diamond leggings[C][H] can be found in 15.2% of bastion remnant treasure chests in groups of 1.
Bedrock Edition they can be found in 16.6% of bastion remnant treasure chests in groups of 1.
Damaged enchanted diamond shovels[C][T] can be found in 15.0% of bastion remnant hoglin stable chests in groups of 1.
Bedrock Edition they can be found in 17.0% of bastion remnant hoglin stable chests in groups of 1.
Damaged enchanted diamond spears[C][H] can be found in 15.2% of bastion remnant treasure chests in groups of 1.
Bedrock Edition they can be found in 16.6% of bastion remnant treasure chests in groups of 1.
Damaged enchanted diamond swords[C][H] can be found in 15.2% of bastion remnant treasure chests in groups of 1.
Bedrock Edition they can be found in 16.6% of bastion remnant treasure chests in groups of 1.
Damaged enchanted iron swords[C][AF] can be found in 19.0% of bastion remnant chests in groups of 1.
Bedrock Edition they can be found in 19.0% of bastion remnant chests in groups of 1.
Damaged golden axes[T] can be found in 22.3% of trial chambers barrel intersection chests in groups of 1.
Bedrock Edition they can be found in 22.3% of trial chambers barrel intersection chests in groups of 1.
Damaged golden pickaxes[T] can be found in 22.3% of trial chambers barrel intersection chests in groups of 1.
Bedrock Edition they can be found in 22.3% of trial chambers barrel intersection chests in groups of 1.
Damaged shields[P] can be found in 10.4% of trial chambers vault chests in groups of 1.
Bedrock Edition they can be found in 2.6% of trial chambers vault chests in groups of 1.
Damaged stone axes[T] can be found in 19.6% of Trial Chambers corridor chests in groups of 1.
Bedrock Edition they can be found in 19.6% of Trial Chambers corridor chests in groups of 1.
Damaged stone pickaxes[T] can be found in 19.6% of Trial Chambers corridor chests and 37.3% of trial chambers supply chests in groups of 1.
Bedrock Edition they can be found in 19.6% of Trial Chambers corridor chests and 37.3% of trial chambers supply chests in groups of 1.
Dandelions can be found in 0.9% of lunar base chests in stacks of 1.
Dandelions can be found in 22.8% of plains village house chests in stacks of 1.
Bedrock Edition they can be found in 22.8% of plains village house chests in stacks of 1.
Danger pottery sherds can be found in 8.3% of Trail Ruins chests in stacks of 1.
Bedrock Edition they can be found in 8.3% of Trail Ruins chests in stacks of 1.
Dark oak logs can be found in 26.2% of bonus chest chests in stacks of 1–3, and in all pillager outpost chests in stacks of 2–3.
Bedrock Edition they can be found in 33.3% of bonus chest chests in stacks of 1–3, and in all pillager outpost chests in stacks of 2–3.
Dark oak saplings can be found in 4.2% of lunar base chests in stacks of 1–4.
Dead bushes can be found in 2.2% of trail ruins chests in stacks of 1, and in 26.6% of desert village house chests in stacks of 1–3.
Bedrock Edition they can be found in 2.2% of trail ruins chests in stacks of 1, and in 26.6% of desert village house chests in stacks of 1–3.
Detector rails can be found in 23.0% of chest minecarts in sulfur cave mineshaft and 27.1% of chest minecarts in mineshaft in stacks of 1–4.
Bedrock Edition they can be found in 23.0% of chest minecarts in sulfur cave mineshaft and 27.1% of chest minecarts in mineshaft in stacks of 1–4.
Diamond boots can be found in 12.8% of bastion remnant treasure chests in groups of 1.
Bedrock Edition they can be found in 14.0% of bastion remnant treasure chests in groups of 1.
Diamond chestplates can be found in 9.1% of woodland mansion chests and 12.8% of bastion remnant treasure chests in groups of 1.
Bedrock Edition they can be found in 8.9% of woodland mansion chests and 14.0% of bastion remnant treasure chests in groups of 1.
Diamond helmets can be found in 12.8% of bastion remnant treasure chests in groups of 1.
Bedrock Edition they can be found in 14.0% of bastion remnant treasure chests in groups of 1.
Diamond hoes can be found in 25.5% of woodland mansion chests in groups of 1.
Bedrock Edition they can be found in 25.1% of woodland mansion chests in groups of 1.
Diamond horse armor can be found in 2.5% of stronghold altar chests, 4.4% of jungle pyramid chests, 4.4% of end city chests, 16.5% of Ancient City chests, 11.1% of nether fortress chests, 5.9% of desert pyramid chests, 6.8% of monster room chests, and 5.0% of village weaponsmith chests, all in groups of 1.
Bedrock Edition they can be found in 2.4% of stronghold altar chests, 4.4% of jungle pyramid chests, 4.4% of end city chests, 16.5% of Ancient City chests, 11.1% of nether fortress chests, 5.9% of desert pyramid chests, 6.8% of monster room chests, and 5.0% of village weaponsmith chests, all in groups of 1.
Diamond leggings can be found in 12.8% of bastion remnant treasure chests in groups of 1.
Bedrock Edition they can be found in 14.0% of bastion remnant treasure chests in groups of 1.
Diamond nautilus armor can be found in 1.1% of shipwreck treasure chests, 1.1% of small ocean ruins chests, 1.1% of shipwreck map chests, 1.1% of shipwreck supply chests, 1.1% of buried treasure chests, and 1.1% of big ocean ruins chests, all in groups of 1.
Bedrock Edition they can be found in 0.9% of small ocean ruins chests, 1.1% of shipwreck supply chests, 1.1% of buried treasure chests, and 0.9% of big ocean ruins chests, all in groups of 1.
Diamond pickaxes[C] can be found in 3.9% of lunar base chests in groups of 1.
Diamond shovels can be found in 6.7% of bastion remnant chests in groups of 1.
Bedrock Edition they can be found in 6.7% of bastion remnant chests in groups of 1.
Diamond spears can be found in 15.2% of bastion remnant treasure chests in groups of 1.
Bedrock Edition they can be found in 16.6% of bastion remnant treasure chests in groups of 1.
Diamond swords can be found in 15.2% of bastion remnant treasure chests in groups of 1.
Bedrock Edition they can be found in 16.6% of bastion remnant treasure chests in groups of 1.
Diamonds can be found in 14.1% of shipwreck treasure chests and 12.5% of desert pyramid chests in stacks of 1; in 26.4% of trial chambers ominous vault chests in stacks of 2–3; in 12.8% of bastion remnant treasure chests in stacks of 2–6; in 59.9% of buried treasure chests, 1.4% of trial chambers corridor pot chests, 21.5% of trial chambers intersection chests, 8.5% of trial chambers vault chests, 8.9% of chest minecarts in sulfur cave mineshaft, and 8.9% of chest minecarts in mineshaft, all in stacks of 1–2; in 20.4% of end city chests in stacks of 2–7; and in 7.3% of stronghold altar chests, 12.7% of jungle pyramid chests, 9.9% of village toolsmith chests, 5.9% of trial chambers barrel intersection chests, 17.9% of nether fortress chests, 5.9% of desert pyramid chests, and 14.4% of village weaponsmith chests, all in stacks of 1–3. Java Edition 26.3 they can be found in 36.0% of abandoned camp secret chest chests in stacks of 1.
Bedrock Edition they can be found in 14.1% of shipwreck treasure chests and 12.5% of desert pyramid chests in stacks of 1; in 26.4% of trial chambers ominous vault chests in stacks of 2–3; in 14.0% of bastion remnant treasure chests in stacks of 2–6; in 53.1% of buried treasure chests, 1.4% of trial chambers corridor pot chests, 21.5% of trial chambers intersection chests, 10.7% of trial chambers vault chests, 8.9% of chest minecarts in sulfur cave mineshaft, and 8.9% of chest minecarts in mineshaft, all in stacks of 1–2; in 20.4% of end city chests in stacks of 2–7; and in 7.0% of stronghold altar chests, 12.7% of jungle pyramid chests, 9.9% of village toolsmith chests, 5.9% of trial chambers barrel intersection chests, 17.9% of nether fortress chests, 5.9% of desert pyramid chests, and 14.4% of village weaponsmith chests, all in stacks of 1–3. Bedrock Edition 26.40 they can be found in 36.0% of abandoned camp secret chest chests in stacks of 1.
Diamonds can be found in 6.8% of lunar base chests in stacks of 1.
Dirt can be found in 36.8% of lunar base chests in stacks of 5–10.
Disc fragment (5)s can be found in 30.4% of Ancient City chests in stacks of 1–3.
Bedrock Edition they can be found in 30.4% of Ancient City chests in stacks of 1–3.
Dune armor trim smithing templates can be found in 14.3% of desert pyramid chests in stacks of 2.
Bedrock Edition they can be found in 14.3% of desert pyramid chests in stacks of 2.
Echo shards can be found in 3.9% of lunar base chests in stacks of 1–4.
Echo shards can be found in 30.4% of Ancient City chests in stacks of 1–3.
Bedrock Edition they can be found in 30.4% of Ancient City chests in stacks of 1–3.
Eggs can be found in 23.3% of village fletcher chests in stacks of 1–3, and in 6.9% of dispensers in trial chambers chamber dispenser in stacks of 4–8.
Bedrock Edition they can be found in 23.3% of village fletcher chests in stacks of 1–3, and in 6.9% of dispensers in trial chambers chamber dispenser in stacks of 4–8.
Elytras can be found in 3.9% of lunar base chests in groups of 1.
Emeralds can be found in 31.8% of village armorer chests, 10.2% of village butcher chests, 15.4% of small ocean ruins chests, 12.5% of desert well chests, 12.3% of village fletcher chests, 7.6% of igloo chests, 4.4% of trail ruins chests, 20.8% of village mason chests, 13.3% of warm ocean Ruins chests, 13.3% of cold ocean ruins chests, 14.1% of big ocean ruins chests, 24.2% of village fisherman chests, 12.3% of village shepherd chests, and 12.5% of desert pyramid chests, all in stacks of 1; in 25.4% of village temple chests, 18.6% of taiga village house chests, 22.8% of plains village house chests, 21.5% of savanna village house chests, 9.9% of snowy village house chests, and 17.3% of village tannery chests, all in stacks of 1–4; in 73.7% of shipwreck treasure chests in stacks of 1–5; in 59.9% of buried treasure chests in stacks of 4–8; in 14.3% of desert village house chests, 8.6% of jungle pyramid chests, 35.6% of trial chambers corridor pot chests, and 17.0% of desert pyramid chests, all in stacks of 1–3; in 38.4% of trial chambers vault chests in stacks of 2–4; in 56.2% of trial chambers ominous vault chests in stacks of 4–10; and in 8.6% of end city chests in stacks of 2–6.
Bedrock Edition they can be found in 31.8% of village armorer chests, 10.2% of village butcher chests, 15.4% of small ocean ruins chests, 12.5% of desert well chests, 12.3% of village fletcher chests, 7.6% of igloo chests, 4.4% of trail ruins chests, 20.8% of village mason chests, 13.3% of warm ocean Ruins chests, 13.3% of cold ocean ruins chests, 14.1% of big ocean ruins chests, 12.3% of village shepherd chests, and 12.5% of desert pyramid chests, all in stacks of 1; in 25.4% of village temple chests, 20.3% of taiga village house chests, 22.8% of plains village house chests, 21.5% of savanna village house chests, 9.9% of snowy village house chests, and 17.3% of village tannery chests, all in stacks of 1–4; in 73.7% of shipwreck treasure chests in stacks of 1–5; in 53.1% of buried treasure chests in stacks of 4–8; in 7.0% of stronghold altar chests, 14.3% of desert village house chests, 8.6% of jungle pyramid chests, 35.6% of trial chambers corridor pot chests, and 17.0% of desert pyramid chests, all in stacks of 1–3; in 39.7% of trial chambers vault chests in stacks of 2–4; in 56.2% of trial chambers ominous vault chests in stacks of 4–10; and in 8.6% of end city chests in stacks of 2–6.
Empty maps can be found in 7.7% of shipwreck map chests and 10.9% of stronghold library chests in stacks of 1, and in 46.2% of village cartographer chests in stacks of 1–3. Java Edition 26.3 they can be found in 27.5% of abandoned camp common chest chests and 75.6% of abandoned camp secret chest chests in stacks of 1.
Bedrock Edition 26.40 they can be found in 27.5% of abandoned camp common chest chests and 75.6% of abandoned camp secret chest chests in stacks of 1.
Enchanted books[M] can be found in 11.2% of bastion remnant chests in groups of 1.
Bedrock Edition they can be found in 11.2% of bastion remnant chests in groups of 1.
Enchanted books[O] can be found in 23.7% of Ancient City chests in groups of 1.
Bedrock Edition they can be found in 23.7% of Ancient City chests in groups of 1.
Enchanted books[S] can be found in 7.0% of trial chambers vault chests in groups of 1.
Bedrock Edition they can be found in 1.7% of trial chambers vault chests in groups of 1.
Enchanted books[X] can be found in 2.5% of stronghold altar chests, 4.4% of jungle pyramid chests, 4.0% of stronghold storeroom chests, and 67.8% of stronghold library chests, all in groups of 1.
Bedrock Edition they can be found in 2.9% of stronghold altar chests, 5.3% of jungle pyramid chests, 3.8% of stronghold storeroom chests, and 72.9% of stronghold library chests, all in groups of 1.
Enchanted books[AA] can be found in 5.5% of trial chambers ominous vault chests in groups of 1.
Bedrock Edition they can be found in 5.5% of trial chambers ominous vault chests in groups of 1.
Enchanted books[AB] can be found in 7.0% of trial chambers vault chests in groups of 1.
Bedrock Edition they can be found in 1.7% of trial chambers vault chests in groups of 1.
Enchanted books[C] can be found in 17.6% of woodland mansion chests, 21.7% of big ocean ruins chests, 36.5% of Ancient City chests, 22.2% of desert pyramid chests, 14.1% of chest minecarts in sulfur cave mineshaft, 11.0% of pillager outpost chests, 14.1% of chest minecarts in mineshaft, and 13.3% of monster room chests, all in groups of 1.
Bedrock Edition they can be found in 20.4% of woodland mansion chests, 21.7% of big ocean ruins chests, 36.5% of Ancient City chests, 22.2% of desert pyramid chests, 14.1% of chest minecarts in sulfur cave mineshaft, 11.0% of pillager outpost chests, 14.1% of chest minecarts in mineshaft, and 13.3% of monster room chests, all in groups of 1.
Enchanted books[AG] can be found in 5.5% of trial chambers ominous vault chests in groups of 1.
Bedrock Edition they can be found in 5.5% of trial chambers ominous vault chests in groups of 1.
Enchanted books[AH] can be found in 5.5% of trial chambers ominous vault chests in groups of 1.
Bedrock Edition they can be found in 5.5% of trial chambers ominous vault chests in groups of 1.
Enchanted bows[I] can be found in 10.4% of trial chambers vault chests in groups of 1.
Bedrock Edition they can be found in 2.6% of trial chambers vault chests in groups of 1.
Enchanted bows[Z] can be found in 10.9% of bonus barrel chests in groups of 1.
Enchanted crossbows[AD] can be found in 7.0% of trial chambers vault chests and 11.0% of trial chambers ominous vault chests in groups of 1.
Bedrock Edition they can be found in 1.7% of trial chambers vault chests and 11.0% of trial chambers ominous vault chests in groups of 1.
Enchanted diamond axes[C][D] can be found in 5.9% of trial chambers barrel intersection chests in groups of 1.
Bedrock Edition they can be found in 5.9% of trial chambers barrel intersection chests in groups of 1.
Enchanted diamond axes[E] can be found in 8.3% of trial chambers ominous vault chests in groups of 1.
Bedrock Edition they can be found in 8.3% of trial chambers ominous vault chests in groups of 1.
Enchanted diamond axes[I] can be found in 3.5% of trial chambers vault chests in groups of 1.
Bedrock Edition they can be found in 0.9% of trial chambers vault chests in groups of 1.
Enchanted diamond bootses[B] can be found in 10.9% of bonus barrel chests in groups of 1.
Enchanted diamond boots[A] can be found in 12.7% of end city chests in groups of 1.
Bedrock Edition they can be found in 12.7% of end city chests in groups of 1.
Enchanted diamond chestplates[E] can be found in 8.3% of trial chambers ominous vault chests in groups of 1.
Bedrock Edition they can be found in 8.3% of trial chambers ominous vault chests in groups of 1.
Enchanted diamond chestplates[B] can be found in 10.9% of bonus barrel chests in groups of 1.
Enchanted diamond chestplates[A] can be found in 12.7% of end city chests in groups of 1.
Bedrock Edition they can be found in 12.7% of end city chests in groups of 1.
Enchanted diamond chestplates[I] can be found in 3.5% of trial chambers vault chests in groups of 1.
Bedrock Edition they can be found in 0.9% of trial chambers vault chests in groups of 1.
Enchanted diamond helmets[B] can be found in 10.9% of bonus barrel chests in groups of 1.
Enchanted diamond helmets[A] can be found in 12.7% of end city chests in groups of 1.
Bedrock Edition they can be found in 12.7% of end city chests in groups of 1.
Enchanted diamond leggingses[B] can be found in 10.9% of bonus barrel chests in groups of 1.
Enchanted diamond leggings[AE] can be found in 16.5% of Ancient City chests in groups of 1.
Bedrock Edition they can be found in 16.5% of Ancient City chests in groups of 1.
Enchanted diamond leggings[A] can be found in 12.7% of end city chests in groups of 1.
Bedrock Edition they can be found in 12.7% of end city chests in groups of 1.
Enchanted diamond pickaxes[A] can be found in 12.7% of end city chests in groups of 1.
Bedrock Edition they can be found in 12.7% of end city chests in groups of 1.
Enchanted diamond pickaxes[C][R] can be found in 12.0% of bastion remnant hoglin stable chests in groups of 1.
Bedrock Edition they can be found in 13.6% of bastion remnant hoglin stable chests in groups of 1.
Enchanted diamond pickaxes[C] can be found in 6.7% of bastion remnant chests in groups of 1.
Bedrock Edition they can be found in 6.7% of bastion remnant chests in groups of 1.
Enchanted diamond shovels[A] can be found in 12.7% of end city chests in groups of 1.
Bedrock Edition they can be found in 12.7% of end city chests in groups of 1.
Enchanted diamond spears[A] can be found in 12.7% of end city chests in groups of 1.
Bedrock Edition they can be found in 12.7% of end city chests in groups of 1.
Enchanted diamond swords[B] can be found in 10.9% of bonus barrel chests in groups of 1.
Enchanted diamond swords[A] can be found in 12.7% of end city chests in groups of 1.
Bedrock Edition they can be found in 12.7% of end city chests in groups of 1.
Enchanted fishing rods[C] can be found in 41.7% of small ocean ruins chests and 21.7% of big ocean ruins chests in groups of 1.
Bedrock Edition they can be found in 41.7% of small ocean ruins chests and 21.7% of big ocean ruins chests in groups of 1.
Enchanted golden apples can be found in 3.7% of woodland mansion chests, 2.4% of desert pyramid chests, 1.5% of ruined portal chests, 5.3% of bastion remnant treasure chests, 22.5% of trial chambers ominous vault chests, 1.4% of chest minecarts in sulfur cave mineshaft, 1.4% of chest minecarts in mineshaft, and 2.8% of monster room chests, all in stacks of 1; and in 8.6% of Ancient City chests in stacks of 1–2.
Bedrock Edition they can be found in 3.6% of woodland mansion chests, 2.4% of desert pyramid chests, 1.5% of ruined portal chests, 5.8% of bastion remnant treasure chests, 22.5% of trial chambers ominous vault chests, 1.4% of chest minecarts in sulfur cave mineshaft, 1.4% of chest minecarts in mineshaft, and 2.8% of monster room chests, all in stacks of 1; and in 8.6% of Ancient City chests in stacks of 1–2.
Enchanted golden axes[C] can be found in 11.2% of bastion remnant bridge chests, 22.8% of bastion remnant hoglin stable chests, 20.5% of ruined portal chests, and 9.8% of bastion remnant chests, all in groups of 1.
Bedrock Edition they can be found in 11.2% of bastion remnant bridge chests, 22.8% of bastion remnant hoglin stable chests, 20.5% of ruined portal chests, and 9.8% of bastion remnant chests, all in groups of 1.
Enchanted golden boots with soul speed[M] can be found in 9.8% of bastion remnant chests in groups of 1.
Bedrock Edition they can be found in 9.8% of bastion remnant chests in groups of 1.
Enchanted golden boots[C] can be found in 11.2% of bastion remnant bridge chests and 20.5% of ruined portal chests in groups of 1.
Bedrock Edition they can be found in 11.2% of bastion remnant bridge chests and 20.5% of ruined portal chests in groups of 1.
Enchanted golden chestplates[C] can be found in 11.2% of bastion remnant bridge chests and 20.5% of ruined portal chests in groups of 1.
Bedrock Edition they can be found in 11.2% of bastion remnant bridge chests and 20.5% of ruined portal chests in groups of 1.
Enchanted golden helmets[C] can be found in 11.2% of bastion remnant bridge chests and 20.5% of ruined portal chests in groups of 1.
Bedrock Edition they can be found in 11.2% of bastion remnant bridge chests and 20.5% of ruined portal chests in groups of 1.
Enchanted golden hoes[C] can be found in 20.5% of ruined portal chests in groups of 1.
Bedrock Edition they can be found in 20.5% of ruined portal chests in groups of 1.
Enchanted golden leggings[C] can be found in 11.2% of bastion remnant bridge chests and 20.5% of ruined portal chests in groups of 1.
Bedrock Edition they can be found in 11.2% of bastion remnant bridge chests and 20.5% of ruined portal chests in groups of 1.
Enchanted golden pickaxes[C] can be found in 20.5% of ruined portal chests in groups of 1.
Bedrock Edition they can be found in 20.5% of ruined portal chests in groups of 1.
Enchanted golden shovels[C] can be found in 20.5% of ruined portal chests in groups of 1.
Bedrock Edition they can be found in 20.5% of ruined portal chests in groups of 1.
Enchanted golden swords[C] can be found in 20.5% of ruined portal chests in groups of 1.
Bedrock Edition they can be found in 20.5% of ruined portal chests in groups of 1.
Enchanted iron axes[C][D] can be found in 10.2% of Trial Chambers corridor chests in groups of 1.
Bedrock Edition they can be found in 10.2% of Trial Chambers corridor chests in groups of 1.
Enchanted iron axes[I] can be found in 7.0% of trial chambers vault chests in groups of 1.
Bedrock Edition they can be found in 1.7% of trial chambers vault chests in groups of 1.
Enchanted iron bootses[B] can be found in 10.9% of bonus barrel chests in groups of 1.
Enchanted iron boots[A] can be found in 12.7% of end city chests in groups of 1.
Bedrock Edition they can be found in 12.7% of end city chests in groups of 1.
Enchanted iron chestplates[A] can be found in 12.7% of end city chests in groups of 1.
Bedrock Edition they can be found in 12.7% of end city chests in groups of 1.
Enchanted iron chestplates[F] can be found in 7.0% of trial chambers vault chests in groups of 1.
Bedrock Edition they can be found in 1.7% of trial chambers vault chests in groups of 1.
Enchanted iron chestplates[B] can be found in 10.9% of bonus barrel chests in groups of 1.
Enchanted iron helmets[B] can be found in 10.9% of bonus barrel chests in groups of 1.
Enchanted iron helmets[A] can be found in 12.7% of end city chests in groups of 1.
Bedrock Edition they can be found in 12.7% of end city chests in groups of 1.
Enchanted iron leggingses[B] can be found in 10.9% of bonus barrel chests in groups of 1.
Enchanted iron leggings[A] can be found in 12.7% of end city chests and 23.7% of Ancient City chests in groups of 1.
Bedrock Edition they can be found in 12.7% of end city chests and 23.7% of Ancient City chests in groups of 1.
Enchanted iron pickaxes[A] can be found in 12.7% of end city chests in groups of 1.
Bedrock Edition they can be found in 12.7% of end city chests in groups of 1.
Enchanted iron shovels[A] can be found in 12.7% of end city chests in groups of 1.
Bedrock Edition they can be found in 12.7% of end city chests in groups of 1.
Enchanted iron swords[A] can be found in 12.7% of end city chests in groups of 1.
Bedrock Edition they can be found in 12.7% of end city chests in groups of 1.
Enchanted iron swords[B] can be found in 10.9% of bonus barrel chests in groups of 1.
Enchanted leather bootses[B] can be found in 10.9% of bonus barrel chests in groups of 1.
Enchanted leather boots[C] can be found in 20.8% of shipwreck supply chests in groups of 1.
Bedrock Edition they can be found in 20.8% of shipwreck supply chests in groups of 1.
Enchanted leather caps[C] can be found in 20.8% of shipwreck supply chests in groups of 1.
Bedrock Edition they can be found in 20.8% of shipwreck supply chests in groups of 1.
Enchanted leather caps[B] can be found in 10.9% of bonus barrel chests in groups of 1.
Enchanted leather pantses[B] can be found in 10.9% of bonus barrel chests in groups of 1.
Enchanted leather pants[C] can be found in 20.8% of shipwreck supply chests in groups of 1.
Bedrock Edition they can be found in 20.8% of shipwreck supply chests in groups of 1.
Enchanted leather tunics[B] can be found in 10.9% of bonus barrel chests in groups of 1.
Enchanted leather tunics[C] can be found in 20.8% of shipwreck supply chests in groups of 1.
Bedrock Edition they can be found in 20.8% of shipwreck supply chests in groups of 1.
Enchanted stone swords[B] can be found in 10.9% of bonus barrel chests in groups of 1.
End stones can be found in 18.7% of lunar base chests in stacks of 1–4, and in 19.8% of lunar base chests in stacks of 1–3.
Ender pearls can be found in 1.7% of lunar base chests in stacks of 2–4.
Ender pearls can be found in 22.8% of stronghold altar chests in stacks of 1, and in 19.6% of Trial Chambers corridor chests in stacks of 1–2.
Bedrock Edition they can be found in 22.2% of stronghold altar chests in stacks of 1, and in 19.6% of Trial Chambers corridor chests in stacks of 1–2.
Explorer pottery sherds can be found in 6.7% of cold ocean ruins chests in stacks of 1.
Bedrock Edition they can be found in 6.7% of cold ocean ruins chests in stacks of 1.
Eye armor trim smithing templates can be found in 10.0% of stronghold altar chests and all stronghold library chests in stacks of 1.
Bedrock Edition they can be found in 10.0% of stronghold altar chests and all stronghold library chests in stacks of 1.
Feathers can be found in 12.1% of plains village house chests in stacks of 1, in 55.8% of village fletcher chests in stacks of 1–3, and in 60.0% of shipwreck map chests in stacks of 1–5.
Bedrock Edition they can be found in 12.1% of plains village house chests in stacks of 1, in 55.8% of village fletcher chests in stacks of 1–3, and in 60.0% of shipwreck map chests in stacks of 1–5.
Ferns can be found in 18.6% of taiga village house chests in stacks of 1.
Bedrock Edition they can be found in 20.3% of taiga village house chests in stacks of 1.
Ferns can be found in 4.2% of lunar base chests in stacks of 1.
Fire charges can be found in 46.4% of ruined portal chests in stacks of 1, and in 20.7% of dispensers in trial chambers chamber dispenser in stacks of 4–8.
Bedrock Edition they can be found in 46.4% of ruined portal chests in stacks of 1, and in 20.7% of dispensers in trial chambers chamber dispenser in stacks of 4–8.
Fire coral blocks can be found in 2.0% of lunar base chests in stacks of 1–4.
Flint and steel can be found in 17.9% of nether fortress chests and 46.4% of ruined portal chests in groups of 1. Java Edition 26.3 they can be found in 27.5% of abandoned camp common chest chests in groups of 1.
Bedrock Edition they can be found in 17.9% of nether fortress chests and 46.4% of ruined portal chests in groups of 1. Bedrock Edition 26.40 they can be found in 27.5% of abandoned camp common chest chests in groups of 1.
Flint can be found in 55.8% of village fletcher chests in stacks of 1–3, and in 46.4% of ruined portal chests in stacks of 1–4.
Bedrock Edition they can be found in 55.8% of village fletcher chests in stacks of 1–3, and in 46.4% of ruined portal chests in stacks of 1–4.
Flow armor trim smithing templates can be found in 22.5% of trial chambers ominous vault chests in stacks of 1.
Bedrock Edition they can be found in 22.5% of trial chambers ominous vault chests in stacks of 1.
Flow banner patterns can be found in 15.0% of trial chambers ominous vault chests in groups of 1.
Bedrock Edition they can be found in 15.0% of trial chambers ominous vault chests in groups of 1.
Flower pots can be found in 2.2% of trail ruins chests and 20.8% of village mason chests in stacks of 1.
Bedrock Edition they can be found in 2.2% of trail ruins chests and 20.8% of village mason chests in stacks of 1.
Friend pottery sherds can be found in 8.3% of Trail Ruins chests in stacks of 1.
Bedrock Edition they can be found in 8.3% of Trail Ruins chests in stacks of 1.
Furnaces can be found in 9.9% of snowy village house chests in stacks of 1.
Bedrock Edition they can be found in 9.9% of snowy village house chests in stacks of 1.
Ghast tears can be found in 2.8% of lunar base chests in stacks of 1–3.
Gilded blackstone can be found in 22.8% of bastion remnant hoglin stable chests in stacks of 2–5, in 44.1% of bastion remnant chests in stacks of 1–5, in 33.7% of bastion remnant treasure chests in stacks of 5–15, and in 11.2% of bastion remnant bridge chests in stacks of 8–12.
Bedrock Edition they can be found in 22.8% of bastion remnant hoglin stable chests in stacks of 2–5, in 44.1% of bastion remnant chests in stacks of 1–5, in 33.7% of bastion remnant treasure chests in stacks of 5–15, and in 11.2% of bastion remnant bridge chests in stacks of 8–12.
Glistering melon slices can be found in 7.3% of ruined portal chests in stacks of 4–12.
Bedrock Edition they can be found in 7.3% of ruined portal chests in stacks of 4–12.
Glow berries can be found in 37.3% of trial chambers supply chests in stacks of 2–10, in 38.7% of chest minecarts in sulfur cave mineshaft and 38.7% of chest minecarts in mineshaft in stacks of 3–6, and in 23.7% of Ancient City chests in stacks of 1–15.
Bedrock Edition they can be found in 37.3% of trial chambers supply chests in stacks of 2–10, in 38.7% of chest minecarts in sulfur cave mineshaft and 38.7% of chest minecarts in mineshaft in stacks of 3–6, and in 23.7% of Ancient City chests in stacks of 1–15.
Glow berries can be found in 4.2% of lunar base chests in stacks of 1.
Glowstone dusts can be found in 6.8% of lunar base chests in stacks of 1–8.
Glowstones can be found in 22.8% of bastion remnant hoglin stable chests in stacks of 3–6.
Bedrock Edition they can be found in 22.8% of bastion remnant hoglin stable chests in stacks of 3–6.
Goat horns[J] can be found in 50.0% of pillager outpost chests in groups of 1.
Bedrock Edition they can be found in 50.0% of pillager outpost chests in groups of 1.
Gold ingots can be found in 23.7% of lunar base chests and 34.4% of lunar base chests in stacks of 1–4, and in 13.3% of lunar base chests in stacks of 5–16.
Gold ingots can be found in 25.4% of village temple chests, 6.9% of woodland mansion chests, 88.0% of buried treasure chests, and 9.6% of monster room chests, all in stacks of 1–4; in 26.5% of shipwreck treasure chests in stacks of 1–5; in 19.0% of bastion remnant chests in stacks of 1–6; in 33.7% of bastion remnant treasure chests in stacks of 3–9; in 11.9% of stronghold altar chests, 9.9% of village toolsmith chests, 18.6% of stronghold storeroom chests, 46.5% of nether fortress chests, 14.5% of chest minecarts in sulfur cave mineshaft, 14.5% of chest minecarts in mineshaft, and 22.9% of village weaponsmith chests, all in stacks of 1–3; in 7.3% of ruined portal chests in stacks of 2–8; in 50.6% of jungle pyramid chests, 50.6% of end city chests, and 17.0% of desert pyramid chests, all in stacks of 2–7; and in 11.2% of bastion remnant bridge chests in stacks of 4–9. Java Edition 26.3 they can be found in 75.6% of abandoned camp secret chest chests in stacks of 1–2.
Bedrock Edition they can be found in 25.4% of village temple chests, 8.9% of woodland mansion chests, 88.0% of buried treasure chests, and 9.6% of monster room chests, all in stacks of 1–4; in 26.5% of shipwreck treasure chests in stacks of 1–5; in 19.0% of bastion remnant chests in stacks of 1–6; in 33.7% of bastion remnant treasure chests in stacks of 3–9; in 11.5% of stronghold altar chests, 9.9% of village toolsmith chests, 15.2% of stronghold storeroom chests, 46.5% of nether fortress chests, 14.5% of chest minecarts in sulfur cave mineshaft, 14.5% of chest minecarts in mineshaft, and 22.9% of village weaponsmith chests, all in stacks of 1–3; in 7.3% of ruined portal chests in stacks of 2–8; in 50.5% of jungle pyramid chests, 50.6% of end city chests, and 17.0% of desert pyramid chests, all in stacks of 2–7; and in 11.2% of bastion remnant bridge chests in stacks of 4–9. Bedrock Edition 26.40 they can be found in 75.6% of abandoned camp secret chest chests in stacks of 1–2.
Gold nuggets can be found in 2.2% of trail ruins chests, 13.3% of warm ocean Ruins chests, and 13.3% of cold ocean ruins chests, all in stacks of 1; in 22.8% of bastion remnant hoglin stable chests and 24.4% of bastion remnant chests in stacks of 2–8; in 36.6% of shipwreck treasure chests in stacks of 1–10; in 47.9% of bastion remnant bridge chests in stacks of 2–6; in 20.5% of ruined portal chests in stacks of 4–24; and in 55.3% of igloo chests, 78.9% of big ocean ruins chests, 12.1% of plains village house chests, and 11.3% of savanna village house chests, all in stacks of 1–3.
Bedrock Edition they can be found in 2.2% of trail ruins chests, 13.3% of warm ocean Ruins chests, and 13.3% of cold ocean ruins chests, all in stacks of 1; in 22.8% of bastion remnant hoglin stable chests and 24.4% of bastion remnant chests in stacks of 2–8; in 36.6% of shipwreck treasure chests in stacks of 1–10; in 47.9% of bastion remnant bridge chests in stacks of 2–6; in 20.5% of ruined portal chests in stacks of 4–24; and in 55.3% of igloo chests, 78.9% of big ocean ruins chests, 12.1% of plains village house chests, and 11.3% of savanna village house chests, all in stacks of 1–3.
Golden apples can be found in 2.5% of stronghold altar chests, all igloo chests, 25.5% of woodland mansion chests, 4.3% of big ocean ruins chests, 10.0% of bastion remnant hoglin stable chests, 8.3% of trial chambers vault chests, 22.2% of desert pyramid chests, 20.5% of ruined portal chests, 8.3% of trial chambers ominous vault chests, 28.2% of chest minecarts in sulfur cave mineshaft, 28.2% of chest minecarts in mineshaft, 19.4% of monster room chests, and 10.1% of bastion remnant chests, all in stacks of 1.
Bedrock Edition they can be found in 2.4% of stronghold altar chests, all igloo chests, 25.1% of woodland mansion chests, 4.3% of big ocean ruins chests, 11.4% of bastion remnant hoglin stable chests, 8.3% of trial chambers vault chests, 22.2% of desert pyramid chests, 20.5% of ruined portal chests, 8.3% of trial chambers ominous vault chests, 28.2% of chest minecarts in sulfur cave mineshaft, 28.2% of chest minecarts in mineshaft, 19.4% of monster room chests, and 10.1% of bastion remnant chests, all in stacks of 1.
Golden apples can be found in 3.9% of lunar base chests in stacks of 1.
Golden boots can be found in 9.8% of bastion remnant chests in groups of 1.
Bedrock Edition they can be found in 9.8% of bastion remnant chests in groups of 1.
Golden carrots can be found in 54.9% of Ancient City chests in stacks of 1–10, in 10.0% of bastion remnant hoglin stable chests in stacks of 8–17, in 13.5% of bastion remnant chests in stacks of 6–17, in 7.0% of trial chambers vault chests and 14.0% of trial chambers ominous spawner chests in stacks of 1–2, and in 7.3% of ruined portal chests in stacks of 4–12.
Bedrock Edition they can be found in 54.9% of Ancient City chests in stacks of 1–10, in 11.4% of bastion remnant hoglin stable chests in stacks of 8–17, in 13.5% of bastion remnant chests in stacks of 6–17, in 1.7% of trial chambers vault chests and 14.0% of trial chambers ominous spawner chests in stacks of 1–2, and in 7.3% of ruined portal chests in stacks of 4–12.
Golden chestplates can be found in 17.9% of nether fortress chests and 9.8% of bastion remnant chests in groups of 1.
Bedrock Edition they can be found in 17.9% of nether fortress chests and 9.8% of bastion remnant chests in groups of 1.
Golden helmets can be found in 8.3% of small ocean ruins chests, 4.3% of big ocean ruins chests, and 9.8% of bastion remnant chests, all in groups of 1.
Bedrock Edition they can be found in 8.3% of small ocean ruins chests, 4.3% of big ocean ruins chests, and 9.8% of bastion remnant chests, all in groups of 1.
Golden horse armor can be found in 2.5% of stronghold altar chests, 4.4% of jungle pyramid chests, 4.4% of end city chests, 27.4% of nether fortress chests, 11.6% of desert pyramid chests, 7.3% of ruined portal chests, 13.3% of monster room chests, and 5.0% of village weaponsmith chests, all in groups of 1.
Bedrock Edition they can be found in 2.4% of stronghold altar chests, 4.4% of jungle pyramid chests, 4.4% of end city chests, 27.4% of nether fortress chests, 11.6% of desert pyramid chests, 7.3% of ruined portal chests, 13.3% of monster room chests, and 5.0% of village weaponsmith chests, all in groups of 1.
Golden leggings can be found in 9.8% of bastion remnant chests in groups of 1.
Bedrock Edition they can be found in 9.8% of bastion remnant chests in groups of 1.
Golden nautilus armor can be found in 2.7% of shipwreck treasure chests, 2.7% of small ocean ruins chests, 2.7% of shipwreck map chests, 2.7% of shipwreck supply chests, 2.7% of buried treasure chests, and 2.7% of big ocean ruins chests, all in groups of 1.
Bedrock Edition they can be found in 2.3% of small ocean ruins chests, 2.7% of shipwreck supply chests, 2.7% of buried treasure chests, and 2.3% of big ocean ruins chests, all in groups of 1.
Golden swords can be found in 11.2% of bastion remnant bridge chests, 17.9% of nether fortress chests, and 9.8% of bastion remnant chests, all in groups of 1.
Bedrock Edition they can be found in 11.2% of bastion remnant bridge chests, 17.9% of nether fortress chests, and 9.8% of bastion remnant chests, all in groups of 1.
Grass blocks can be found in 28.7% of lunar base chests in stacks of 1–3.
Gravel can be found in 19.8% of lunar base chests in stacks of 5–64.
Gray wool can be found in 23.3% of village shepherd chests in stacks of 1–3.
Bedrock Edition they can be found in 23.3% of village shepherd chests in stacks of 1–3.
Green candles can be found in 4.4% of trail ruins chests in stacks of 1.
Bedrock Edition they can be found in 4.4% of trail ruins chests in stacks of 1.
Green dye can be found in 14.3% of desert village house chests in stacks of 1.
Bedrock Edition they can be found in 14.3% of desert village house chests in stacks of 1.
Gunpowder can be found in 12.5% of desert pyramid chests in stacks of 1; in 57.8% of woodland mansion chests, 59.0% of desert pyramid chests, and 57.8% of monster room chests, all in stacks of 1–8; and in 20.8% of shipwreck supply chests in stacks of 1–5.
Bedrock Edition they can be found in 12.5% of desert pyramid chests in stacks of 1; in 57.8% of woodland mansion chests, 59.0% of desert pyramid chests, and 57.8% of monster room chests, all in stacks of 1–8; and in 20.8% of shipwreck supply chests in stacks of 1–5.
Gunpowders can be found in 7.1% of lunar base chests in stacks of 1–8, and in 6.8% of lunar base chests in stacks of 2–32.
Guster banner patterns can be found in 4.2% of trial chambers vault chests in groups of 1.
Bedrock Edition they can be found in 4.2% of trial chambers vault chests in groups of 1.
Heart of the sea can be found in all buried treasure chests in stacks of 1.
Bedrock Edition they can be found in all buried treasure chests in stacks of 1.
Heart of the sea can be found in 2.0% of lunar base chests in stacks of 1.
Heart pottery sherds can be found in 8.3% of Trail Ruins chests in stacks of 1.
Bedrock Edition they can be found in 8.3% of Trail Ruins chests in stacks of 1.
Heartbreak pottery sherds can be found in 8.3% of Trail Ruins chests in stacks of 1.
Bedrock Edition they can be found in 8.3% of Trail Ruins chests in stacks of 1.
Heavy cores can be found in 7.5% of trial chambers ominous vault chests in stacks of 1.
Bedrock Edition they can be found in 7.5% of trial chambers ominous vault chests in stacks of 1.
Honey bottles can be found in 24.0% of trial chambers vault chests in stacks of 1–2.
Bedrock Edition they can be found in 29.6% of trial chambers vault chests in stacks of 1–2.
Honeycombs can be found in 10.2% of Trial Chambers corridor chests and 55.1% of trial chambers entrance chests in stacks of 2–8.
Bedrock Edition they can be found in 10.2% of Trial Chambers corridor chests and 55.1% of trial chambers entrance chests in stacks of 2–8.
Horn coral blocks can be found in 2.0% of lunar base chests in stacks of 1–4.
Host armor trim smithing templates can be found in 8.3% of Trail Ruins chests in stacks of 1.
Bedrock Edition they can be found in 8.3% of Trail Ruins chests in stacks of 1.
Howl pottery sherds can be found in 8.3% of Trail Ruins chests in stacks of 1.
Bedrock Edition they can be found in 8.3% of Trail Ruins chests in stacks of 1.
Iron axes can be found in 6.7% of warm ocean Ruins chests and 6.7% of cold ocean ruins chests in groups of 1. Java Edition 26.3 they can be found in 12.5% of abandoned camp secret chest chests in groups of 1.
Bedrock Edition they can be found in 6.7% of warm ocean Ruins chests and 6.7% of cold ocean ruins chests in groups of 1. Bedrock Edition 26.40 they can be found in 12.5% of abandoned camp secret chest chests in groups of 1.
Iron boots can be found in 11.9% of stronghold altar chests and 22.9% of village weaponsmith chests in groups of 1. Java Edition 26.3 they can be found in 12.5% of abandoned camp secret chest chests in groups of 1.
Bedrock Edition they can be found in 11.5% of stronghold altar chests and 22.9% of village weaponsmith chests in groups of 1. Bedrock Edition 26.40 they can be found in 12.5% of abandoned camp secret chest chests in groups of 1.
Iron chains can be found in 24.4% of bastion remnant chests in stacks of 2–10.
Bedrock Edition they can be found in 24.4% of bastion remnant chests in stacks of 2–10.
Iron chestplates can be found in 11.9% of stronghold altar chests and 22.9% of village weaponsmith chests in groups of 1.
Bedrock Edition they can be found in 11.5% of stronghold altar chests and 22.9% of village weaponsmith chests in groups of 1.
Iron helmets can be found in 11.9% of stronghold altar chests, 31.8% of village armorer chests, and 22.9% of village weaponsmith chests, all in groups of 1.
Bedrock Edition they can be found in 11.5% of stronghold altar chests, 31.8% of village armorer chests, and 22.9% of village weaponsmith chests, all in groups of 1.
Iron horse armor can be found in 2.5% of stronghold altar chests, 4.4% of jungle pyramid chests, 4.4% of end city chests, 17.9% of nether fortress chests, 17.0% of desert pyramid chests, 19.4% of monster room chests, and 5.0% of village weaponsmith chests, all in groups of 1.
Bedrock Edition they can be found in 2.4% of stronghold altar chests, 4.4% of jungle pyramid chests, 4.4% of end city chests, 17.9% of nether fortress chests, 17.0% of desert pyramid chests, 19.4% of monster room chests, and 5.0% of village weaponsmith chests, all in groups of 1.
Iron ingots can be found in 13.5% of woodland mansion chests, 99.4% of buried treasure chests, 24.0% of trial chambers vault chests, and 18.5% of monster room chests, all in stacks of 1–4; in 22.8% of stronghold altar chests, 97.4% of shipwreck treasure chests, 37.0% of jungle pyramid chests, 41.2% of village toolsmith chests, 34.3% of stronghold storeroom chests, 17.9% of nether fortress chests, 17.0% of desert pyramid chests, 27.3% of chest minecarts in sulfur cave mineshaft, 27.3% of chest minecarts in mineshaft, and 40.9% of village weaponsmith chests, all in stacks of 1–5; in 37.0% of end city chests in stacks of 4–8; in 19.0% of bastion remnant chests in stacks of 1–6; in 54.2% of village armorer chests and 30.5% of pillager outpost chests in stacks of 1–3; in 28.5% of trial chambers corridor pot chests in stacks of 1–2; in 33.7% of bastion remnant treasure chests in stacks of 3–9; and in 11.2% of bastion remnant bridge chests in stacks of 4–9. Java Edition 26.3 they can be found in 75.6% of abandoned camp secret chest chests in stacks of 1.
Bedrock Edition they can be found in 17.2% of woodland mansion chests, 99.4% of buried treasure chests, 29.6% of trial chambers vault chests, and 18.5% of monster room chests, all in stacks of 1–4; in 22.2% of stronghold altar chests, 97.4% of shipwreck treasure chests, 37.0% of jungle pyramid chests, 41.2% of village toolsmith chests, 28.5% of stronghold storeroom chests, 17.9% of nether fortress chests, 17.0% of desert pyramid chests, 27.3% of chest minecarts in sulfur cave mineshaft, 27.3% of chest minecarts in mineshaft, and 40.9% of village weaponsmith chests, all in stacks of 1–5; in 37.0% of end city chests in stacks of 4–8; in 19.0% of bastion remnant chests in stacks of 1–6; in 54.2% of village armorer chests and 30.5% of pillager outpost chests in stacks of 1–3; in 28.5% of trial chambers corridor pot chests in stacks of 1–2; in 33.7% of bastion remnant treasure chests in stacks of 3–9; and in 11.2% of bastion remnant bridge chests in stacks of 4–9. Bedrock Edition 26.40 they can be found in 75.6% of abandoned camp secret chest chests in stacks of 1.
Iron ingots can be found in 23.7% of lunar base chests and 34.4% of lunar base chests in stacks of 1–4, and in 13.3% of lunar base chests in stacks of 5–16.
Iron leggings can be found in 11.9% of stronghold altar chests and 22.9% of village weaponsmith chests in groups of 1. Java Edition 26.3 they can be found in 12.5% of abandoned camp secret chest chests in groups of 1.
Bedrock Edition they can be found in 11.5% of stronghold altar chests and 22.9% of village weaponsmith chests in groups of 1. Bedrock Edition 26.40 they can be found in 12.5% of abandoned camp secret chest chests in groups of 1.
Iron nautilus armor can be found in 5.4% of shipwreck treasure chests, 5.4% of small ocean ruins chests, 5.4% of shipwreck map chests, 5.4% of shipwreck supply chests, 5.4% of buried treasure chests, and 5.4% of big ocean ruins chests, all in groups of 1.
Bedrock Edition they can be found in 4.5% of small ocean ruins chests, 5.4% of shipwreck supply chests, 5.4% of buried treasure chests, and 4.5% of big ocean ruins chests, all in groups of 1.
Iron nuggets can be found in 24.4% of bastion remnant chests in stacks of 2–8, in 9.7% of taiga village house chests in stacks of 1–5, in 46.4% of ruined portal chests in stacks of 9–18, in 47.9% of bastion remnant bridge chests in stacks of 2–6, and in 94.5% of shipwreck treasure chests in stacks of 1–10.
Bedrock Edition they can be found in 24.4% of bastion remnant chests in stacks of 2–8, in 10.7% of taiga village house chests in stacks of 1–5, in 46.4% of ruined portal chests in stacks of 9–18, in 47.9% of bastion remnant bridge chests in stacks of 2–6, and in 94.5% of shipwreck treasure chests in stacks of 1–10.
Iron pickaxes can be found in 11.9% of stronghold altar chests, 41.2% of village toolsmith chests, 4.0% of stronghold storeroom chests, 7.0% of chest minecarts in sulfur cave mineshaft, 7.0% of chest minecarts in mineshaft, and 22.9% of village weaponsmith chests, all in groups of 1.
Bedrock Edition they can be found in 11.5% of stronghold altar chests, 41.2% of village toolsmith chests, 3.2% of stronghold storeroom chests, 7.0% of chest minecarts in sulfur cave mineshaft, 7.0% of chest minecarts in mineshaft, and 22.9% of village weaponsmith chests, all in groups of 1.
Iron shovels can be found in 41.2% of village toolsmith chests in groups of 1.
Bedrock Edition they can be found in 41.2% of village toolsmith chests in groups of 1.
Iron spears can be found in 16.7% of buried treasure chests and 22.9% of village weaponsmith chests in groups of 1. Java Edition 26.3 they can be found in 12.5% of abandoned camp secret chest chests in groups of 1.
Bedrock Edition they can be found in 16.7% of buried treasure chests and 22.9% of village weaponsmith chests in groups of 1. Bedrock Edition 26.40 they can be found in 12.5% of abandoned camp secret chest chests in groups of 1.
Iron swords can be found in 11.9% of stronghold altar chests, 16.7% of buried treasure chests, and 22.9% of village weaponsmith chests, all in groups of 1.
Bedrock Edition they can be found in 11.5% of stronghold altar chests, 16.7% of buried treasure chests, and 22.9% of village weaponsmith chests, all in groups of 1.
Jungle logs can be found in 26.2% of bonus chest chests in stacks of 1–3.
Bedrock Edition they can be found in 25.0% of bonus chest chests in stacks of 1–3.
Jungle saplings can be found in 4.2% of lunar base chests and 6.2% of lunar base chests in stacks of 1–4.
Kelps can be found in 4.2% of lunar base chests in stacks of 1.
Lapis lazuli can be found in 25.4% of village temple chests in stacks of 1–4, in 61.5% of shipwreck treasure chests in stacks of 1–10, and in 14.5% of chest minecarts in sulfur cave mineshaft and 14.5% of chest minecarts in mineshaft in stacks of 4–9.
Bedrock Edition they can be found in 25.4% of village temple chests in stacks of 1–4, in 61.5% of shipwreck treasure chests in stacks of 1–10, and in 14.5% of chest minecarts in sulfur cave mineshaft and 14.5% of chest minecarts in mineshaft in stacks of 4–9.
Lapis lazulis can be found in 13.3% of lunar base chests in stacks of 5–32.
Large ferns can be found in 0.9% of lunar base chests in stacks of 1.
Large ferns can be found in 18.6% of taiga village house chests in stacks of 1.
Bedrock Edition they can be found in 20.3% of taiga village house chests in stacks of 1.
Lava buckets can be found in 9.7% of lunar base chests and 4.2% of lunar base chests in groups of 1.
Leads can be found in 2.2% of trail ruins chests, 32.9% of woodland mansion chests, and 16.5% of Ancient City chests, all in stacks of 1. Java Edition 26.3 they can be found in 27.5% of abandoned camp common chest chests in stacks of 1–3.
Bedrock Edition they can be found in 2.2% of trail ruins chests, 32.4% of woodland mansion chests, and 16.5% of Ancient City chests, all in stacks of 1. Bedrock Edition 26.40 they can be found in 27.5% of abandoned camp common chest chests in stacks of 1–3.
Leather boots can be found in 31.8% of village tannery chests in groups of 1.
Bedrock Edition they can be found in 31.8% of village tannery chests in groups of 1.
Leather can be found in 47.9% of bastion remnant bridge chests, 22.8% of bastion remnant hoglin stable chests, and 17.3% of village tannery chests, all in stacks of 1–3; and in 2.5% of stronghold altar chests, 12.7% of jungle pyramid chests, 16.5% of Ancient City chests, 22.2% of desert pyramid chests, and 25.3% of monster room chests, all in stacks of 1–5. Java Edition 26.3 they can be found in 27.5% of abandoned camp common chest chests in stacks of 1–4, and in 33.6% of abandoned camp barrel chests in stacks of 1–3.
Bedrock Edition they can be found in 47.9% of bastion remnant bridge chests, 22.8% of bastion remnant hoglin stable chests, and 17.3% of village tannery chests, all in stacks of 1–3; and in 2.4% of stronghold altar chests, 12.7% of jungle pyramid chests, 16.5% of Ancient City chests, 22.2% of desert pyramid chests, and 25.3% of monster room chests, all in stacks of 1–5. Bedrock Edition 26.40 they can be found in 27.5% of abandoned camp common chest chests in stacks of 1–4, and in 33.6% of abandoned camp barrel chests in stacks of 1–3.
Leather caps can be found in 31.8% of village tannery chests in groups of 1.
Bedrock Edition they can be found in 31.8% of village tannery chests in groups of 1.
Leather pants can be found in 31.8% of village tannery chests in groups of 1.
Bedrock Edition they can be found in 31.8% of village tannery chests in groups of 1.
Leather tunics can be found in 8.3% of small ocean ruins chests, 16.7% of buried treasure chests, 4.3% of big ocean ruins chests, and 31.8% of village tannery chests, all in groups of 1.
Bedrock Edition they can be found in 8.3% of small ocean ruins chests, 16.7% of buried treasure chests, 4.3% of big ocean ruins chests, and 31.8% of village tannery chests, all in groups of 1.
Light blue dye can be found in 4.4% of trail ruins chests in stacks of 1.
Bedrock Edition they can be found in 4.4% of trail ruins chests in stacks of 1.
Light blue stained glass panes can be found in 2.2% of trail ruins chests in stacks of 1.
Bedrock Edition they can be found in 2.2% of trail ruins chests in stacks of 1.
Light gray wool can be found in 23.3% of village shepherd chests in stacks of 1–3.
Bedrock Edition they can be found in 23.3% of village shepherd chests in stacks of 1–3.
Light weighted pressure plates can be found in 7.3% of ruined portal chests in stacks of 1.
Bedrock Edition they can be found in 7.3% of ruined portal chests in stacks of 1.
Lilacs can be found in 0.9% of lunar base chests in stacks of 1.
Lily of the valleys can be found in 0.9% of lunar base chests in stacks of 1.
Lingering Potion of Healings can be found in 3.4% of dispensers in trial chambers chamber dispenser in stacks of 2–5.
Bedrock Edition they can be found in 3.4% of dispensers in trial chambers chamber dispenser in stacks of 2–5.
Lingering Potion of Poisons can be found in 3.4% of dispensers in trial chambers chamber dispenser in stacks of 2–5.
Bedrock Edition they can be found in 3.4% of dispensers in trial chambers chamber dispenser in stacks of 2–5.
Lingering Potion of Slownesses can be found in 3.4% of dispensers in trial chambers chamber dispenser in stacks of 2–5.
Bedrock Edition they can be found in 3.4% of dispensers in trial chambers chamber dispenser in stacks of 2–5.
Lingering Potion of Weaknesses can be found in 3.4% of dispensers in trial chambers chamber dispenser in stacks of 2–5.
Bedrock Edition they can be found in 3.4% of dispensers in trial chambers chamber dispenser in stacks of 2–5.
Lodestones can be found in all bastion remnant bridge chests in stacks of 1, and in 66.7% of ruined portal chests in stacks of 1–2.
Bedrock Edition they can be found in all bastion remnant bridge chests in stacks of 1, and in 66.7% of ruined portal chests in stacks of 1–2.
Magenta stained glass panes can be found in 2.2% of trail ruins chests in stacks of 1.
Bedrock Edition they can be found in 2.2% of trail ruins chests in stacks of 1.
Magma cream can be found in 44.1% of bastion remnant chests in stacks of 2–6, and in 33.7% of bastion remnant treasure chests in stacks of 3–8.
Bedrock Edition they can be found in 44.1% of bastion remnant chests in stacks of 2–6, and in 33.7% of bastion remnant treasure chests in stacks of 3–8.
Mangrove logs can be found in 26.2% of bonus chest chests in stacks of 1–3.
Bedrock Edition they can be found in 33.3% of bonus chest chests in stacks of 1–3.
Mangrove propagules can be found in 4.2% of lunar base chests in stacks of 1–2.
Melon seeds can be found in 13.5% of woodland mansion chests, 27.3% of chest minecarts in sulfur cave mineshaft, 27.3% of chest minecarts in mineshaft, and 18.5% of monster room chests, all in stacks of 2–4.
Bedrock Edition they can be found in 33.3% of bonus chest chests in stacks of 1–2, and in 17.2% of woodland mansion chests, 27.3% of chest minecarts in sulfur cave mineshaft, 27.3% of chest minecarts in mineshaft, and 18.5% of monster room chests, all in stacks of 2–4.
Melon seeds can be found in 4.2% of lunar base chests in stacks of 1.
Milk buckets can be found in 20.4% of trial chambers supply chests in stacks of 1.
Bedrock Edition they can be found in 20.4% of trial chambers supply chests in stacks of 1.
Miner pottery sherds can be found in 12.5% of desert pyramid chests in stacks of 1.
Bedrock Edition they can be found in 12.5% of desert pyramid chests in stacks of 1.
Moss blocks can be found in 20.4% of trial chambers supply chests in stacks of 2–5, and in 42.1% of shipwreck supply chests in stacks of 1–4.
Bedrock Edition they can be found in 20.4% of trial chambers supply chests in stacks of 2–5, and in 42.1% of shipwreck supply chests in stacks of 1–4.
Moss blocks can be found in 4.2% of lunar base chests in stacks of 1.
Mourner pottery sherds can be found in 6.7% of cold ocean ruins chests in stacks of 1.
Bedrock Edition they can be found in 6.7% of cold ocean ruins chests in stacks of 1.
Music disc (13) can be found in 25.5% of woodland mansion chests, 16.5% of Ancient City chests, and 19.4% of monster room chests, all in groups of 1.
Bedrock Edition they can be found in 25.1% of woodland mansion chests, 16.5% of Ancient City chests, and 19.4% of monster room chests, all in groups of 1.
Music disc (bounce) can be found in 42.1% of chest minecarts in sulfur cave mineshaft in groups of 1.
Bedrock Edition they can be found in 42.1% of chest minecarts in sulfur cave mineshaft in groups of 1.
Music disc (cat) can be found in 25.5% of woodland mansion chests, 16.5% of Ancient City chests, and 19.4% of monster room chests, all in groups of 1.
Bedrock Edition they can be found in 25.1% of woodland mansion chests, 16.5% of Ancient City chests, and 19.4% of monster room chests, all in groups of 1.
Music disc (creator (music box)) can be found in 1.4% of trial chambers corridor pot chests in groups of 1.
Bedrock Edition they can be found in 1.4% of trial chambers corridor pot chests in groups of 1.
Music disc (creator) can be found in 7.5% of trial chambers ominous vault chests in groups of 1.
Bedrock Edition they can be found in 7.5% of trial chambers ominous vault chests in groups of 1.
Music disc (otherside) can be found in 2.5% of stronghold altar chests, 8.6% of Ancient City chests, and 2.8% of monster room chests, all in groups of 1.
Bedrock Edition they can be found in 2.4% of stronghold altar chests, 8.6% of Ancient City chests, and 2.8% of monster room chests, all in groups of 1.
Music disc (pigstep) can be found in 5.6% of bastion remnant chests in groups of 1.
Bedrock Edition they can be found in 5.6% of bastion remnant chests in groups of 1.
Music disc (precipice) can be found in 4.2% of trial chambers vault chests in groups of 1.
Bedrock Edition they can be found in 4.2% of trial chambers vault chests in groups of 1.
Music disc (relic) can be found in 8.3% of Trail Ruins chests in groups of 1.
Bedrock Edition they can be found in 8.3% of Trail Ruins chests in groups of 1.
Mycelium can be found in 4.2% of lunar base chests in stacks of 1.
Name tags can be found in 42.3% of chest minecarts in sulfur cave mineshaft, 42.3% of chest minecarts in mineshaft, and 25.3% of monster room chests, all in stacks of 1.
Bedrock Edition they can be found in 42.3% of chest minecarts in sulfur cave mineshaft, 42.3% of chest minecarts in mineshaft, and 25.3% of monster room chests, all in stacks of 1.
Nautilus shells can be found in 2.8% of lunar base chests in stacks of 1–4.
Nether quartz can be found in 33.7% of bastion remnant treasure chests in stacks of 8–23.
Bedrock Edition they can be found in 33.7% of bastion remnant treasure chests in stacks of 8–23.
Nether quartzs can be found in 13.3% of lunar base chests in stacks of 5–32.
Nether wart can be found in 17.9% of nether fortress chests in stacks of 3–7.
Bedrock Edition they can be found in 17.9% of nether fortress chests in stacks of 3–7.
Nether warts can be found in 4.2% of lunar base chests in stacks of 2–4.
Netherite ingots can be found in 35.0% of bastion remnant treasure chests in stacks of 1.
Bedrock Edition they can be found in 37.9% of bastion remnant treasure chests in stacks of 1.
Netherite scraps can be found in 8.0% of bastion remnant hoglin stable chests, 19.9% of bastion remnant treasure chests, and 4.5% of bastion remnant chests, all in stacks of 1.
Bedrock Edition they can be found in 9.1% of bastion remnant hoglin stable chests, 21.7% of bastion remnant treasure chests, and 4.5% of bastion remnant chests, all in stacks of 1.
Netherite upgrade smithing templates can be found in 10.0% of bastion remnant bridge chests, 10.0% of bastion remnant hoglin stable chests, all bastion remnant treasure chests, and 10.0% of bastion remnant chests, all in stacks of 1.
Bedrock Edition they can be found in 10.0% of bastion remnant bridge chests, 10.0% of bastion remnant hoglin stable chests, all bastion remnant treasure chests, and 10.0% of bastion remnant chests, all in stacks of 1.
Nothing[V] can be found in 90.0% of stronghold altar chests, 96.7% of shipwreck treasure chests, 80.0% of small ocean ruins chests, 66.7% of desert village house chests, 96.7% of shipwreck map chests, 66.7% of village cartographer chests, 66.7% of jungle pyramid chests, 99.2% of bastion remnant bridge chests, 96.7% of shipwreck supply chests, 66.7% of taiga village house chests, 50.0% of woodland mansion chests, 80.0% of buried treasure chests, 93.3% of end city chests, 80.0% of big ocean ruins chests, 93.8% of Ancient City chests, 93.3% of nether fortress chests, 99.2% of bastion remnant hoglin stable chests, 66.7% of bonus barrel chests, 66.7% of plains village house chests, 75.0% of trial chambers vault chests, 66.7% of savanna village house chests, 88.1% of desert pyramid chests, 33.3% of ruined portal chests, 91.7% of bastion remnant treasure chests, 25.0% of trial chambers ominous vault chests, 7.0% of chest minecarts in sulfur cave mineshaft, 75.0% of pillager outpost chests, 7.0% of chest minecarts in mineshaft, 66.7% of snowy village house chests, 99.2% of bastion remnant chests, 66.7% of village weaponsmith chests, and 66.7% of village tannery chests, all in stacks of 1.
Bedrock Edition they can be found in 90.0% of stronghold altar chests, 83.3% of shipwreck treasure chests, 83.3% of small ocean ruins chests, 66.7% of desert village house chests, 83.3% of shipwreck map chests, 66.7% of village cartographer chests, 66.7% of jungle pyramid chests, 99.2% of bastion remnant bridge chests, 96.7% of shipwreck supply chests, 66.7% of taiga village house chests, 50.0% of woodland mansion chests, 80.0% of buried treasure chests, 93.3% of end city chests, 83.3% of big ocean ruins chests, 93.8% of Ancient City chests, 93.3% of nether fortress chests, 99.2% of bastion remnant hoglin stable chests, 66.7% of plains village house chests, 75.0% of trial chambers vault chests, 66.7% of savanna village house chests, 88.1% of desert pyramid chests, 33.3% of ruined portal chests, 91.7% of bastion remnant treasure chests, 25.0% of trial chambers ominous vault chests, 7.0% of chest minecarts in sulfur cave mineshaft, 75.0% of pillager outpost chests, 7.0% of chest minecarts in mineshaft, 66.7% of snowy village house chests, 99.2% of bastion remnant chests, 66.7% of village weaponsmith chests, and 66.7% of village tannery chests, all in stacks of 1.
Oak hanging signs can be found in 2.2% of trail ruins chests in stacks of 1.
Bedrock Edition they can be found in 2.2% of trail ruins chests in stacks of 1.
Oak logs can be found in 12.2% of lunar base chests in stacks of 1–4.
Oak logs can be found in 26.2% of bonus chest chests in stacks of 1–3.
Bedrock Edition they can be found in 25.0% of bonus chest chests in stacks of 1–3.
Oak planks can be found in 67.3% of bonus chest chests in stacks of 1–12.
Bedrock Edition they can be found in all bonus chest chests in stacks of 1–12.
Oak saplings can be found in 22.9% of village weaponsmith chests in stacks of 3–7, and in 48.2% of plains village house chests in stacks of 1–2.
Bedrock Edition they can be found in 26.3% of village cartographer chests and 48.2% of plains village house chests in stacks of 1–2, in 14.3% of bonus chest chests in stacks of 4, and in 22.9% of village weaponsmith chests in stacks of 3–7.
Oak saplings can be found in 6.2% of lunar base chests in stacks of 1–4, and in 4.2% of lunar base chests in stacks of 1–2.
Obsidian can be found in 46.4% of ruined portal chests in stacks of 1–2, in 7.5% of nether fortress chests in stacks of 2–4, in 24.4% of bastion remnant chests in stacks of 4–6, and in 22.9% of village weaponsmith chests in stacks of 3–7.
Bedrock Edition they can be found in 46.4% of ruined portal chests in stacks of 1–2, in 7.5% of nether fortress chests in stacks of 2–4, in 24.4% of bastion remnant chests in stacks of 4–6, and in 22.9% of village weaponsmith chests in stacks of 3–7.
Ominous bottle i - iis[AC] can be found in 16.5% of trial chambers vault chests in stacks of 1.
Bedrock Edition they can be found in 20.6% of trial chambers vault chests in stacks of 1.
Ominous bottle iii - vs[Q] can be found in 13.9% of trial chambers ominous vault chests in stacks of 1.
Bedrock Edition they can be found in 13.9% of trial chambers ominous vault chests in stacks of 1.
Ominous trial keys can be found in 30.0% of trial chambers ominous spawner chests in stacks of 1.
Bedrock Edition they can be found in 30.0% of trial chambers ominous spawner chests in stacks of 1.
Orange dye can be found in 4.4% of trail ruins chests in stacks of 1.
Bedrock Edition they can be found in 4.4% of trail ruins chests in stacks of 1.
Orange tulips can be found in 0.9% of lunar base chests in stacks of 1.
Oxeye daisys can be found in 0.9% of lunar base chests in stacks of 1.
Packed air can be found in 2.8% of lunar base chests in stacks of 1.
Packed ices can be found in 80.5% of Ancient City chests in stacks of 2–6.
Bedrock Edition they can be found in 80.5% of Ancient City chests in stacks of 2–6.
Paper can be found in 46.4% of shipwreck supply chests in stacks of 1–12, in 89.4% of shipwreck map chests in stacks of 1–10, in 89.2% of stronghold library chests in stacks of 2–7, and in 61.2% of village cartographer chests in stacks of 1–5.
Bedrock Edition they can be found in 46.4% of shipwreck supply chests in stacks of 1–12, in 89.4% of shipwreck map chests in stacks of 1–10, in 88.3% of stronghold library chests in stacks of 2–7, and in 61.2% of village cartographer chests in stacks of 1–5.
Peonys can be found in 0.9% of lunar base chests in stacks of 1.
Pink petals can be found in 0.9% of lunar base chests in stacks of 1.
Pink stained glass panes can be found in 2.2% of trail ruins chests in stacks of 1.
Bedrock Edition they can be found in 2.2% of trail ruins chests in stacks of 1.
Pink tulips can be found in 0.9% of lunar base chests in stacks of 1.
Plenty pottery sherds can be found in 6.7% of cold ocean ruins chests in stacks of 1.
Bedrock Edition they can be found in 6.7% of cold ocean ruins chests in stacks of 1.
Pointed dripstones can be found in 0.9% of lunar base chests in stacks of 1.
Poisonous potatoes can be found in 42.1% of shipwreck supply chests in stacks of 2–6.
Bedrock Edition they can be found in 42.1% of shipwreck supply chests in stacks of 2–6.
Poppies can be found in 12.1% of plains village house chests in stacks of 1.
Bedrock Edition they can be found in 12.1% of plains village house chests in stacks of 1.
Poppys can be found in 0.9% of lunar base chests in stacks of 1.
Potatoes can be found in 42.1% of shipwreck supply chests in stacks of 2–6; in 65.6% of taiga village house chests, 74.2% of plains village house chests, and 66.3% of snowy village house chests, all in stacks of 1–7; and in 57.5% of pillager outpost chests in stacks of 2–5.
Bedrock Edition they can be found in 42.1% of shipwreck supply chests in stacks of 2–6; in 69.3% of taiga village house chests, 74.2% of plains village house chests, and 66.3% of snowy village house chests, all in stacks of 1–7; in 50.0% of bonus chest chests in stacks of 1–2; and in 57.5% of pillager outpost chests in stacks of 2–5.
Potatos can be found in 4.2% of lunar base chests in stacks of 1–4.
Potion of Regeneration can be found in 5.0% of trial chambers spawner chests and 7.0% of trial chambers ominous spawner chests in stacks of 1, in 20.4% of trial chambers supply chests in stacks of 2, and in 36.5% of Ancient City chests in stacks of 1–3.
Bedrock Edition they can be found in 5.0% of trial chambers spawner chests and 7.0% of trial chambers ominous spawner chests in stacks of 1, in 20.4% of trial chambers supply chests in stacks of 2, and in 36.5% of Ancient City chests in stacks of 1–3.
Potion of Strength can be found in 7.0% of trial chambers ominous spawner chests in stacks of 1, and in 20.4% of trial chambers supply chests in stacks of 2.
Bedrock Edition they can be found in 7.0% of trial chambers ominous spawner chests in stacks of 1, and in 20.4% of trial chambers supply chests in stacks of 2.
Potion of Swiftness can be found in 5.0% of trial chambers spawner chests in stacks of 1. Java Edition 26.3 they can be found in 36.0% of abandoned camp secret chest chests in stacks of 1.
Bedrock Edition they can be found in 5.0% of trial chambers spawner chests in stacks of 1. Bedrock Edition 26.40 they can be found in 36.0% of abandoned camp secret chest chests in stacks of 1.
Potion of Water Breathing can be found in 66.7% of buried treasure chests in stacks of 1.
Bedrock Edition they can be found in 66.7% of buried treasure chests in stacks of 1.
Powder snow buckets can be found in 3.9% of lunar base chests in groups of 1.
Powered rail can be found in 23.0% of chest minecarts in sulfur cave mineshaft and 27.1% of chest minecarts in mineshaft in stacks of 1–4.
Bedrock Edition they can be found in 23.0% of chest minecarts in sulfur cave mineshaft and 27.1% of chest minecarts in mineshaft in stacks of 1–4.
Prismarine crystals can be found in 13.3% of lunar base chests in stacks of 1–8.
Prismarine crystals can be found in 59.9% of buried treasure chests in stacks of 1–5.
Bedrock Edition they can be found in 53.1% of buried treasure chests in stacks of 1–5.
Prismarine shards can be found in 13.3% of lunar base chests in stacks of 2–16.
Prize pottery sherds can be found in 12.5% of desert pyramid chests in stacks of 1.
Bedrock Edition they can be found in 12.5% of desert pyramid chests in stacks of 1.
Pufferfish buckets can be found in 3.9% of lunar base chests in groups of 1.
Pumpkin pie can be found in 9.7% of taiga village house chests in stacks of 1.
Bedrock Edition they can be found in 10.7% of taiga village house chests in stacks of 1.
Pumpkin seeds can be found in 13.5% of woodland mansion chests, 27.3% of chest minecarts in sulfur cave mineshaft, 27.3% of chest minecarts in mineshaft, and 18.5% of monster room chests, all in stacks of 2–4; and in 40.6% of taiga village house chests in stacks of 1–5.
Bedrock Edition they can be found in 43.7% of taiga village house chests in stacks of 1–5, in 33.3% of bonus chest chests in stacks of 1–2, and in 17.2% of woodland mansion chests, 27.3% of chest minecarts in sulfur cave mineshaft, 27.3% of chest minecarts in mineshaft, and 18.5% of monster room chests, all in stacks of 2–4.
Pumpkin seeds can be found in 4.2% of lunar base chests and 6.2% of lunar base chests in stacks of 1.
Pumpkins can be found in 14.4% of shipwreck supply chests in stacks of 1–3.
Bedrock Edition they can be found in 14.4% of shipwreck supply chests in stacks of 1–3.
Purple candles can be found in 4.4% of trail ruins chests in stacks of 1.
Bedrock Edition they can be found in 4.4% of trail ruins chests in stacks of 1.
Purple stained glass panes can be found in 2.2% of trail ruins chests in stacks of 1.
Bedrock Edition they can be found in 2.2% of trail ruins chests in stacks of 1.
Rabbit's foots can be found in 2.8% of lunar base chests in stacks of 1–3.
Rails can be found in 70.4% of chest minecarts in sulfur cave mineshaft and 78.4% of chest minecarts in mineshaft in stacks of 4–8.
Bedrock Edition they can be found in 70.4% of chest minecarts in sulfur cave mineshaft and 78.4% of chest minecarts in mineshaft in stacks of 4–8.
Raiser armor trim smithing templates can be found in 8.3% of Trail Ruins chests in stacks of 1.
Bedrock Edition they can be found in 8.3% of Trail Ruins chests in stacks of 1.
Random lingering potions[U] can be found in 10.9% of bonus barrel chests in stacks of 1.
Random potions[U] can be found in 10.9% of bonus barrel chests in stacks of 1.
Random splash potions[U] can be found in 10.9% of bonus barrel chests in stacks of 1.
Random tipped arrows[U] can be found in 10.9% of bonus barrel chests in stacks of 1–20.
Raw beef can be found in 48.6% of village butcher chests in stacks of 1–3.
Bedrock Edition they can be found in 48.6% of village butcher chests in stacks of 1–3.
Raw cod can be found in 43.0% of village fisherman chests in stacks of 1–3.
Raw mutton can be found in 48.6% of village butcher chests in stacks of 1–3.
Bedrock Edition they can be found in 48.6% of village butcher chests in stacks of 1–3.
Raw porkchops can be found in 48.6% of village butcher chests in stacks of 1–3, and in 22.8% of bastion remnant hoglin stable chests in stacks of 2–5.
Bedrock Edition they can be found in 48.6% of village butcher chests in stacks of 1–3, and in 22.8% of bastion remnant hoglin stable chests in stacks of 2–5.
Raw salmon can be found in 24.2% of village fisherman chests in stacks of 1–3, and in 61.5% of bonus chest chests in stacks of 1–2.
Bedrock Edition they can be found in all bonus chest chests in stacks of 1–2.
Red candles can be found in 4.4% of trail ruins chests in stacks of 1.
Bedrock Edition they can be found in 4.4% of trail ruins chests in stacks of 1.
Red keys can be found in 20.8% of bonus barrel chests in stacks of 1.
Red mushrooms can be found in 4.2% of lunar base chests in stacks of 1.
Red stained glass panes can be found in 2.2% of trail ruins chests in stacks of 1.
Bedrock Edition they can be found in 2.2% of trail ruins chests in stacks of 1.
Red tulips can be found in 0.9% of lunar base chests in stacks of 1.
Redstone dust can be found in 44.8% of village temple chests, 19.7% of woodland mansion chests, and 26.6% of monster room chests, all in stacks of 1–4; and in 11.9% of stronghold altar chests, 18.6% of stronghold storeroom chests, 14.5% of chest minecarts in sulfur cave mineshaft, and 14.5% of chest minecarts in mineshaft, all in stacks of 4–9.
Bedrock Edition they can be found in 44.8% of village temple chests, 24.9% of woodland mansion chests, and 26.6% of monster room chests, all in stacks of 1–4; and in 11.5% of stronghold altar chests, 15.2% of stronghold storeroom chests, 14.5% of chest minecarts in sulfur cave mineshaft, and 14.5% of chest minecarts in mineshaft, all in stacks of 4–9.
Redstone dusts can be found in 13.3% of lunar base chests in stacks of 8–32.
Resin clumps can be found in 53.8% of woodland mansion chests in stacks of 2–4.
Bedrock Edition they can be found in 17.2% of woodland mansion chests in stacks of 2–4.
Rib armor trim smithing templates can be found in 6.7% of nether fortress chests in stacks of 1.
Bedrock Edition they can be found in 6.7% of nether fortress chests in stacks of 1.
Rose bushes can be found in 0.9% of lunar base chests in stacks of 1.
Rotten flesh can be found in 57.1% of small ocean ruins chests and 55.3% of igloo chests in stacks of 1; in 89.3% of village temple chests in stacks of 1–4; in 32.2% of shipwreck supply chests in stacks of 5–24; in 57.8% of woodland mansion chests, 59.0% of desert pyramid chests, and 57.8% of monster room chests, all in stacks of 1–8; and in 52.9% of jungle pyramid chests and 27.1% of desert pyramid chests in stacks of 3–7.
Bedrock Edition they can be found in 57.1% of small ocean ruins chests and 55.3% of igloo chests in stacks of 1; in 89.3% of village temple chests in stacks of 1–4; in 32.2% of shipwreck supply chests in stacks of 5–24; in 57.8% of woodland mansion chests, 59.0% of desert pyramid chests, and 57.8% of monster room chests, all in stacks of 1–8; and in 52.9% of jungle pyramid chests and 27.1% of desert pyramid chests in stacks of 3–7.
Saddles can be found in 12.7% of end city chests, 33.3% of nether fortress chests, 12.0% of bastion remnant hoglin stable chests, 11.3% of savanna village house chests, 14.4% of village weaponsmith chests, and 17.3% of village tannery chests, all in groups of 1. Java Edition 26.3 they can be found in 27.5% of abandoned camp common chest chests in groups of 1.
Bedrock Edition they can be found in 12.7% of end city chests, 33.3% of nether fortress chests, 13.6% of bastion remnant hoglin stable chests, 11.3% of savanna village house chests, 14.4% of village weaponsmith chests, and 17.3% of village tannery chests, all in groups of 1. Bedrock Edition 26.40 they can be found in 27.5% of abandoned camp common chest chests in groups of 1.
Sand can be found in 36.8% of lunar base chests in stacks of 5–64.
Sand can be found in 59.0% of desert pyramid chests in stacks of 1–8.
Bedrock Edition they can be found in 59.0% of desert pyramid chests in stacks of 1–8.
Scaffoldings can be found in 19.6% of Trial Chambers corridor chests in stacks of 2–10.
Bedrock Edition they can be found in 19.6% of Trial Chambers corridor chests in stacks of 2–10.
Sculk catalysts can be found in 16.5% of Ancient City chests in stacks of 1–2.
Bedrock Edition they can be found in 16.5% of Ancient City chests in stacks of 1–2.
Sculk catalysts can be found in 3.9% of lunar base chests in stacks of 1.
Sculk sensors can be found in 23.7% of Ancient City chests in stacks of 1–3.
Bedrock Edition they can be found in 23.7% of Ancient City chests in stacks of 1–3.
Sculks can be found in 23.7% of Ancient City chests in stacks of 4–10.
Bedrock Edition they can be found in 23.7% of Ancient City chests in stacks of 4–10.
Sea pickles can be found in 4.2% of lunar base chests in stacks of 2–4.
Sentry armor trim smithing templates can be found in 25.0% of pillager outpost chests in stacks of 2.
Bedrock Edition they can be found in 25.0% of pillager outpost chests in stacks of 2.
Shaper armor trim smithing templates can be found in 8.3% of Trail Ruins chests in stacks of 1.
Bedrock Edition they can be found in 8.3% of Trail Ruins chests in stacks of 1.
Sheaf pottery sherds can be found in 8.3% of Trail Ruins chests in stacks of 1.
Bedrock Edition they can be found in 8.3% of Trail Ruins chests in stacks of 1.
Shears can be found in 12.3% of village shepherd chests in groups of 1. Java Edition 26.3 they can be found in 19.0% of abandoned camp common chest chests in groups of 1.
Bedrock Edition they can be found in 12.3% of village shepherd chests in groups of 1. Bedrock Edition 26.40 they can be found in 19.0% of abandoned camp common chest chests in groups of 1.
Sheep spawn eggs can be found in 3.9% of lunar base chests in stacks of 1.
Shelter pottery sherds can be found in 6.7% of warm ocean Ruins chests in stacks of 1.
Bedrock Edition they can be found in 6.7% of warm ocean Ruins chests in stacks of 1.
Short grass can be found in 45.9% of savanna village house chests in stacks of 1.
Bedrock Edition they can be found in 45.9% of savanna village house chests in stacks of 1.
Silence armor trim smithing templates can be found in 1.2% of Ancient City chests in stacks of 1.
Bedrock Edition they can be found in 1.2% of Ancient City chests in stacks of 1.
Skull pottery sherds can be found in 12.5% of desert pyramid chests in stacks of 1.
Bedrock Edition they can be found in 12.5% of desert pyramid chests in stacks of 1.
Slimeballs can be found in 13.3% of lunar base chests in stacks of 8–32.
Smooth stone can be found in 20.8% of village mason chests in stacks of 1.
Bedrock Edition they can be found in 20.8% of village mason chests in stacks of 1.
Sniffer eggs can be found in 2.0% of lunar base chests in stacks of 1.
Sniffer eggs can be found in 6.7% of warm ocean Ruins chests in stacks of 1.
Bedrock Edition they can be found in 6.7% of warm ocean Ruins chests in stacks of 1.
Snort pottery sherds can be found in 6.7% of warm ocean Ruins chests in stacks of 1.
Bedrock Edition they can be found in 6.7% of warm ocean Ruins chests in stacks of 1.
Snout armor trim smithing templates can be found in 8.3% of bastion remnant bridge chests, 8.3% of bastion remnant hoglin stable chests, 8.3% of bastion remnant treasure chests, and 8.3% of bastion remnant chests, all in stacks of 1.
Bedrock Edition they can be found in 8.3% of bastion remnant bridge chests, 8.3% of bastion remnant hoglin stable chests, 8.3% of bastion remnant treasure chests, and 8.3% of bastion remnant chests, all in stacks of 1.
Snout banner patterns can be found in 10.1% of bastion remnant chests in groups of 1.
Bedrock Edition they can be found in 10.1% of bastion remnant chests in groups of 1.
Snow blocks can be found in 18.7% of lunar base chests in stacks of 1–4, and in 19.8% of lunar base chests in stacks of 1–3.
Snow blocks can be found in 34.5% of snowy village house chests in stacks of 1.
Bedrock Edition they can be found in 34.5% of snowy village house chests in stacks of 1.
Snowballs can be found in 97.0% of Ancient City chests in stacks of 2–6, in 66.3% of snowy village house chests in stacks of 1–7, and in 20.7% of dispensers in trial chambers chamber dispenser in stacks of 4–8.
Bedrock Edition they can be found in 97.0% of Ancient City chests in stacks of 2–6, in 66.3% of snowy village house chests in stacks of 1–7, and in 20.7% of dispensers in trial chambers chamber dispenser in stacks of 4–8.
Soul sand can be found in 18.7% of lunar base chests in stacks of 1–4.
Soul sands can be found in 22.8% of bastion remnant hoglin stable chests in stacks of 2–7.
Bedrock Edition they can be found in 22.8% of bastion remnant hoglin stable chests in stacks of 2–7.
Soul torches can be found in 36.5% of Ancient City chests in stacks of 1–15.
Bedrock Edition they can be found in 36.5% of Ancient City chests in stacks of 1–15.
Spectral arrows can be found in 11.2% of bastion remnant chests in stacks of 10–22, in 33.7% of bastion remnant treasure chests in stacks of 12–25, and in 11.2% of bastion remnant bridge chests in stacks of 10–28.
Spider eyes can be found in 27.1% of desert pyramid chests in stacks of 1–3.
Bedrock Edition they can be found in 27.1% of desert pyramid chests in stacks of 1–3.
Spider eyes can be found in 6.8% of lunar base chests in stacks of 1–3.
Spire armor trim smithing templates can be found in 6.7% of end city chests in stacks of 1.
Bedrock Edition they can be found in 6.7% of end city chests in stacks of 1.
Splash Potion of Poisons can be found in 3.4% of dispensers in trial chambers chamber dispenser in stacks of 2–5.
Bedrock Edition they can be found in 3.4% of dispensers in trial chambers chamber dispenser in stacks of 2–5.
Splash Potion of Slownesses can be found in 3.4% of dispensers in trial chambers chamber dispenser in stacks of 2–5.
Bedrock Edition they can be found in 3.4% of dispensers in trial chambers chamber dispenser in stacks of 2–5.
Splash Potion of Weaknesses can be found in 3.4% of dispensers in trial chambers chamber dispenser in stacks of 2–5.
Bedrock Edition they can be found in 3.4% of dispensers in trial chambers chamber dispenser in stacks of 2–5.
Spore blossoms can be found in 1.7% of lunar base chests in stacks of 1.
Spruce hanging signs can be found in 2.2% of trail ruins chests in stacks of 1.
Bedrock Edition they can be found in 2.2% of trail ruins chests in stacks of 1.
Spruce logs can be found in 26.2% of bonus chest chests in stacks of 1–3, and in 65.6% of taiga village house chests in stacks of 1–5.
Bedrock Edition they can be found in 25.0% of bonus chest chests in stacks of 1–3, and in 69.3% of taiga village house chests in stacks of 1–5.
Spruce saplings can be found in 40.6% of taiga village house chests in stacks of 1–5.
Bedrock Edition they can be found in 14.3% of bonus chest chests in stacks of 4, and in 43.7% of taiga village house chests in stacks of 1–5.
Spruce saplings can be found in 6.2% of lunar base chests in stacks of 1–4, and in 4.2% of lunar base chests in stacks of 1–2.
Spruce signs can be found in 9.7% of taiga village house chests in stacks of 1.
Spyglasses can be found in 3.9% of lunar base chests in groups of 1.
Steak can be found in 21.0% of trial chambers ominous spawner chests in stacks of 1–2.
Bedrock Edition they can be found in 21.0% of trial chambers ominous spawner chests in stacks of 1–2.
Sticks can be found in 12.5% of desert well chests in stacks of 1, in 55.8% of village fletcher chests and 90.0% of village toolsmith chests in stacks of 1–3, in 26.3% of village cartographer chests in stacks of 1–2, in 67.3% of bonus chest chests in stacks of 1–12, and in 31.0% of trial chambers entrance chests in stacks of 2–5.
Bedrock Edition they can be found in 12.5% of desert well chests in stacks of 1, in 31.0% of trial chambers entrance chests in stacks of 2–5, in all bonus chest chests in stacks of 1–12, and in 55.8% of village fletcher chests and 90.0% of village toolsmith chests in stacks of 1–3.
Stone axes can be found in 28.5% of small ocean ruins chests, 14.7% of igloo chests, and 25.0% of bonus chest chests, all in groups of 1.
Bedrock Edition they can be found in 28.5% of small ocean ruins chests, 14.7% of igloo chests, and 25.0% of bonus chest chests, all in groups of 1.
Stone bricks can be found in 37.7% of village mason chests in stacks of 1.
Bedrock Edition they can be found in 37.7% of village mason chests in stacks of 1.
Stone can be found in 37.7% of village mason chests in stacks of 1.
Bedrock Edition they can be found in 37.7% of village mason chests in stacks of 1.
Stone pickaxes can be found in 25.0% of bonus chest chests in groups of 1.
Bedrock Edition they can be found in 25.0% of bonus chest chests in groups of 1.
Stone spears can be found in 28.5% of small ocean ruins chests and 26.3% of big ocean ruins chests in groups of 1.
Bedrock Edition they can be found in 28.5% of small ocean ruins chests and 26.3% of big ocean ruins chests in groups of 1.
String can be found in 2.2% of trail ruins chests in stacks of 1; in 22.8% of bastion remnant hoglin stable chests in stacks of 3–8; in 57.8% of woodland mansion chests, 59.0% of desert pyramid chests, and 57.8% of monster room chests, all in stacks of 1–8; in 24.4% of bastion remnant chests in stacks of 4–6; and in 47.9% of bastion remnant bridge chests and 39.1% of pillager outpost chests in stacks of 1–6. Java Edition 26.3 they can be found in 33.6% of abandoned camp barrel chests in stacks of 1–2.
Bedrock Edition they can be found in 2.2% of trail ruins chests in stacks of 1; in 22.8% of bastion remnant hoglin stable chests in stacks of 3–8; in 57.8% of woodland mansion chests, 59.0% of desert pyramid chests, and 57.8% of monster room chests, all in stacks of 1–8; in 24.4% of bastion remnant chests in stacks of 4–6; and in 47.9% of bastion remnant bridge chests and 39.1% of pillager outpost chests in stacks of 1–6. Bedrock Edition 26.40 they can be found in 33.6% of abandoned camp barrel chests in stacks of 1–2.
Strings can be found in 14.3% of lunar base chests in stacks of 1–8.
Sugar canes can be found in 4.2% of lunar base chests in stacks of 2–4.
Sunflowers can be found in 0.9% of lunar base chests in stacks of 1.
Suspicious stew[G] can be found in 54.9% of Ancient City chests in stacks of 2–6.
Bedrock Edition they can be found in 54.9% of Ancient City chests in stacks of 2–6.
Suspicious stew[N] can be found in 12.5% of desert well chests and 54.3% of shipwreck supply chests in stacks of 1.
Bedrock Edition they can be found in 12.5% of desert well chests and 54.3% of shipwreck supply chests in stacks of 1.
Sweet berries can be found in 4.2% of lunar base chests in stacks of 1.
Sweet berries can be found in 40.6% of taiga village house chests in stacks of 1–7.
TNT can be found in 12.5% of desert pyramid chests in stacks of 1, and in 7.5% of shipwreck supply chests and 62.7% of buried treasure chests in stacks of 1–2.
Bedrock Edition they can be found in 12.5% of desert pyramid chests in stacks of 1, in 62.7% of buried treasure chests in stacks of 1–5, and in 7.5% of shipwreck supply chests in stacks of 1–2.
Tall grass can be found in 45.9% of savanna village house chests in stacks of 1.
Bedrock Edition they can be found in 45.9% of savanna village house chests in stacks of 1.
Torches can be found in 57.8% of chest minecarts in sulfur cave mineshaft and 65.7% of chest minecarts in mineshaft in stacks of 1–16, in 19.6% of Trial Chambers corridor chests and 20.4% of trial chambers supply chests in stacks of 3–6, and in 11.3% of savanna village house chests in stacks of 1–2.
Bedrock Edition they can be found in 57.8% of chest minecarts in sulfur cave mineshaft and 65.7% of chest minecarts in mineshaft in stacks of 1–16, in 19.6% of Trial Chambers corridor chests and 20.4% of trial chambers supply chests in stacks of 3–6, and in 11.3% of savanna village house chests in stacks of 1–2.
Trial keys can be found in 2.8% of trial chambers corridor pot chests, 50.0% of trial chambers spawner chests, and 6.8% of trial chambers entrance chests, all in stacks of 1.
Bedrock Edition they can be found in 2.8% of trial chambers corridor pot chests, 50.0% of trial chambers spawner chests, and 6.8% of trial chambers entrance chests, all in stacks of 1.
Tridents can be found in 2.1% of trial chambers vault chests in stacks of 1.
Bedrock Edition they can be found in 2.1% of trial chambers vault chests in stacks of 1.
Tripwire hooks can be found in 30.5% of pillager outpost chests in stacks of 1–3.
Bedrock Edition they can be found in 30.5% of pillager outpost chests in stacks of 1–3.
Tube coral blocks can be found in 2.0% of lunar base chests in stacks of 1–4.
Tuffs can be found in 28.4% of Trial Chambers corridor chests in stacks of 8–20, and in 20.4% of trial chambers supply chests in stacks of 5–10.
Bedrock Edition they can be found in 28.4% of Trial Chambers corridor chests in stacks of 8–20, and in 20.4% of trial chambers supply chests in stacks of 5–10.
Turtle eggs can be found in 3.9% of lunar base chests in stacks of 1.
Vex armor trim smithing templates can be found in 50.0% of woodland mansion chests in stacks of 1.
Bedrock Edition they can be found in 50.0% of woodland mansion chests in stacks of 1.
Villager spawn eggs can be found in 9.7% of lunar base chests in stacks of 1.
Ward armor trim smithing templates can be found in 5.0% of Ancient City chests in stacks of 1.
Bedrock Edition they can be found in 5.0% of Ancient City chests in stacks of 1.
Warped nylium can be found in 0.9% of lunar base chests in stacks of 1.
Water buckets can be found in 13.8% of dispensers in trial chambers chamber dispenser and all dispensers in trial chambers water dispenser in groups of 1, and in 24.2% of village fisherman chests in groups of 1–3.
Bedrock Edition they can be found in 13.8% of dispensers in trial chambers chamber dispenser and all dispensers in trial chambers water dispenser in groups of 1.
Water buckets can be found in 9.7% of lunar base chests and 4.2% of lunar base chests in groups of 1.
Wayfinder armor trim smithing templates can be found in 8.3% of Trail Ruins chests in stacks of 1.
Bedrock Edition they can be found in 8.3% of Trail Ruins chests in stacks of 1.
Wheat can be found in 4.4% of trail ruins chests, 13.3% of warm ocean Ruins chests, and 13.3% of cold ocean ruins chests, all in stacks of 1; in 25.5% of woodland mansion chests and 34.1% of monster room chests in stacks of 1–4; in 80.6% of desert village house chests in stacks of 1–7; in 82.1% of small ocean ruins chests, 55.3% of igloo chests, and 78.9% of big ocean ruins chests, all in stacks of 2–3; in 42.1% of shipwreck supply chests in stacks of 8–21; in 72.5% of pillager outpost chests in stacks of 3–5; in 48.6% of village butcher chests in stacks of 1–3; and in 55.8% of village shepherd chests in stacks of 1–6. Java Edition 26.3 they can be found in 33.6% of abandoned camp barrel chests in stacks of 1–4.
Bedrock Edition they can be found in 4.4% of trail ruins chests, 13.3% of warm ocean Ruins chests, and 13.3% of cold ocean ruins chests, all in stacks of 1; in 31.9% of woodland mansion chests and 34.1% of monster room chests in stacks of 1–4; in 80.6% of desert village house chests in stacks of 1–7; in 82.1% of small ocean ruins chests, 55.3% of igloo chests, and 78.9% of big ocean ruins chests, all in stacks of 2–3; in 42.1% of shipwreck supply chests in stacks of 8–21; in 72.5% of pillager outpost chests in stacks of 3–5; in 48.6% of village butcher chests in stacks of 1–3; and in 55.8% of village shepherd chests in stacks of 1–6. Bedrock Edition 26.40 they can be found in 33.6% of abandoned camp barrel chests in stacks of 1–4.
Wheat seeds can be found in 2.2% of trail ruins chests in stacks of 1, in 57.5% of village fisherman chests in stacks of 1–3, and in 71.7% of savanna village house chests in stacks of 1–5.
Bedrock Edition they can be found in 2.2% of trail ruins chests in stacks of 1, and in 71.7% of savanna village house chests in stacks of 1–5.
Wheat seeds can be found in 4.2% of lunar base chests and 6.2% of lunar base chests in stacks of 1–4.
White dye can be found in 4.4% of trail ruins chests in stacks of 1.
Bedrock Edition they can be found in 4.4% of trail ruins chests in stacks of 1.
White tulips can be found in 0.9% of lunar base chests in stacks of 1.
White wool can be found in 55.8% of village shepherd chests in stacks of 1–8.
Bedrock Edition they can be found in 55.8% of village shepherd chests in stacks of 1–8.
Wild armor trim smithing templates can be found in 33.3% of jungle pyramid chests in stacks of 2.
Bedrock Edition they can be found in 33.3% of jungle pyramid chests in stacks of 2.
Wind charges can be found in 24.0% of trial chambers vault chests in stacks of 1–3, and in 47.4% of trial chambers ominous vault chests in stacks of 8–12.
Bedrock Edition they can be found in 29.6% of trial chambers vault chests in stacks of 1–3, and in 47.4% of trial chambers ominous vault chests in stacks of 8–12.
Wind charges can be found in 8.5% of trial chambers vault chests in stacks of 4–12.
Bedrock Edition they can be found in 10.7% of trial chambers vault chests in stacks of 4–12.
Wither skeleton skulls can be found in 0.9% of lunar base chests in stacks of 3.
Wooden axes can be found in 55.1% of trial chambers entrance chests and 75.0% of bonus chest chests in groups of 1. Java Edition 26.3 they can be found in 33.6% of abandoned camp barrel chests in groups of 1.
Bedrock Edition they can be found in 55.1% of trial chambers entrance chests and 75.0% of bonus chest chests in groups of 1. Bedrock Edition 26.40 they can be found in 33.6% of abandoned camp barrel chests in groups of 1.
Wooden hoes can be found in 4.4% of trail ruins chests, 13.3% of warm ocean Ruins chests, and 13.3% of cold ocean ruins chests, all in groups of 1.
Bedrock Edition they can be found in 4.4% of trail ruins chests, 13.3% of warm ocean Ruins chests, and 13.3% of cold ocean ruins chests, all in groups of 1.
Wooden pickaxes can be found in 75.0% of bonus chest chests in groups of 1.
Bedrock Edition they can be found in 75.0% of bonus chest chests in groups of 1.
Yellow dye can be found in 4.4% of trail ruins chests and 20.8% of village mason chests in stacks of 1.
Bedrock Edition they can be found in 4.4% of trail ruins chests and 20.8% of village mason chests in stacks of 1.
Yellow keys can be found in 8.3% of bonus barrel chests in stacks of 1.
Yellow stained glass panes can be found in 2.2% of trail ruins chests in stacks of 1.
Bedrock Edition they can be found in 2.2% of trail ruins chests in stacks of 1.
Java Edition 26.3Potion of Healing can be found in 36.0% of abandoned camp secret chest chests in stacks of 1.
Bedrock Edition 26.40 they can be found in 36.0% of abandoned camp secret chest chests in stacks of 1.
Java Edition 26.3Potion of Leaping can be found in 36.0% of abandoned camp secret chest chests in stacks of 1.
Bedrock Edition 26.40 they can be found in 36.0% of abandoned camp secret chest chests in stacks of 1.
Java Edition 26.3Potion of Night Vision can be found in 36.0% of abandoned camp secret chest chests in stacks of 1.
Bedrock Edition 26.40 they can be found in 36.0% of abandoned camp secret chest chests in stacks of 1.
Java Edition 26.3bow can be found in 19.0% of abandoned camp common chest chests in groups of 1.
Bedrock Edition 26.40 they can be found in 19.0% of abandoned camp common chest chests in groups of 1.
Java Edition 26.3bowls can be found in 33.6% of abandoned camp barrel chests in stacks of 1–2.
Bedrock Edition 26.40 they can be found in 33.6% of abandoned camp barrel chests in stacks of 1–2.
Java Edition 26.3cobwebs can be found in 27.5% of abandoned camp common chest chests and 33.6% of abandoned camp barrel chests in stacks of 1.
Bedrock Edition 26.40 they can be found in 27.5% of abandoned camp common chest chests and 33.6% of abandoned camp barrel chests in stacks of 1.
Java Edition 26.3copper axes can be found in 19.0% of abandoned camp common chest chests in groups of 1.
Bedrock Edition 26.40 they can be found in 19.0% of abandoned camp common chest chests in groups of 1.
Java Edition 26.3copper boots can be found in 19.0% of abandoned camp common chest chests in groups of 1.
Bedrock Edition 26.40 they can be found in 19.0% of abandoned camp common chest chests in groups of 1.
Java Edition 26.3copper chestplate can be found in 19.0% of abandoned camp common chest chests in groups of 1.
Bedrock Edition 26.40 they can be found in 19.0% of abandoned camp common chest chests in groups of 1.
Java Edition 26.3copper ingots can be found in 75.6% of abandoned camp secret chest chests in stacks of 1–2.
Bedrock Edition 26.40 they can be found in 75.6% of abandoned camp secret chest chests in stacks of 1–2.
Java Edition 26.3copper leggings can be found in 19.0% of abandoned camp common chest chests in groups of 1.
Bedrock Edition 26.40 they can be found in 19.0% of abandoned camp common chest chests in groups of 1.
Java Edition 26.3copper swords can be found in 19.0% of abandoned camp common chest chests in groups of 1.
Bedrock Edition 26.40 they can be found in 19.0% of abandoned camp common chest chests in groups of 1.
Java Edition 26.3empty maps can be found in 27.5% of abandoned camp common chest chests in stacks of 1–2.
Bedrock Edition 26.40 they can be found in 27.5% of abandoned camp common chest chests in stacks of 1–2.
Java Edition 26.3firework rockets can be found in 27.5% of abandoned camp common chest chests in stacks of 2–4.
Bedrock Edition 26.40 they can be found in 27.5% of abandoned camp common chest chests in stacks of 2–4.
Java Edition 26.3fishing rods can be found in 27.5% of abandoned camp common chest chests and 33.6% of abandoned camp barrel chests in stacks of 1.
Bedrock Edition 26.40 they can be found in 27.5% of abandoned camp common chest chests and 33.6% of abandoned camp barrel chests in stacks of 1.
Java Edition 26.3glass bottles can be found in 27.5% of abandoned camp common chest chests in stacks of 1–4, and in 33.6% of abandoned camp barrel chests in stacks of 1–3.
Bedrock Edition 26.40 they can be found in 27.5% of abandoned camp common chest chests in stacks of 1–4, and in 33.6% of abandoned camp barrel chests in stacks of 1–3.
Java Edition 26.3rabbit hides can be found in 27.5% of abandoned camp common chest chests and 33.6% of abandoned camp barrel chests in stacks of 1–4.
Bedrock Edition 26.40 they can be found in 27.5% of abandoned camp common chest chests and 33.6% of abandoned camp barrel chests in stacks of 1–4.
Java Edition 26.3spyglass can be found in 19.0% of abandoned camp common chest chests in groups of 1.
Bedrock Edition 26.40 they can be found in 19.0% of abandoned camp common chest chests in groups of 1.
Java Edition 26.3white candles can be found in 27.5% of abandoned camp common chest chests and 33.6% of abandoned camp barrel chests in stacks of 1–3.
Bedrock Edition 26.40 they can be found in 27.5% of abandoned camp common chest chests and 33.6% of abandoned camp barrel chests in stacks of 1–3.
/data get entity @s.
localsprite=require('Module:SpriteFile') localq localp={ calc_average_amount_this_item_per_pool=function( min_stacksize,max_stacksize, min_pool_rolls,max_pool_rolls, item_weight,pool_total_item_weight) localavg_stacksize=(min_stacksize+max_stacksize)/2 localavg_rolls=(min_pool_rolls+max_pool_rolls)/2 returnavg_stacksize*avg_rolls*item_weight/pool_total_item_weight end, calc_chance_any_of_this_item_per_pool=function( min_pool_rolls,max_pool_rolls, item_weight,pool_total_item_weight) localinverse_result=0-- 1 - inverse_result = return value localinverse_item_weight=pool_total_item_weight-item_weight -- will be used for the division in the for loop to avoid the slightly -- less performant math.pow(). The divisor already includes the probability -- of picking any specific number of rolls. localcur_dividend=pool_total_item_weight localcur_divisor=pool_total_item_weight*(max_pool_rolls-min_pool_rolls+1) fori=0,max_pool_rollsdo ifi>=min_pool_rollsthen inverse_result=inverse_result+cur_dividend/cur_divisor end cur_dividend=cur_dividend*inverse_item_weight-- simulate pow cur_divisor=cur_divisor*pool_total_item_weight-- simulate pow end return1-inverse_result end, java="''[[Java Edition]]''",--mw.getCurrentFrame():preprocess("''[[Java Edition]]''") --if necessary ['java-upcoming']="[[Java Edition 26.3]]", bedrock="''[[Bedrock Edition]]''",--mw.getCurrentFrame():preprocess("''[[Bedrock Edition]]''") ['bedrock-upcoming']="[[Bedrock Edition 26.40]]", -- These 'items' define which sprite, label and link to use in the table. -- Properties 'cannot_stack', 'preserve_case', and 'plural' describe how to display the single-item summary in p.base2. -- Order within this 'items' list doesn't matter. items=require("Module:LootChest/items"), notes={ ["enchant-randomly"]="All enchantments are equally probable, ''including'' [[treasure enchantment]]s (except [[Soul Speed]], [[Swift Sneak]], and [[Wind Burst]]), and any level of the enchantment is equally probable.", ["enchant-randomly-efficiency"]="Enchanted with a random level of [[Efficiency]].", ["enchant-randomly-mending"]="Enchanted with [[Mending]].", ["enchant-unknown"]="Enchanted with unknown enchantments", ["enchant-randomly-quick-charge"]="Enchanted with a random level of [[Quick Charge]].", ["enchant-randomly-soul-speed"]="Enchanted with a random level of [[Soul Speed]].", ["enchant-randomly-swift-sneak"]="Enchanted with a random level of [[Swift Sneak]].", ["enchant-randomly-unbreaking"]="Enchanted with a random level of [[Unbreaking]].", ["enchant-randomly-trident"]="Enchanted with a random level of [[Mending]], [[Riptide]], [[Loyalty]], [[Channeling]], or [[Impaling]].", ["enchant-randomly-trial-chambers"]="Enchanted with a random level of [[Sharpness]], [[Bane of Arthropods]], [[Efficiency]], [[Fortune]], [[Silk Touch]], or [[Feather Falling]].", ["enchant-randomly-trial-chambers-2"]="Enchanted with a random level of [[Knockback]], [[Punch]], [[Smite]], [[Looting]], or [[Multishot]].", ["enchant-randomly-breach-density"]="Enchanted with a random level of [[Breach]], or [[Density]].", ["enchant-randomly-wind-burst"]="Enchanted with level I of [[Wind Burst]].", ["enchant-with-levels-0-10"]="Enchantment probabilities are the same as a level-0 to level-10 [[enchantment mechanics|enchantment]] would be on an [[enchanting table]] that was able to apply [[treasure enchantment]]s (except [[Soul Speed]], [[Swift Sneak]], and [[Wind Burst]]), and where the chance of multiple enchantments is not reduced.", ["enchant-with-levels-5-15"]="Enchantment probabilities are the same as a level-5 to level-15 [[enchantment mechanics|enchantment]] would be on an [[enchanting table]] that was able to apply [[treasure enchantment]]s (except [[Soul Speed]], [[Swift Sneak]], and [[Wind Burst]]), and where the chance of multiple enchantments is not reduced.", ["enchant-with-levels-5-20"]="Enchantment probabilities are the same as a level-5 to level-20 [[enchantment mechanics|enchantment]] would be on an [[enchanting table]] that was able to apply [[treasure enchantment]]s (except [[Soul Speed]], [[Swift Sneak]], and [[Wind Burst]]), and where the chance of multiple enchantments is not reduced.", ["enchant-with-levels-10-20"]="Enchantment probabilities are the same as a level-10 to level-20 [[enchantment mechanics|enchantment]] would be on an [[enchanting table]] that was able to apply [[treasure enchantment]]s (except [[Soul Speed]], [[Swift Sneak]], and [[Wind Burst]]), and where the chance of multiple enchantments is not reduced.", ["enchant-with-levels-20-25"]="Enchantment probabilities are the same as a level-20 to level-25 [[enchantment mechanics|enchantment]] would be on an [[enchanting table]] that was able to apply [[treasure enchantment]]s (except [[Soul Speed]], [[Swift Sneak]], and [[Wind Burst]]), and where the chance of multiple enchantments is not reduced.", ["enchant-with-levels-20-39"]="Enchantment probabilities are the same as a level-20 to level-39 [[enchantment mechanics|enchantment]] would be on an [[enchanting table]] that had no cap at level 30, and that was able to apply [[treasure enchantment]]s (except [[Soul Speed]], [[Swift Sneak]], and [[Wind Burst]]), and where the chance of multiple enchantments is not reduced.", ["enchant-with-levels-30"]="Enchantment probabilities are the same as a level-30 enchantment on an [[enchanting table]] that was able to apply [[treasure enchantment]]s (except [[Soul Speed]], [[Swift Sneak]], and [[Wind Burst]]), and where the chance of multiple enchantments is not reduced.", ["enchant-with-levels-30-50"]="Enchantment probabilities are the same as a level-30 to level-50 [[enchantment mechanics|enchantment]] would be on an [[enchanting table]] that had no cap at level 30, and that was able to apply [[treasure enchantment]]s (except [[Soul Speed]], [[Swift Sneak]], and [[Wind Burst]]), and where the chance of multiple enchantments is not reduced.", ["damaged-0.05-0.15"]="The item has between 5% and 15% of its total durability.", ["damaged-0.1-0.5"]="The item has between 10% and 50% of its total durability.", ["damaged-0.1-0.9"]="The item has between 10% and 90% of its total durability.", ["damaged-0.1-0.95"]="The item has between 10% and 95% of its total durability.", ["damaged-0.15-0.45"]="The item has between 15% and 45% of its total durability.", ["damaged-0.15-0.8"]="The item has between 15% and 80% of its total durability.", ["damaged-0.15-0.85"]="The item has between 15% and 85% of its total durability.", ["damaged-0.15-0.95"]="The item has between 15% and 95% of its total durability.", ["damaged-0.2-0.65"]="The item has between 20% and 65% of its total durability.", ["damaged-0.4-0.9"]="The item has between 40% and 90% of its total durability.", ["damaged-0.5-1.0"]="The item has between 50% and 100% of its total durability.", ["damaged-0.8-1.0"]="The item has between 80% and 100% of its total durability.", ["nothing"]="'Nothing' does not refer to the chance of an empty chest. Instead, it refers to the chance that the random loot generator does not add any loot ''on a single roll''.", ["suspicious-stew"]="The stew grants one of the following effects: {{in|java}}, 5–7 seconds of [[Blindness]], 7–10 seconds of [[Jump Boost]], 7-10 seconds of [[Night Vision]], 10–20 seconds of [[Poison]], 0.35-0.5 seconds of [[Saturation (effect)|Saturation]], or 6–8 seconds of [[Weakness]]; {{in|bedrock}}, 7 seconds of [[Blindness]], 5 seconds of [[Jump Boost]], 5 seconds of [[Night Vision]], 11 seconds of [[Poison]], 0.3 seconds of [[Saturation (effect)|Saturation]], or 7 seconds of [[Weakness]].", ["suspicious-stew-2"]="The stew grants one of the following effects: {{in|java}}, 5-7 seconds of [[Blindness]], or 7-10 seconds of [[Night Vision]]; {{in|bedrock}}, 7 seconds of [[Blindness]], or 5 seconds of [[Night Vision]].", ["map"]="Named unknown map, but changed to map 0, the scale level is 1:4, Maps from the same stack are stackable, but maps that are not stacked are unstackable despite looking identical.", ["regular-goat-horn"]="Does not contain goat horn variants that drop from screaming goats.", ["ominous-bottle-0-1"]="Ominous bottle level between I and II", ["ominous-bottle-2-4"]="Ominous bottle level between III and V", -- Notes for bonus-barrel from Java Edition 3D Shareware v1.34 ["enchant-with-levels-5-10-no-treasure"]="Enchantment probabilities are the same as a level-5 to level-10 [[enchantment mechanics|enchantment]] would be on an [[enchanting table]] where the chance of multiple enchantments is not reduced.", ["enchant-with-levels-10-20-no-treasure"]="Enchantment probabilities are the same as a level-10 to level-20 [[enchantment mechanics|enchantment]] would be on an [[enchanting table]] where the chance of multiple enchantments is not reduced.", ["enchant-with-levels-1-30-no-treasure"]="Enchantment probabilities are the same as a level-1 to level-30 [[enchantment mechanics|enchantment]] would be on an [[enchanting table]] where the chance of multiple enchantments is not reduced.", ["random-effect"]="The item has a random [[effect]] applied, including empty (uncraftable), water, mundane, thick, or awkward.", ["random-effect-arrow"]="The arrow has an ineffective hidden [[effect]] applied, including empty, water, mundane, thick, or awkward. As it is not a tipped arrow, this has no effect except make it unstackable with arrows that do not match the hidden effect. The effect applied can be seen with {{cmd|data get entity @s}}.", ["enchant-randomly-multishot"]="Any level between 1 and 12 of [[Multishot]] is equally probable.", }, -- <ref group='FN' name='enchant-randomly'> -- NOTE: order here doesn't matter. -- * in the table, chests are sorted in alphabetical order -- * in the table, items are sorted by chance, then by avg#, then alphabetically. -- * If poolsJavaUpcoming is omitted, poolsJava is used. To omit a pool entirely, set it to {}. -- * If the loot is the same on both editions, use the same loot table twice. chests=require("Module:LootChest/chests"), -- these values are used: -- * in place of the keys, when the key is used as a parameter -- chest-param -> internally-valid-chest-param synonyms={ ["desert"]="desert-temple", ["jungle"]="jungle-temple", ["nether"]="nether-fortress", ["nether-fortress"]="nether-fortress", ["armorer"]="village-armorer", ["butcher"]="village-butcher", ["cartographer"]="village-cartographer", ["fisherman"]="village-fisherman", ["fletcher"]="village-fletcher", ["mason"]="village-mason", ["shepherd"]="village-shepherd", ["tannery"]="village-tannery", ["temple"]="village-temple", ["toolsmith"]="village-toolsmith", ["weaponsmith"]="village-weaponsmith", ["desert-house"]="village-desert-house", ["plains-house"]="village-plains-house", ["savanna-house"]="village-savanna-house", ["snowy-house"]="village-snowy-house", ["taiga-house"]="village-taiga-house", ["altar"]="stronghold-altar", ["storeroom"]="stronghold-storeroom", ["library"]="stronghold-library", ["outpost"]="pillager-outpost", ["mansion"]="woodland-mansion", ["trial-vault"]="trial-chambers-reward", ["trial-spawner"]="trial-chambers-trial-spawner" }, -- these values are used: -- * in the header-description of a table showing only a single chest -- * if the key is not here, but it is a valid chest parameter, -- that header-description defaults to use the key string from p.chests, -- e.g. "nether-fortress" -- chest-param -> description-string display_names={ ["dungeon"]="monster room", ["nether-fortress"]="nether fortress", ["nether"]="nether fortress", ["fortress"]="nether fortress", ["desert"]="desert pyramid", ["jungle"]="jungle pyramid", ["desert-temple"]="desert pyramid", ["jungle-temple"]="jungle pyramid", ["brushable-desert-temple"]="desert temple's suspicious sand", ["brushable-cold-ocean-ruins"]="cold ocean ruin's suspicious gravel", ["brushable-warm-ocean-ruins"]="warm ocean ruin's suspicious sand", ["brushable-desert-well"]="desert well's suspicious sand", ["brushable-trail-ruins"]="trail ruin's suspicious gravel", ["brushable-trail-ruins-rare"]="trail ruin's rare suspicious gravel", ["trial-chambers-reward"]="trial chambers vault and reward chest", ["trial-chambers-reward-ominous"]="trial chambers ominous vault", ["trial-chambers-trial-spawner"]="trial chambers trial spawner", ["trial-chambers-trial-spawner-ominous"]="trial chamber ominous trial spawner", ["moon-resuply"]="moon resupply", ["moon-lab"]="moon lab shulker box" }, -- these descriptions are used: -- * in column <abbr> titles, -- * and above the table when only a single column-type is chosen columns={ ["stacksize"]='The size of stacks (or for unstackable items, number) of this item on any given roll.', ["weight"]='The weight of this item relative to other items in the pool.', ["chance"]='The odds of finding any of this item in a single chest.', ["items"]='The number of items expected per chest, averaged over a large number of chests.', ["chests"]='The average number of chests the player should expect to search to find any of this item.' }, current_frame=nil } p.base=function(...) p.current_frame=mw.getCurrentFrame() localargs={...} ifargs[1]==p.current_framethen args=require('Module:ProcessArgs').merge(true) else args=args[1] end -- transform args into usable list localchests,columns=q.massage_args(args) assert(#chests>0,"no valid arguments") q.fill_in_chest_derivative_data(chests) -- construct an ordered list dictating the order of the rows localordered_item_rows_java={} localordered_item_rows_java_upcoming={} localordered_item_rows_bedrock={} localordered_item_rows_bedrock_upcoming={} localret={} localjava_specified=args.javaandargs.java~='0'; localjava_upcoming_specified=args['java-upcoming']andargs['java-upcoming']~='0'; localbedrock_specified=args.bedrockandargs.bedrock~='0'; localbedrock_upcoming_specified=args['bedrock-upcoming']andargs['bedrock-upcoming']~='0'; localany_specified=java_specifiedorjava_upcoming_specifiedorbedrock_specifiedorbedrock_upcoming_specified ifany_specifiedthen ifjava_specifiedthen ordered_item_rows_java=q.construct_ordered_item_rows(chests,'Java') end ifjava_upcoming_specifiedthen ordered_item_rows_java_upcoming=q.construct_ordered_item_rows(chests,'JavaUpcoming') end ifbedrock_specifiedthen ordered_item_rows_bedrock=q.construct_ordered_item_rows(chests,'Bedrock') end ifbedrock_upcoming_specifiedthen ordered_item_rows_bedrock_upcoming=q.construct_ordered_item_rows(chests,'BedrockUpcoming') end else localjava_excluded=args.javaandargs.java=='0'; localjava_upcoming_excluded=args['java-upcoming']andargs['java-upcoming']=='0'; localbedrock_excluded=args.bedrockandargs.bedrock=='0'; localbedrock_upcoming_excluded=args['bedrock-upcoming']andargs['bedrock-upcoming']=='0'; ifnotjava_excludedthen ordered_item_rows_java=q.construct_ordered_item_rows(chests,'Java') end ifnotjava_upcoming_excludedthen ordered_item_rows_java_upcoming=q.construct_ordered_item_rows(chests,'JavaUpcoming') end ifnotbedrock_excludedthen ordered_item_rows_bedrock=q.construct_ordered_item_rows(chests,'Bedrock') end ifnotbedrock_upcoming_excludedthen ordered_item_rows_bedrock_upcoming=q.construct_ordered_item_rows(chests,'BedrockUpcoming') end end localjava_bedrock_different=q.compare_tables(ordered_item_rows_java,ordered_item_rows_bedrock) ifq.tablelength(ordered_item_rows_java)>0andnotjava_bedrock_differentthen table.insert(ret,'In '..p.java..' and '..p.bedrock..', '..q.lcfirst(q.print_table(chests,columns,ordered_item_rows_java,'Java'))) end ifq.tablelength(ordered_item_rows_java)>0andjava_bedrock_differentthen table.insert(ret,'In '..p.java..', '..q.lcfirst(q.print_table(chests,columns,ordered_item_rows_java,'Java'))) end ifq.tablelength(ordered_item_rows_java_upcoming)>0andq.compare_tables(ordered_item_rows_java,ordered_item_rows_java_upcoming)then table.insert(ret,'In '..p['java-upcoming']..', '..q.lcfirst(q.print_table(chests,columns,ordered_item_rows_java_upcoming,'JavaUpcoming'))) end ifq.tablelength(ordered_item_rows_bedrock)>0andjava_bedrock_differentthen table.insert(ret,'In '..p.bedrock..', '..q.lcfirst(q.print_table(chests,columns,ordered_item_rows_bedrock,'Bedrock'))) end ifq.tablelength(ordered_item_rows_bedrock_upcoming)>0andq.compare_tables(ordered_item_rows_bedrock,ordered_item_rows_bedrock_upcoming)then table.insert(ret,'In '..p['bedrock-upcoming']..', '..q.lcfirst(q.print_table(chests,columns,ordered_item_rows_bedrock_upcoming,'BedrockUpcoming'))) end table.insert(ret,"<div class=mobileonly>") table.insert(ret,'<div class="reflist-upper-alpha">'..p.current_frame:extensionTag('references','',{group='FN'})..'</div>') table.insert(ret,"</div>") returntable.concat(ret,'\n\n') end p.doc=function() localvalid_args={} forchest_name,valinpairs(p.chests)do localsynonyms={} forsyn,originpairs(p.synonyms)do iforig==chest_namethen table.insert(synonyms,"<code>"..syn.."</code>") end end chest_name="<code>"..chest_name.."</code>" if#synonyms>0then chest_name=chest_name.." (alternative name" -- plurals are annoying if#synonyms>1thenchest_name=chest_name.."s"end chest_name=chest_name..": "..table.concat(synonyms,", ")..")" end chest_name="<li>"..chest_name.."</li>" table.insert(valid_args,chest_name) end table.sort(valid_args) return"<ul>"..table.concat(valid_args,"").."</ul>" end p.doc2=function() localvalid_args={} forcolumn_name,valinpairs(p.columns)do table.insert(valid_args,column_name..": "..val) end table.sort(valid_args) returntable.concat(valid_args,",\n<br>") end p.doc3=function() localvalid_args={} foritem_name,valinpairs(p.items)do table.insert(valid_args,item_name) end table.sort(valid_args) returntable.concat(valid_args,", ") end p.base2=function(...) p.current_frame=mw.getCurrentFrame() localargs={...} ifargs[1]==p.current_framethen args=require('Module:ProcessArgs').merge(true) else args=args[1] end localitemname=args[1] ifp.items[itemname]==nilthen return'<span style="color:red;">unknown item "'..itemname..'"</span>' end localjavaChances,javaUpcomingChances,bedrockChances,bedrockUpcomingChances ifargs.javaandargs.java~='0'then javaChances=q.single_item_find_values(itemname,'poolsJava') javaUpcomingChances={} bedrockChances={} bedrockUpcomingChances={} else ifargs['java-upcoming']andargs['java-upcoming']~='0'then javaChances=q.single_item_find_values(itemname,'poolsJavaUpcoming') javaUpcomingChances={} bedrockChances={} bedrockUpcomingChances={} else ifargs.bedrockandargs.bedrock~='0'then javaChances=q.single_item_find_values(itemname,'poolsBedrock') javaUpcomingChances={} bedrockChances={} bedrockUpcomingChances={} else ifargs['bedrock-upcoming']andargs['bedrock-upcoming']~='0'then javaChances=q.single_item_find_values(itemname,'poolsBedrockUpcoming') javaUpcomingChances={} bedrockChances={} bedrockUpcomingChances={} else javaChances=q.single_item_find_values(itemname,'poolsJava') javaUpcomingChances=q.single_item_find_values(itemname,'poolsJavaUpcoming',javaChances) bedrockChances=q.single_item_find_values(itemname,'poolsBedrock') bedrockUpcomingChances=q.single_item_find_values(itemname,'poolsBedrockUpcoming',javaChances,bedrockChances) end end end end localhtml={} localany_current=q.tablelength(javaChances)>0 localany_changes_upcoming=q.tablelength(javaUpcomingChances)>0andq.compare_tables(javaChances,javaUpcomingChances) localany_standard=any_currentorany_changes_upcoming localany_bedrock_current=q.tablelength(bedrockChances)>0 localany_bedrock_upcoming=q.tablelength(bedrockUpcomingChances)>0andq.compare_tables(bedrockChances,bedrockUpcomingChances) localany_bedrock=any_bedrock_currentorany_bedrock_upcoming localchange_case=p.items[itemname].preserve_case==nilorp.items[itemname].preserve_case~=true ifany_currentthen table.insert(html,p.base2_sub(itemname,javaChances)) end ifany_changes_upcomingthen table.insert(html,p['java-upcoming']..(change_caseandq.lcfirst(p.base2_sub(itemname,javaUpcomingChances,any_current))orp.base2_sub(itemname,javaUpcomingChances,any_current))) end ifany_bedrock_currentthen table.insert(html,(any_standardand'\n\n'or'')..p.bedrock..(change_caseandq.lcfirst(p.base2_sub(itemname,bedrockChances,any_standard))orp.base2_sub(itemname,bedrockChances,any_standard))) end ifany_bedrock_upcomingthen table.insert(html,(any_standardandnotany_bedrock_currentand'\n\n'or'')..p['bedrock-upcoming']..(change_caseandq.lcfirst(p.base2_sub(itemname,bedrockUpcomingChances,any_bedrock_currentorany_standard))orp.base2_sub(itemname,bedrockUpcomingChances,any_bedrock_currentorany_standard))) end ifargs.nocatthen else table.insert(html,'[[Category:Pages with loot chest item templates]]') ifp.items[itemname].category~=nilandp.items[itemname].category~=falsethen table.insert(html,'[[Category:Pages with specific loot chest items]]') end ifany_bedrockand(mw.title.getCurrentTitle().namespace==0)then table.insert(html,'[[Category:Bedrock Edition specific information]]') end end returntable.concat(html,' ') end p.base2_sub=function(itemname,chances,use_they) localhtml={} localitem_display_name='' ifuse_theythen item_display_name=' they' else ifp.items[itemname].plural~=nilandp.items[itemname].plural~=falsethen item_display_name=p.items[itemname].plural else ifp.items[itemname].title~=nilthen item_display_name=p.items[itemname].title else item_display_name=string.gsub(itemname,'-',' ') end ifp.items[itemname].plural==nilorp.items[itemname].plural~=falsethen item_display_name=q.single_item_plural(item_display_name) end end ifp.items[itemname].preserve_case==nilorp.items[itemname].preserve_case~=truethen item_display_name=q.capitalize(item_display_name) end ifp.items[itemname].noteandp.notes[p.items[itemname].note]then item_display_name=item_display_name..p.current_frame:extensionTag('ref',p.notes[p.items[itemname].note],{group='FN',name=p.items[itemname].note}) end ifp.items[itemname].note1andp.notes[p.items[itemname].note1]then ifp.items[itemname].note==nilorp.notes[p.items[itemname].note]==nilorp.items[itemname].note~=p.items[itemname].note1then item_display_name=item_display_name..p.current_frame:extensionTag('ref',p.notes[p.items[itemname].note1],{group='FN',name=p.items[itemname].note1}) end end end table.insert(html,item_display_name) table.insert(html,' can be found ') localhtml_stacks={} localstack_sep=', ' localns=q.tablelength(chances) locals=0 forstacksize,chest_detailsinpairs(chances)do s=s+1 localhtml_per_stack={'in '} localc=0 localnc=q.tablelength(chest_details) localsep=(nc>2and', 'or' ') ifnc>2ands~=nsthen stack_sep='; ' end fork,chestinpairs(chest_details)do c=c+1 ifc==ncandnc>1then table.insert(html_per_stack,'and ') end ifchest.chance==1then table.insert(html_per_stack," all ") else table.insert(html_per_stack,string.format("%.1f",chest.chance*100)) table.insert(html_per_stack,"% of ") end ifchest.chest_type=='minecart with chest'then table.insert(html_per_stack,' [[Minecart with Chest|chest minecarts]] in ') table.insert(html_per_stack,p.chests[chest.chest_name].link) elseifchest.chest_type=='dispenser'then table.insert(html_per_stack,' [[dispenser]]s in ') table.insert(html_per_stack,p.chests[chest.chest_name].link) else table.insert(html_per_stack,p.chests[chest.chest_name].link) table.insert(html_per_stack,' chests') end table.insert(html_per_stack,sep) end ifnc>2then table.insert(html_per_stack,'all ') end table.insert(html_per_stack,'in ') ifp.items[itemname].cannot_stack~=nilthen table.insert(html_per_stack,'groups of ') else table.insert(html_per_stack,'stacks of ') end table.insert(html_per_stack,stacksize) table.insert(html_stacks,table.concat(html_per_stack)) end localstackwise_summaries='' if#html_stacks==1then table.insert(html,html_stacks[1]) else fori=1,#html_stacks-1do table.insert(html,html_stacks[i]) table.insert(html,stack_sep) end table.insert(html,'and ') table.insert(html,html_stacks[#html_stacks]) end table.insert(html,'.') returntable.concat(html) end p.base2_test=function() localitems={} foritem_name,vinpairs(p.items)do table.insert(items,p.base2{item_name,["nocat"]=true}..'\n\n') end table.sort(items) returntable.concat(items) end p.base3=function(...) p.current_frame=mw.getCurrentFrame() localargs={...} ifargs[1]==p.current_framethen args=require('Module:ProcessArgs').merge(true) else args=args[1] end localz=args[1] localhtml_java={} localhtml_java_u={} localhtml_bedrock={} localhtml_bedrock_u={} localrErr="" localzT={} ifargs[1]=="!!!ALL!!!"then foritem_name,vinpairs(p.items)do table.insert(zT,item_name) table.sort(zT) end else zT=mw.text.split(args[1],',') end forx,itemnameinpairs(zT)do ifp.items[itemname]==nilthen rErr=rErr.."<span class='error'>Unknown item "..itemname..".</span>\n" else localjavaChances,javaUpcomingChances,bedrockChances,bedrockUpcomingChances ifargs.javaandargs.java~='0'then javaChances=q.single_item_find_values(itemname,'poolsJava') javaUpcomingChances={} bedrockChances={} bedrockUpcomingChances={} else ifargs['java-upcoming']andargs['java-upcoming']~='0'then javaChances=q.single_item_find_values(itemname,'poolsJavaUpcoming') javaUpcomingChances={} bedrockChances={} bedrockUpcomingChances={} else ifargs.bedrockandargs.bedrock~='0'then javaChances=q.single_item_find_values(itemname,'poolsBedrock') javaUpcomingChances={} bedrockChances={} bedrockUpcomingChances={} else ifargs['bedrock-upcoming']andargs['bedrock-upcoming']~='0'then javaChances=q.single_item_find_values(itemname,'poolsBedrockUpcoming') javaUpcomingChances={} bedrockChances={} bedrockUpcomingChances={} else javaChances=q.single_item_find_values(itemname,'poolsJava') javaUpcomingChances=q.single_item_find_values(itemname,'poolsJavaUpcoming',javaChances) bedrockChances=q.single_item_find_values(itemname,'poolsBedrock') bedrockUpcomingChances=q.single_item_find_values(itemname,'poolsBedrockUpcoming',javaChances,bedrockChances) end end end end localany_current=q.tablelength(javaChances)>0 localany_changes_upcoming=q.tablelength(javaUpcomingChances)>0andq.compare_tables(javaChances,javaUpcomingChances) localany_standard=any_currentorany_changes_upcoming localany_bedrock_current=q.tablelength(bedrockChances)>0 localany_bedrock_upcoming=q.tablelength(bedrockUpcomingChances)>0andq.compare_tables(bedrockChances,bedrockUpcomingChances) localany_bedrock=any_bedrock_currentorany_bedrock_upcoming ifany_currentthen table.insert(html_java,p.base3_sub(itemname,javaChances)) end ifany_changes_upcomingthen table.insert(html_java_u,p.base3_sub(itemname,javaUpcomingChances)) end ifany_bedrock_currentthen table.insert(html_bedrock,p.base3_sub(itemname,bedrockChances)) end ifany_bedrock_upcomingthen table.insert(html_bedrock_u,p.base3_sub(itemname,bedrockUpcomingChances)) end end end localjava_bedrock_different=q.compare_tables(html_java,html_bedrock) localoutput=rErr..'{| class="wikitable sortable mw-collapsible" \n! Item \n! Structure \n! Container \n! Quantity \n! Chance \n' ifq.tablelength(html_java)>0andnotjava_bedrock_differentthen output=output..'|-\n!colspan=5|'..p['java']..' and '..p['bedrock']..' \n'..table.concat(html_java) end ifq.tablelength(html_java)>0andjava_bedrock_differentthen output=output..'|-\n!colspan=5|'..p['java']..' \n'..table.concat(html_java) end ifq.tablelength(html_java_u)>0then output=output..'|-\n!colspan=5|'..p['java-upcoming']..' \n'..table.concat(html_java_u) end ifq.tablelength(html_bedrock)>0andjava_bedrock_differentthen output=output..'|-\n!colspan=5|'..p.bedrock..' \n'..table.concat(html_bedrock) end ifq.tablelength(html_bedrock_u)>0then output=output..'|-\n!colspan=5|'..p['bedrock-upcoming']..' \n'..table.concat(html_bedrock_u) end output=output..'|}'..p.current_frame:extensionTag('references',"",{group="FN"}) returnoutput end p.base3_sub=function(itemname,chances) localhtml={} localitem_display_name='' localoutput="" locallang=mw.getContentLanguage() ifp.items[itemname].title~=nilthen item_display_name=p.items[itemname].title else item_display_name=q.titlecase(string.gsub(itemname,'-',' ')) end localobjectList={} localns=q.tablelength(chances) locals=0 localm=0 localrn=0 forstacksize,chest_detailsinpairs(chances)do s=s+1 localnc=q.tablelength(chest_details) localc=0 fork,chestinpairs(chest_details)do c=c+1 rn=rn+1 localcontainerText=p.chests[chest.chest_name].container ifstring.len(containerText)==0then containerText='Chest' end localr="" localjson={ ['item']=item_display_name, ['structure']=p.chests[chest.chest_name].structure, ['container']=containerText, ['stacksize']=stacksize, ['chance']=chest.chance } json=require('Module:NiceJSON').wrap(json,'pre','chest-json') r=r..'|'..string.gsub(containerText,' ',' ')..'\n|'..stacksize..'\n|'..lang:formatNum(math.floor(chest.chance*1000+0.5)/10)..'%'..json..'\n' ifns~=sornc~=cthen r=r end table.insert(objectList,{p.chests[chest.chest_name].structID,p.chests[chest.chest_name].structure,r}) end m=m+nc end table.sort(objectList,function(a,b)returna[1]<b[1]end) localstruct="" localt="" localnt=1 localntt=0 forv,winpairs(objectList)do ntt=ntt+1 ifw[1]~=structthen ift~=""then output=output.."|rowspan="..nt..t end t="|'''"..sprite.link({name='EnvSprite',w[2],id=w[1]}).."'''\n"..w[3] struct=w[1] nt=1 else t=t..w[3] nt=nt+1 end ifntt==mthen output=output.."|rowspan="..nt..t else t=t..'|-'..'\n' end end return"|-\n| rowspan="..m.."|'''"..p.getItem(itemname,item_display_name).."'''\n"..output end p.getItem=function(itemname,item_display_name) locals="" localk=item_display_name locallink=item_display_name localm=itemname ifp.items[itemname].title~=nilthen k=p.items[itemname].title end ifp.items[itemname].link~=nilthen link=p.items[itemname].link end ifp.items[itemname].id~=nilthen m=p.items[itemname].id end ifp.items[itemname][1]=="item"then s=sprite.link({name='ItemSprite',link,k,id=m}) --s = p.current_frame:expandTemplate{ title = 'ItemLink', args = { link , k , id = m } } elseifp.items[itemname][1]=="block"then s=sprite.link({name='BlockSprite',link,k,id=m}) --s = p.current_frame:expandTemplate{ title = 'BlockLink', args = { link , k , id = m } } end ifp.items[itemname].noteandp.notes[p.items[itemname].note]then s=s..p.current_frame:extensionTag('ref',p.notes[p.items[itemname].note],{group='FN',name=p.items[itemname].note}) end ifp.items[itemname].note1andp.notes[p.items[itemname].note1]then ifp.items[itemname].note==nilorp.notes[p.items[itemname].note]==nilorp.items[itemname].note~=p.items[itemname].note1then s=s..p.current_frame:extensionTag('ref',p.notes[p.items[itemname].note1],{group='FN',name=p.items[itemname].note1}) end end returns end q={ tablelength=function(T) localcount=0 for_inpairs(T)docount=count+1end returncount end, deepcopy=function(orig) localorig_type=type(orig) localcopy iforig_type=='table'then copy={} fororig_key,orig_valueinnext,orig,nildo copy[q.deepcopy(orig_key)]=q.deepcopy(orig_value) end setmetatable(copy,q.deepcopy(getmetatable(orig))) else-- number, string, boolean, etc copy=orig end returncopy end, frac=function(x,y) return'<sup>'..x..'</sup>⁄<sub>'..y..'</sub>' end, single_item_find_values=function(itemname,poolsKey,exclusions_param,other_exclusions_param) localchances={} localexclusions=q.deepcopy(exclusions_paramor{}) localother_exclusions=q.deepcopy(other_exclusions_paramor{}) forstacksize,other_exclusion_listinpairs(other_exclusions)do ifexclusions[stacksize]==nilthen exclusions[stacksize]={} end for_,other_exclusioninpairs(other_exclusion_list)do localalready_in_here=false for_,exclusioninpairs(exclusions[stacksize])do ifexclusion["chest_name"]==other_exclusion["chest_name"]andexclusion["chance"]==other_exclusion["chance"]then already_in_here=true break end end ifnotalready_in_herethen table.insert(exclusions[stacksize],other_exclusion) end end end forchest_name,chestinpairs(p.chests)do localpoolchances={} fork,poolinpairs(chest[poolsKey]orchest.poolsJavaor{})do localpoolitem=pool.items[itemname] ifpoolitem~=nilthen localstacksize=poolitem[1] ifpoolitem[1]~=poolitem[2]then stacksize=stacksize.."–"..poolitem[2] end localitemweight=poolitem[3] localpool_total_item_weight=0 foritemname,iteminpairs(pool.items)do pool_total_item_weight=pool_total_item_weight+item[3] end localchance=p.calc_chance_any_of_this_item_per_pool( pool.rolls[1],pool.rolls[2], itemweight,pool_total_item_weight) ifpoolchances[stacksize]==nilthen poolchances[stacksize]=chance else poolchances[stacksize]=poolchances[stacksize]+(1-poolchances[stacksize])*chance end end end forstacksize,chanceinpairs(poolchances)do localexcluded=false for_,exclusioninpairs(exclusions[stacksize]or{})do ifexclusion["chest_name"]==chest_nameandexclusion["chance"]==chancethen excluded=true break end end ifnotexcludedthen ifchances[stacksize]==nilthen chances[stacksize]={} end table.insert(chances[stacksize],{["chance"]=chance,["chest_name"]=chest_name,["chest_type"]=(chest.chest_typeor"chest")}) end end end returnchances end, single_item_plural=function(itemname) ifstring.sub(itemname,-2)=='ss' orstring.sub(itemname,-2)=='ch' orstring.sub(itemname,-2)=='sh' orstring.sub(itemname,-1)=='s'then returnitemname..'es' end returnitemname..'s' end, massage_args=function(args) -- find what columns to put localcolumns={} fork,_arginpairs(args)do ifp.columns[_arg]~=nilthen columns[_arg]=true end end ifq.tablelength(columns)==0then forcolumn_name,vinpairs(p.columns)do columns[column_name]=true end end -- find what chests to show localchests={} fork,_arginpairs(args)do ifp.chests[_arg]~=nilthen table.insert(chests,_arg) elseifp.synonyms[_arg]~=nilthen table.insert(chests,p.synonyms[_arg]) end ifp.display_names[_arg]~=nilthen localchestname=_arg ifp.chests[chestname]==nilthen chestname=p.synonyms[_arg] end p.chests[chestname].display_name=p.display_names[_arg] end end ifq.tablelength(chests)==0then forchest,kinpairs(p.chests)do table.insert(chests,chest) end end table.sort(chests) returnchests,columns end, sort_items=function(e1,e2) ife1.chanceany~=e2.chanceanythenreturn(e1.chanceany>e2.chanceany)end ife1.avgamount~=e2.avgamountthenreturn(e1.avgamount>e2.avgamount)end ife1.material==nilthen e1.material=0 ifstring.find(e1.itemname,"leather")~=nilthene1.material=1end ifstring.find(e1.itemname,"iron")~=nilthene1.material=2end ifstring.find(e1.itemname,"gold")~=nilthene1.material=3end ifstring.find(e1.itemname,"diamond")~=nilthene1.material=4end ifstring.find(e1.itemname,"netherite")~=nilthene1.material=5end e1.armor=0 ifstring.find(e1.itemname,"helmet")~=nilorstring.find(e1.itemname,"cap")~=nilthene1.armor=1end ifstring.find(e1.itemname,"chestplate")~=nilorstring.find(e1.itemname,"tunic")~=nilthene1.armor=2end ifstring.find(e1.itemname,"leggings")~=nilorstring.find(e1.itemname,"pants")~=nilthene1.armor=3end ifstring.find(e1.itemname,"boots")~=nilthene1.armor=4end end ife2.material==nilthen e2.material=0 ifstring.find(e2.itemname,"leather")~=nilthene2.material=1end ifstring.find(e2.itemname,"iron")~=nilthene2.material=2end ifstring.find(e2.itemname,"gold")~=nilthene2.material=3end ifstring.find(e2.itemname,"diamond")~=nilthene2.material=4end e2.armor=0 ifstring.find(e2.itemname,"helmet")~=nilorstring.find(e2.itemname,"cap")~=nilthene2.armor=1end ifstring.find(e2.itemname,"chestplate")~=nilorstring.find(e2.itemname,"tunic")~=nilthene2.armor=2end ifstring.find(e2.itemname,"leggings")~=nilorstring.find(e2.itemname,"pants")~=nilthene2.armor=3end ifstring.find(e2.itemname,"boots")~=nilthene2.armor=4end end ife1.material~=e2.materialthenreturn(e1.material<e2.material)end ife1.armor~=e2.armorthenreturn(e1.armor<e2.armor)end return(e1.itemname<e2.itemname) end, fill_in_chest_derivative_data=function(chest_names) fork,chest_nameinpairs(chest_names)do localchest=p.chests[chest_name] ifchest==nilthenbreakend chest.allRollsJava={} chest.itemDataJava={} fork,poolinpairs(chest.poolsJavaor{})do table.insert(chest.allRollsJava,(pool.rolls[1]==pool.rolls[2]andpool.rolls[1]orpool.rolls[1]..'–'..pool.rolls[2])) localtotal_weight=0 foritemname,iteminpairs(pool.items)do total_weight=total_weight+item[3] end pool.totalweight=total_weight q.fill_in_chest_item_details(chest.itemDataJava,pool,#chest.allRollsJava) end chest.allRollsJavaUpcoming={} chest.itemDataJavaUpcoming={} fork,poolinpairs(chest.poolsJavaUpcomingorchest.poolsJavaor{})do table.insert(chest.allRollsJavaUpcoming,(pool.rolls[1]==pool.rolls[2]andpool.rolls[1]orpool.rolls[1]..'–'..pool.rolls[2])) localtotal_weight=0 foritemname,iteminpairs(pool.items)do total_weight=total_weight+item[3] end pool.totalweight=total_weight q.fill_in_chest_item_details(chest.itemDataJavaUpcoming,pool,#chest.allRollsJavaUpcoming) end chest.allRollsBedrock={} chest.itemDataBedrock={} fork,poolinpairs(chest.poolsBedrockorchest.poolsJavaor{})do table.insert(chest.allRollsBedrock,(pool.rolls[1]==pool.rolls[2]andpool.rolls[1]orpool.rolls[1]..'–'..pool.rolls[2])) localtotal_weight=0 foritemname,iteminpairs(pool.items)do total_weight=total_weight+item[3] end pool.totalweight=total_weight q.fill_in_chest_item_details(chest.itemDataBedrock,pool,#chest.allRollsBedrock) end chest.allRollsBedrockUpcoming={} chest.itemDataBedrockUpcoming={} fork,poolinpairs(chest.poolsBedrockUpcomingorchest.poolsJavaor{})do table.insert(chest.allRollsBedrockUpcoming,(pool.rolls[1]==pool.rolls[2]andpool.rolls[1]orpool.rolls[1]..'–'..pool.rolls[2])) localtotal_weight=0 foritemname,iteminpairs(pool.items)do total_weight=total_weight+item[3] end pool.totalweight=total_weight q.fill_in_chest_item_details(chest.itemDataBedrockUpcoming,pool,#chest.allRollsBedrockUpcoming) end end end, fill_in_chest_item_details=function(data,pool,ct) foritem_name,iteminpairs(pool.items)do ifp.items[item_name]then localmin_stacksize=item[1] localmax_stacksize=item[2] localmin_pool_rolls=pool.rolls[1] localmax_pool_rolls=pool.rolls[2] localitem_weight=item[3] ifdata[item_name]==nilthen data[item_name]={ avgamount=0, chanceany=0, itemname=item_name, sortsize={}, sortweight={}, sizes={}, weights={}, } fori=1,ct-1do data[item_name].sortsize[i]=0 data[item_name].sortweight[i]=0 data[item_name].sizes[i]='—' data[item_name].weights[i]='—' end end data[item_name].avgamount=data[item_name].avgamount+p.calc_average_amount_this_item_per_pool( min_stacksize,max_stacksize, min_pool_rolls,max_pool_rolls, item_weight,pool.totalweight) data[item_name].chanceany=data[item_name].chanceany+(1-data[item_name].chanceany)*p.calc_chance_any_of_this_item_per_pool( min_pool_rolls,max_pool_rolls, item_weight,pool.totalweight) data[item_name].sortsize[ct]=(min_stacksize+max_stacksize)/2 data[item_name].sortweight[ct]=item_weight; data[item_name].sizes[ct]=(min_stacksize==max_stacksizeandmin_stacksizeormin_stacksize..'–'..max_stacksize) data[item_name].weights[ct]=q.frac(item_weight,pool.totalweight)--p.current_frame:expandTemplate{ title = 'frac', args = { item_weight, pool.totalweight } } end end foritem_name,dinpairs(data)do ifnotd.sizes[ct]then d.sortsize[ct]=0 d.sortweight[ct]=0 d.sizes[ct]='—' d.weights[ct]='—' end end end, construct_ordered_items_from_first_chest=function(chest_names,suffix) localitems_from_first_table={} localitem_chests={} localitem_names_ordered={} foritem_name,iteminpairs(p.chests[chest_names[1]]['itemData'..suffix])do table.insert(items_from_first_table,item) end table.sort(items_from_first_table,q.sort_items) fork,iteminpairs(items_from_first_table)do table.insert(item_names_ordered,item.itemname) item_chests[item.itemname]=true end returnitem_names_ordered,item_chests end, get_ordered_items_from_other_chests=function(chest_names,item_chests,suffix) localitems_not_from_first_table={} forchest_idx=2,#chest_namesdo foritem_name,iteminpairs(p.chests[chest_names[chest_idx]]['itemData'..suffix])do ifitem_chests[item_name]==nilthen p.items[item_name].itemname=item_name table.insert(items_not_from_first_table,p.chests[chest_names[chest_idx]]['itemData'..suffix][item_name]) item_chests[item_name]=true end end end table.sort(items_not_from_first_table,q.sort_items) returnitems_not_from_first_table end, add_other_items_to_first_list=function(chest_names,item_names_ordered,item_chests,items_not_from_first_table) fork,iteminpairs(items_not_from_first_table)do table.insert(item_names_ordered,item.itemname) end returnitem_names_ordered end, set_up_ordered_item_rows=function(chest_names,item_names_ordered,suffix) fork,itemnameinpairs(item_names_ordered)do item_names_ordered[k]={itemname} forchest_idx=1,#chest_namesdo ifsuffix=='JavaUpcoming'orp.chests[chest_names[chest_idx]]['pools'..suffix]~=nilthen localitem_data=p.chests[chest_names[chest_idx]]['itemData'..suffix][itemname] ifitem_data==nilthen table.insert(item_names_ordered[k],false) else table.insert(item_names_ordered[k],item_data) end end end end returnitem_names_ordered end, construct_ordered_item_rows=function(chest_names,suffix) -- for the first chest, sort its by chance desc, then by avg amount desc, then alphabetically asc localitem_names_ordered,item_chests=q.construct_ordered_items_from_first_chest(chest_names,suffix) if#chest_names>1then -- after that, sort all the remaining items in list order localitems_not_from_first_table=q.get_ordered_items_from_other_chests(chest_names,item_chests,suffix) item_names_ordered=q.add_other_items_to_first_list(chest_names,item_names_ordered,item_chests,items_not_from_first_table) end -- set up item_names_ordered so that each is a row, representing chest values item_names_ordered=q.set_up_ordered_item_rows(chest_names,item_names_ordered,suffix) returnitem_names_ordered end, print_table=function(chest_names,columns,ordered_item_rows,suffix) localhtml={} localjson={ gameVersion=suffix, chestNames=chest_names, loot={} } for_,chestnameinipairs(chest_names)do json.loot[chestname]=p.chests[chestname] end localuse_roll_row=false localuse_superheader=false localsuperheader_sizes={} fori=1,#chest_namesdo localsh=p.chests[chest_names[i]].superheader ifsh~=nilthen ifsuperheader_sizes[sh]==nilthen superheader_sizes[sh]=0 end superheader_sizes[sh]=superheader_sizes[sh]+1 if#chest_names>1then use_superheader=true end end localallRolls=p.chests[chest_names[i]]['allRolls'..suffix] if#allRolls>1then use_roll_row=true end end ifcolumns['stacksize']==nilandcolumns['weight']==nilthen use_roll_row=false end localrowspan=(#chest_names>1and1or0)+(use_superheaderand1or0)+1 localhide_col_description=rowspan>1andq.tablelength(columns)==1 ifuse_roll_rowthen rowspan=rowspan+1 end ifq.tablelength(columns)==1then forcolumn_name,vinpairs(columns)do table.insert(html,"Values represent ") table.insert(html,p.columns[column_name]:lower()) table.insert(html,"\n") end end if#chest_names==1then ifq.tablelength(columns)==1then table.insert(html,"<br>") end localchest_name=chest_names[1] localallRolls=p.chests[chest_name]['allRolls'..suffix] localchest_type=p.chests[chest_name].chest_typeor"chest" localdisplay_name=p.chests[chest_name].display_name chest_name=chest_name:gsub("-"," ") table.insert(html,"Each ") table.insert(html,display_nameorchest_name) ifchest_type~='chest'andchest_type~='minecart with chest'then table.insert(html," contains ") else table.insert(html," chest contains ") end if#allRolls==1then table.insert(html,allRolls[1]) ifallRolls[1]==1then table.insert(html," item stack, ") else table.insert(html," item stacks, ") endelse table.insert(html,' items drawn from ') table.insert(html,#allRolls) table.insert(html,' pools, ') end table.insert(html," with the following distribution: \n") end table.insert(html,'<div style="overflow:auto">\n') table.insert(html,'<table class="wikitable sortable mw-collapsible jquery-tablesorter">\n') table.insert(html,"<tr>\n") table.insert(html,"<th rowspan=") table.insert(html,(rowspan-(hide_col_descriptionand1or0))) table.insert(html,"> Item </th>\n") localsuperheader_cols_used={} if#chest_names>1then localrow1,row2={},{} fori=1,#chest_namesdo ifsuffix=='JavaUpcoming'orp.chests[chest_names[i]]['pools'..suffix]~=nilthen localallRolls=p.chests[chest_names[i]]['allRolls'..suffix] localcolspan=q.tablelength(columns) localallRollsSpan=#allRolls==0and1or#allRolls ifcolumns['stacksize']~=nilthen colspan=colspan-1+allRollsSpan end ifcolumns['weight']~=nilthen colspan=colspan-1+allRollsSpan end localrow=row1 rowspan=1 ifuse_superheaderthen sh=p.chests[chest_names[i]].superheader ifsh~=nilthen ifsuperheader_cols_used[sh]==nilthen table.insert(row,"<th colspan=") table.insert(row,(colspan*superheader_sizes[sh])) table.insert(row,">") table.insert(row,sh) table.insert(row,"</th>\n") superheader_cols_used[sh]=0 end row=row2 else rowspan=rowspan+1 end end ifuse_roll_rowandhide_col_descriptionand#allRolls<2then rowspan=rowspan+1 end table.insert(row,"<th colspan=") table.insert(row,colspan) ifrowspan>1then table.insert(row," rowspan=") table.insert(row,rowspan) end table.insert(row,">") table.insert(row,p.chests[chest_names[i]].header) if#allRolls>0then table.insert(row,' <br><span style="font-weight:normal; font-style:italic; font-size:11px;">(') if#allRolls==1then table.insert(row,allRolls[1]) else locals=(#allRolls>2and', 'or' ') fori=1,#allRolls-1do table.insert(row,allRolls[i]) table.insert(row,s) end table.insert(row,'and ') table.insert(row,allRolls[#allRolls]) end table.insert(row,' stacks)</span>') end table.insert(row,"</th>\n") end end table.insert(html,table.concat(row1)) table.insert(html,"</tr><tr>\n") if#row2then table.insert(html,table.concat(row2)) table.insert(html,"</tr><tr>\n") end end ifnothide_col_descriptionthen localheadersort_th_open ifuse_roll_rowthen headersort_th_open="<th rowspan='2' class='headersort' role='columnheader button' data-sort-type='number'> <abbr title='" else headersort_th_open="<th class='headersort' role='columnheader button' data-sort-type='number'> <abbr title='" end fori=1,#chest_namesdo ifsuffix=='JavaUpcoming'orp.chests[chest_names[i]]['pools'..suffix]~=nilthen localallRolls=p.chests[chest_names[i]]['allRolls'..suffix] localallRollsSpan=#allRolls==0and1or#allRolls localheadersort_th_colspan_open if#allRolls>1then headersort_th_colspan_open="<th colspan='"..allRollsSpan.."' role='columnheader'> <abbr title='" else headersort_th_colspan_open=headersort_th_open end ifcolumns['stacksize']~=nilthen table.insert(html,headersort_th_colspan_open) table.insert(html,p.columns['stacksize']) table.insert(html,"'> Stack Size </abbr> <span class=mobileonly>") table.insert(html,p.current_frame:extensionTag{ name='ref',content=p.columns['stacksize'],args={name='stacksize',group='FN'} }) table.insert(html,"</span></th>\n") end ifcolumns['weight']~=nilthen table.insert(html,headersort_th_colspan_open) table.insert(html,p.columns['weight']) table.insert(html,"'> Weight </abbr> <span class=mobileonly> ") table.insert(html,p.current_frame:extensionTag{ name='ref',content=p.columns['weight'],args={name='weight',group='FN'} }) table.insert(html,"</span></th>\n") end ifcolumns['chance']~=nilthen table.insert(html,headersort_th_open) table.insert(html,p.columns['chance']) table.insert(html,"'> Chance </abbr> <span class=mobileonly> ") table.insert(html,p.current_frame:extensionTag{ name='ref',content=p.columns['chance'],args={name='chance',group='FN'} }) table.insert(html,"</span></th>\n") end localarg1=table.concat(chest_names) ifcolumns['items']~=nilthen table.insert(html,headersort_th_open) table.insert(html,p.columns['items']) ifstring.find(arg1,"brushable")~=nilthen table.insert(html,"'> Avg.<br>per block </abbr> <span class=mobileonly> ") elseifstring.find(arg1,"pot")~=nilthen table.insert(html,"'> Avg.<br>per pot </abbr> <span class=mobileonly> ") elseifstring.find(arg1,"dispenser")~=nilthen table.insert(html,"'> Avg.<br>per dispenser </abbr> <span class=mobileonly> ") elseifstring.find(arg1,"barrel")~=nilthen table.insert(html,"'> Avg.<br>per barrel </abbr> <span class=mobileonly> ") elseifstring.find(arg1,"trial%-spawner")~=nilthen table.insert(html,"'> Avg.<br>per spawner </abbr> <span class=mobileonly> ") elseifstring.find(arg1,"reward")~=nilthen table.insert(html,"'> Avg.<br>per container </abbr> <span class=mobileonly> ") else table.insert(html,"'> Avg.<br>per chest </abbr> <span class=mobileonly> ") end table.insert(html,p.current_frame:extensionTag{ name='ref',content=p.columns['items'],args={name='items',group='FN'} }) table.insert(html,"</span></th>\n") end ifcolumns['chests']~=nilthen table.insert(html,headersort_th_open) table.insert(html,p.columns['chests']) ifstring.find(arg1,"brushable")~=nilthen table.insert(html,"'> Avg. # blocks<br>to brush </abbr> <span class=mobileonly> ") elseifstring.find(arg1,"pot")~=nilthen table.insert(html,"'> Avg. # pots<br>to break </abbr> <span class=mobileonly> ") elseifstring.find(arg1,"dispenser")~=nilthen table.insert(html,"'> Avg. # dispensers<br>to open </abbr> <span class=mobileonly> ") elseifstring.find(arg1,"barrel")~=nilthen table.insert(html,"'> Avg. # barrels<br>to open </abbr> <span class=mobileonly> ") elseifstring.find(arg1,"trial%-spawner")~=nilthen table.insert(html,"'> Avg. # spawners<br>to defeat </abbr> <span class=mobileonly> ") elseifstring.find(arg1,"reward")~=nilthen table.insert(html,"'> Avg. # containers<br>to loot </abbr> <span class=mobileonly> ") else table.insert(html,"'> Avg. # chests<br>to search </abbr> <span class=mobileonly> ") end table.insert(html,p.current_frame:extensionTag{ name='ref',content=p.columns['chests'],args={name='chests',group='FN'} }) table.insert(html,"</span></th>\n") end end end table.insert(html,"</tr><tr>\n") end ifuse_roll_rowthen localrowcols=(columns['stacksize']~=niland1or0)+(columns['weight']~=niland1or0) fori=1,#chest_namesdo localallRolls=p.chests[chest_names[i]]['allRolls'..suffix] if#allRolls>1then forj=1,rowcolsdo fork=1,#allRollsdo table.insert(html,"<th class='headersort' role='columnheader button' data-sort-type='number' style='font-weight:normal'><abbr title='The chest draws ") table.insert(html,allRolls[k]) table.insert(html," stack(s) randomly from this pool.'>") table.insert(html,allRolls[k]) table.insert(html,"×</abbr></th>\n") end end end end table.insert(html,"</tr><tr>\n") end fori=1,#ordered_item_rowsdo iftype(ordered_item_rows[i])=="table"then forj=1,#ordered_item_rows[i]do localchest_item=ordered_item_rows[i][j] iftype(chest_item)=="table"then localavg_amount=string.format("%.3f",chest_item.avgamount) localchance_any=string.format("%.1f",chest_item.chanceany*100).."%" localnum_chests=string.format("%.1f",1/chest_item.chanceany) table.insert(html,"\n") ifcolumns['stacksize']~=nilthen fork=1,#chest_item.sizesdo table.insert(html,"<td style='text-align:center;' data-sort-value='") table.insert(html,(chest_item.sortsize[k]==0and"9e99"orchest_item.sortsize[k])) table.insert(html,"'>") table.insert(html,chest_item.sizes[k]) table.insert(html,"</td>") end end ifcolumns['weight']~=nilthen fork=1,#chest_item.sizesdo table.insert(html,"<td style='text-align:center;' data-sort-value='") table.insert(html,(chest_item.sortweight[k]==0and"9e99"orchest_item.sortweight[k])) table.insert(html,"'>") table.insert(html,chest_item.weights[k]) table.insert(html,"</td>") end end ifcolumns['chance']~=nilthen table.insert(html,"<td style='text-align:center;'>") table.insert(html,chance_any) table.insert(html,"</td>") end ifcolumns['items']~=nilthen table.insert(html,"<td style='text-align:center;'>") table.insert(html,avg_amount) table.insert(html,"</td>") end ifcolumns['chests']~=nilthen table.insert(html,"<td style='text-align:center;'>") table.insert(html,num_chests) table.insert(html,"</td>") end elseiftype(chest_item)=="boolean"then localallRolls=p.chests[chest_names[j-1]]['allRolls'..suffix] localallRollsSpan=#allRolls==0and1or#allRolls table.insert(html,"\n") ifcolumns['stacksize']~=nilthen fork=1,allRollsSpando table.insert(html,"<td data-sort-value='9e99' style='text-align:center;'>—</td>") end end ifcolumns['weight']~=nilthen fork=1,allRollsSpando table.insert(html,"<td data-sort-value='9e99' style='text-align:center;'>—</td>") end end ifcolumns['chance']~=nilthen table.insert(html,"<td data-sort-value='9e99' style='text-align:center;'>—</td>") end ifcolumns['items']~=nilthen table.insert(html,"<td data-sort-value='9e99' style='text-align:center;'>—</td>") end ifcolumns['chests']~=nilthen table.insert(html,"<td data-sort-value='9e99' style='text-align:center;'>—</td>") end else ifi>1then table.insert(html,"</tr><tr>") end localitem=p.items[chest_item] table.insert(html,"\n<td>") localimage,spriteCat=sprite.link{ id=item.idorchest_item, link=item.linkorstring.gsub(chest_item,'-',' '), text=item.titleorq.titlecase(string.gsub(chest_item,'-',' ')), wrap='true', name=(item[1]=='item'and'ItemSprite'or'BlockSprite') } table.insert(html,image) table.insert(html,spriteCat) ifitem.noteandp.notes[item.note]then table.insert(html,p.current_frame:extensionTag('ref',p.notes[item.note],{group='FN',name=item.note})) end ifitem.note1andp.notes[item.note1]then ifitem.note==nilorp.notes[item.note]==niloritem.note~=item.note1then table.insert(html,p.current_frame:extensionTag('ref',p.notes[item.note1],{group='FN',name=item.note1})) end end table.insert(html,"</td>") end ifj==#ordered_item_rows[i]then table.insert(html,"</tr>") end end table.insert(html,"\n") end end table.insert(html,"</table>") table.insert(html,require('Module:NiceJSON').wrap(json,'pre','chestcontents-json')) table.insert(html,"</div>") returntable.concat(html) end, titlecase=function(str) localbuf={} forwordinstring.gfind(str,"%S+")do ifword=="and"then table.insert(buf,word) else localfirst,rest=string.sub(word,1,1),string.sub(word,2) table.insert(buf,string.upper(first)..string.lower(rest)) end end returntable.concat(buf," ") end, capitalize=function(str) return(string.lower(str):gsub("^%l",string.upper)) end, lcfirst=function(str) return(string.gsub(str,"^%u",string.lower)) end, compare_tables=function(a,b) localseen={} fork,vinpairs(a)do iftype(v)~=type(b[k])then returntrue end iftype(v)=='table'then ifq.compare_tables(v,b[k])then returntrue end elseifv~=b[k]then returntrue end seen[k]=true end fork,vinpairs(b)do ifnotseen[k]then returntrue end end returnfalse end, } string.lpad=function(str,len,char) ifchar==nilthenchar=' 'end returnstring.rep(char,len-#(''..str))..str end returnp