Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-154422

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 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
    • None
    • Confirmed
    • Commands
    • Normal
    • Platform

      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

        1. MC-154422.mp4
          6.20 MB
          [Mod] Avoma
        2. MC-154422.png
          981 kB
          [Mod] Avoma

            Unassigned Unassigned
            PiyoPwincess Piyotato
            Votes:
            21 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              CHK: