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

The texture of the character \u0000 cannot be modified by resource packs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • None
    • 24w33a, 1.21.1, 24w36a
    • Community Consensus
    • Resource Packs, Text

      Performance

      When modified the texture of the character \u0000 by "bitmap" type in font/<FontName>.json of a resourcepack, and output \u0000 in the game, it is displayed as a blank box like this:

      Reproduce

      Load the resourcepack Test.zipattached, and run the command:

      /tellraw @a {"font": "minecraft:test", "text": "\u0000\n\u0001"}

      Then you'll see a blank box and an iron ingot in the chat frame like this:

       

      The content of file assets/minecraft/font/test.json in Test.zipis shown below:

      {
          "providers": [
              {
                  "type": "bitmap",
                  "file": "item/iron_ingot.png",
                  "height": 20,
                  "ascent": 20,
                  "chars": [
                      "\u0000"
                  ]
              },
              {
                  "type": "bitmap",
                  "file": "item/iron_ingot.png",
                  "height": 20,
                  "ascent": 20,
                  "chars": [
                      "\u0001"
                  ]
              }
          ]
      }

       

        1. image-2024-08-17-02-29-26-981.png
          455 kB
          BugTracker
        2. image-2024-08-17-07-10-51-933.png
          0.6 kB
          Miccebe
        3. image-2024-08-17-07-16-09-482.png
          42 kB
          Miccebe

            Unassigned Unassigned
            Miccebe Miccebe
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: