-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 18w43b, Minecraft 18w43c, 1.15.2, 20w16a, 1.16.2 Release Candidate 2, 1.16.2, 1.16.5, 21w05b, 21w06a, 21w08b, 1.21.1
-
None
-
Confirmed
-
(Unassigned)
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
- is duplicated by
-
MC-170503 HandDropChances and ArmorDropChances ignored in /loot
- Resolved