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

JSON values for enchanted items only visible inside inventory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.14 Pre-Release 5, 1.16.4, 20w51a
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      When you have an item that is enchanted, it has an aqua-color and is in italic. But these JSON text effects disappear when it's in an item frame (and has a custom name which makes the name visible inside an item frame in the first place).

      This can be replicated by using the following command:

      /give @p stick{Enchantments:[{}],display:{Name:"{\"text\":\"i'm a stick\"}"}}
      

       
      To fix this, make the item frame take in account whether an item is enchanted for providing the display of the name inside the item frame (since an item frame displays something different as inside the inventory and doesn't always display the name of an item, this should be possible).

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            pascalos99 pascal anema
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              CHK: