Mojira Archive
MC-275466

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

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"
            ]
        }
    ]
}

 

Won't Fix

Miccebe

2024-08-16, 11:22 PM

2024-10-04, 11:13 AM

2024-10-04, 11:13 AM

1

1

Community Consensus

Resource Packs, Text

font, resourcepack

24w33a, 1.21.1, 24w36a

-