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

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.16.5, 1.17 Pre-release 1
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Unconfirmed
    • Category:
      (Unassigned)

      Description

      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:

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated: