The bug
Doing a /loot give @s ...
for a player in Survival or Adventure mode while the player inventory is full causes the items to be deleted, rather than spawned as item entities, contrary to the behavior exhibited by the /give
command when the player inventory is full.
Reproduction steps
Fill your complete inventory
/give @s minecraft:wooden_sword 36
Switch to Survival mode
Use
/loot give
/loot give @s loot minecraft:blocks/acacia_button
❌ The command feedback says "Dropped 0 items" and you did not get any item, neither was the item entity dropped
Attachments
Comments 11
confirmed in 20w19a.
This is a pretty serious issue since it makes the command work incorrectly. Most users of the command probably assume that loot will drop if a player's inventory is full.
@@unknown, this report is about /loot give
, not the /give
command. /give
deleting items for Creative mode is likely MC-8409 or closely related and probably intended.
Can confirm in 1.17.1. I've attached a video along with a screenshot demonstrating the problem.
[media][media]
affects 1.15 pre-release 1