lumien231 / Custom-Main-Menu

A mod that allows you to modify the minecraft main menu
MIT License
67 stars 37 forks source link

Missing Texture, Title not working. #467

Open BCNinjaYT opened 3 years ago

BCNinjaYT commented 3 years ago

The Problem:

I am trying to make a mod-pack called BCCraft and I am trying to set the title saying 'BC Craft' but when I change the config it shows the missing texture.(I do have resource loader)

image

The code:

`{ "images": { "title": { "image" : "bccraft:bccraft.png", "posX" : -137, "posY" : 15, "width" : 275, "height" : 75, "alignment" : "top_center" },

    "edition":
    {
        "image" : "custommainmenu:textures/gui/edition.png",
        "posX" : -49,
        "posY" : 67,
        "width" : 128,
        "height" : 16,
        "alignment" : "top_center"
    }
},

"buttons":
{
    "singleplayer":
    {
        "text" : "menu.singleplayer",
        "posX" : -100,
        "posY" : 48,
        "width" : 200,
        "height" : 20,
        "action" : 
        {
            "type" : "openGui",
            "gui" : "singleplayer"
        }
    },

    "multiplayer":
    {
        "text" : "menu.multiplayer",
        "posX" : -100,
        "posY" : 72,
        "width" : 200,
        "height" : 20,
        "action" : 
        {
            "type" : "openGui",
            "gui" : "multiplayer"
        }
    },

    "mods":
    {
        "text" : "fml.menu.mods",
        "posX" : -100,
        "posY" : 96,
        "width" : 200,
        "height" : 20,
        "action" : 
        {
            "type" : "openGui",
            "gui" : "mods"
        }
    },

    "options":
    {
        "text" : "menu.options",
        "posX" : -100,
        "posY" : 132,
        "width" : 98,
        "height" : 20,
        "action" : 
        {
            "type" : "openGui",
            "gui" : "options"
        }
    },

    "quit":
    {
        "text" : "menu.quit",
        "posX" : 2,
        "posY" : 132,
        "width" : 98,
        "height" : 20,
        "action" : 
        {
            "type" : "quit"
        }
    },

    "language":
    {
        "text" : "",
        "posX" : -124,
        "posY" : 132,
        "width" : 20,
        "height" : 20,
        "action" : 
        {
            "type" : "openGui",
            "gui" : "languages"
        }
    },

    "refresh":
    {
        "text" : "",
        "posX" : -154,
        "posY" : 132,
        "width" : 20,
        "height" : 20,
        "texture" : "custommainmenu:textures/gui/buttons.png",
        "action" : 
        {
            "type" : "refresh"
        }
    }
},

"labels":
{
    "mojang":
    {
        "text" : "Copyright Mojang AB. Do not distribute!",
        "hoverText" : "�nCopyright Mojang AB. Do not distribute!",
        "posX" : -197,
        "posY" : -10,
        "color" : -1,
        "alignment" : "bottom_right",
        "action" : 
        {
            "type" : "openGui",
            "gui" : "credits"
        }
    },

    "fml":
    {
        "text" : "",
        "posX" : 2,
        "posY" : -40,
        "color" : -1,
        "alignment" : "bottom_left"
    }
},

"other":
{
    "splash-text":
    {
        "posX" : 90,
        "posY" : 70,
        "color" : -256,
        "alignment" : "top_center",
        "texts" : "file:minecraft:texts/splashes.txt"
    },

    "panorama":
    {
        "images" : "minecraft:textures/gui/title/background/panorama_%c.png",
        "animate" : true,
        "animationSpeed" : 1,
        "blur" : true,
        "gradient" : true
    }
}

}`

Where I think the error is:

{ "images": { "title": { "image" : "bccraft:bccraft.png", "posX" : -137, "posY" : 15, "width" : 275, "height" : 75, "alignment" : "top_center" },

File Locations:

image ModPack Folder: image

X-9171 commented 3 years ago

same