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

BaseComponent support to itemmeta display name and lore

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Invalid
    • Icon: Minor Minor
    • None
    • None
    • linux ubuntu & java 8, not sure if this is relevant

    • This server is running CraftBukkit version git-Spigot-988b411-1f4693a (MC: 1.16.3) (Implementing API version 1.16.3-R0.1-SNAPSHOT)
    • Yes

      Just looking to add BaseComponent support to itemmeta display name and lore please - 1.16 introduces font properties that can be used and this is required for it to work properly

       

      an example of using this with minecraft vanilla commands would be to use this command:

      `/give @p stone{display:{Lore:['[

      {"text":"\\u0010","font":"directory:filename"}

      ]']}} 1`

       

      the font file would be located in the resource pack saved at `assets/directory/font/filename.json`

      with this font profiler:

      ```json

      { "type": "bitmap", "file": "directory:font/image.png", "ascent": -7, "height": 16, "chars": [ "\u0010" ] }

      ```

      with an image named `image.png` saved in a resource pack at the directory `assets/directory/textures/font/image.png`

       

      this is ideal because it allows us to infinitely expand the pallet of fonts without overwriting the primary default `minecraft:default` font

       

       

            Unassigned Unassigned
            Behr Ruler Bear Riley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: