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

Can't give item with item_name component set to "null"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 24w13a
    • None
    • Confirmed
    • (Unassigned)

      When trying to give yourself an item with the item_name component set to "null" you instead get an error

      Malformed 'minecraft:item_name' component: 'Not a JSON object: null; Not a json array: null; Not a string: null' 

      Command:

      /give @p minecraft:breeze_rod[minecraft:item_name="null"]

            Unassigned Unassigned
            mattp_12 mattp_12
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: