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

Setting an item to air using /data logs an error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.21
    • None
    • Community Consensus
    • Commands

      Steps to reproduce:

      1. Launch the game with output enabled and create/open a world
      2. Place a chest down and stand on it
      3. Run
        /data merge block ~ ~ ~ {Items:[{Slot:0b,id:"minecraft:air",Count:1b}]}
      4. Switch to the Minecraft game output window

      Observed result:
      A Tried to load invalid item: 'Item must not be minecraft:air' error is generated.

      Expected result:
      No error is generated.

            Unassigned Unassigned
            blublu_owns_123 blublu_owns_123
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: