Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-5272

Item meta LocalizedName is outdated

XMLWordPrintable

    • 1.14.4-RO.1-SNAPSHOT
    • recipmanager
    • Yes

      item meta hasLocalizedName, getLocalizedName and setLocalizedName
      is outdated

      the item will generate/get/set {display:{LocName:'

      {"text":"block.minecraft.iron_ore"}

      '}}
      which LocName was remove in 1.13 and change to translate
      the correct one would be {display:Name:'

      {"translate":"block.minecraft.iron_ore"}

      '}

      (in the picture I attached use meta.setLocalizedName, the second picture is vanilla NBT that work)

        1. 2562-08-17_23.49.29.png
          187 kB
          playbabeTheBookShelf
        2. 2562-08-17_23.49.54.png
          148 kB
          playbabeTheBookShelf

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

              Created:
              Updated:
              Resolved: