Skip to content

Instantly share code, notes, and snippets.

@ImperfMage
Created August 2, 2017 11:00
Show Gist options
  • Save ImperfMage/662cb80ec26d6988a2655036c85e5efa to your computer and use it in GitHub Desktop.
Save ImperfMage/662cb80ec26d6988a2655036c85e5efa to your computer and use it in GitHub Desktop.
Custom Main Menu
{
"images":
{
"title":
{
"image" : "resources:Mage:Title.png",
"posX" : -137,
"posY" : 30,
"width" : 512,
"height" : 512,
"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!",
"posX" : -197,
"posY" : -10,
"color" : -1,
"alignment" : "bottom_right"
},
"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
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment