-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, 1.15.2, 20w15a, 1.16 Pre-release 2, 1.16 Pre-release 5, 1.16.1, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18.1, 1.19
-
None
-
Confirmed
-
Commands, Loot tables
The bug
Chests which have a loot table (i.e. have not been opened by a player) will explode items based on that loot table.
How to reproduce
Create a chest with a loot tag and use the setblock-replace command to replace this with an air block. If the chest has not been generated and still has the loot table tag as confirmed by using data-get-block, the chest will explode random items.
If the chest has been opened by a user and the loot generated, when being overwritten by the setblock-replace, no items will drop as expected with the replace modifier.
- is duplicated by
-
MC-188105 Containers generate LootTable when replaced by commands or structure blocks
- Resolved
-
MC-205937 Cloning over chests auto-generates loot
- Resolved
-
MC-225394 Using /setblock or /fill on a container with loot not yet generated will always drop its contents
- Resolved
- relates to
-
MCPE-151876 Containers with a loot table drop their items if removed
- Resolved