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

Unable to copy block nbt string to entity display name.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.16.5, 1.17 Pre-release 1
    • None
    • Unconfirmed
    • (Unassigned)

      Custom loot table not copying nbt string to display name.
      This setup outputs a blank display name ( {display:{Name:'

      {"text":""}

      '}} ) and was expecting the name to be "minecraft:pig".
      Manually spawning the item works just fine.
      /give @s minecraft:spawner{display:{Name:'

      {"text":"minecraft:pig"}

      '}}

      File format attached:

        1. image-2021-10-15-00-03-51-183.png
          image-2021-10-15-00-03-51-183.png
          22 kB
        2. screenshot-1.png
          screenshot-1.png
          10 kB
        3. screenshot-2.png
          screenshot-2.png
          11 kB
        4. screenshot-3.png
          screenshot-3.png
          17 kB
        5. spawner.json
          0.7 kB

            Unassigned Unassigned
            shroototem Nicholas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: