mojira.dev
MCPE-233039

Not all items are present when chests generate loot

The bug

When a chest generates loot, it is expected that all loot that was rolled successfully appears in the chest. However, this does not always happen. Sometimes loot that was generated does not appear in the chest and is lost.

This can cause items like hearts of the sea in buried treasure, which should always be present, to be missing.

How to reproduce

  1. Download and open the attached world.
    It contains a loot table that always generates 64 apples, 64 diamonds, 64 coal, 64 feathers, 64 bones, 64 rotten flesh, 64 sand, and 1 diamond sword.

  2. Type /loot give @s loot test
    ✔ You correctly get all of the generated items

  3. Clear your inventory

  4. Type /structure load test:chest ~ ~ ~

  5. Look inside the chest and count the items present
    ❌ Many are missing

image-20251210-051226.png

Notes

Java Edition does not have this issue. Chests are generated with all items. This appears to be Bedrock’s version of MC-91727. Note that Bedrock is not affected by the related issue MC-91310.

Linked issues

Attachments

Comments 3

I have found a verified instance of this happening within survival gameplay.

  • Seed: -977370421092973490

  • Coordinates: -632 65 -3640

  • Loot Chest: Buried treasure

  1. Expectation: Must include 1 “Heart of the Sea”

  2. Result: Does not include any “Heart of the Sea”

Apparently the loot is different between versions so this repeatable instance only appears as such on iOS as far as I’m currently aware.

Reproduction on particular chests on seeds will be affected by MCPE-161133

tryashtar

(Unassigned)

1543194

Confirmed

Windows

26.0.23/24 Preview

Retrieved