Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
fixed config custom main menu
{
"images": {
"title": {
"image": "modpack:textures/background.png",
"posX": -150,
"posY": -90,
"width": 300,
"height": 30,
"alignment": "center"
}
},
"buttons": {
"singleplayer": {
"text": "menu.singleplayer",
"texture": "modpack:textures/button6.png",
"posX": -200,
"posY": 48,
"width": 200,
"height": 20,
"action": {
"type": "openGui",
"gui": "singleplayer"
}
},
"multiplayer": {
"text": "menu.multiplayer",
"texture": "modpack:textures/button6.png",
"posX": -200,
"posY": 72,
"width": 200,
"height": 20,
"action": {
"type": "openGui",
"gui": "multiplayer"
}
},
"mods": {
"text": "Mods",
"texture": "modpack:textures/button6.png",
"posX": -200,
"posY": 96,
"width": 98,
"height": 20,
"action": {
"type": "openGui",
"gui": "mods"
}
},
"options": {
"text": "menu.options",
"texture": "modpack:textures/button6.png",
"posX": -200,
"posY": 132,
"width": 98,
"height": 20,
"action": {
"type": "openGui",
"gui": "options"
}
},
"quit": {
"text": "menu.quit",
"texture": "modpack:textures/button6.png",
"posX": 2,
"posY": 132,
"width": 200,
"height": 20,
"action": {
"type": "quit",
"language": {
"text": "",
"posX": -124,
"posY": 132,
"width": 20,
"height": 20,
"action": {
"type": "openGui",
"gui": "languages"
}
},
"donate": {
"text": "",
"texture": "modpack:textures/support.png",
"posX": -100,
"posY": -100,
"width": 50,
"height": 50,
"alignment": "center",
"action": {
"type": "openLink",
"link": "https://streamlabs.com/notlikethenormil"
}
}
},
"texts": {
"mojang": {
"text": "Copyright Mojang AB. Do not distribute!",
"posX": -197,
"posY": -10,
"color": -1,
"alignment": "bottom_right"
}
},
"other": {
"panorama": {
"images": "modpack:pana/panorama_%c.png",
"animate": true,
"animationSpeed": 1,
"blur": false,
"gradient": false
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.