Mojira Archive
MC-154422

/loot give causes the item to be deleted if player inventory is full

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

  1. Fill your complete inventory
    /give @s minecraft:wooden_sword 36
    
  2. Switch to Survival mode
  3. 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

Unresolved

Piyotato

2019-06-12, 05:21 PM

2024-12-15, 06:25 PM

33

16

Confirmed

Normal

Platform

Commands

Minecraft 1.14.2 - 1.21.4Minecraft 1.14.2, 1.15 Pre-release 1, 20w19a, 20w20b, 1.16 Pre-release 5, 20w51a, 21w03a, 1.17.1, 1.19.3, 1.20 Pre-release 4, 23w45a, 1.20.4, 1.21.4

-