AdmincraftA
Admincraft13mo ago
danny

Texturepack help

So, I'm currently developing a plugin for my server and I want to have a fancy statistics screen by overlaying a custom texture above the inventory hud. I've also uploaded the texture here (=> first image). This is the default.json that I use to map the textures to the font characters:
{
    "providers": [
        {
            "type": "bitmap",
            "file": "minecraft:custom/icon.png",
            "ascent": 1,
            "height": 17,
            "chars": ["\uE000"]
        },
        {
            "type": "bitmap",
            "file": "minecraft:custom/icon_half.png",
            "ascent": 1,
            "height": 17,
            "chars": ["\uE001"]
        },
        {
            "type": "bitmap",
            "file": "minecraft:custom/icon_off.png",
            "ascent": 1,
            "height": 17,
            "chars": ["\uE002"]
        },
        {
            "type": "bitmap",
            "file": "minecraft:custom/stats-overlay.png",
            "ascent": 13,
            "height": 256,
            "chars": ["\uE003"]
        }

But for some reason, when I open the gui, the texture seems to appear much darker than it should be (see the second image) while also being a bit more to the right than I want it to be. For some context, I'm using this negative space font texture pack for some other parts of the plugin.
Help is appreciated :CatYesAgreed:
stats-overlay.png
image.png
GitHub
Minecraft resource pack with negative and positive size spaces - AmberWat/NegativeSpaceFont
Was this page helpful?