The bug
When using /loot mine
on a chest or other container, only the container itself will be dropped. The custom name, if any, will be preserved—it is clearly that specific chest—but the items inside of it will be ignored.
Similarly, when using /loot kill
on an entity, only the entity's death loot table is considered. Any armor items that the entity is wearing are ignored, any saddles, chests, or chest contents are ignored, and non-living entities like paintings, item frames, and minecarts will fail to drop anything at all.
Reproduction steps
/loot mine
/setblock ~ ~ ~ chest{CustomName:"\"Test\"",Items:[{id:stone,Count:1b,Slot:0b}]}
/loot give @s mine ~ ~ ~
✔ The dropped chest has the custom name
❌ The chest content (stone item) is not given to you
/loot kill
/summon husk ~ ~ ~ {HandItems:[{id:stone,Count:1b}],HandDropChances:[1f,1f],ArmorItems:[{id:diamond_boots,Count:1b}],ArmorDropChances:[1f,1f,1f,1f]}
/loot give @s kill @e[type=husk,limit=1,sort=nearest]
❌ You only receive the normal husk drops (e.g. rotten flesh) but not the hand or armor items
/loot kill
(hardcoded drops)
Place an item frame and place any item inside it
/loot give @s kill @e[type=item_frame,limit=1,sort=nearest]
❌ You receive nothing
Linked issues
is duplicated by 1
Attachments
Comments 7
