Instantly share code, notes, and snippets.
Created
January 9, 2018 08:53
-
Star
(0)
0
You must be signed in to star a gist -
Fork
(0)
0
You must be signed in to fork a gist
-
Save Possemaster/0d56a42022f6e8d034697c8d20281467 to your computer and use it in GitHub Desktop.
mainmenu.json for adding ReplayMod to FTB Revelation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"images": | |
{ | |
"modpack": | |
{ | |
"image" : "mainmenu:modpack.png", | |
"posX" : -125, | |
"posY" : -5, | |
"width" : 250, | |
"height" : 150, | |
"alignment" : "top_center" | |
} | |
}, | |
"buttons": | |
{ | |
"singleplayer": | |
{ | |
"text" : "Singleplayer", | |
"posX" : 0, | |
"posY" : -28, | |
"textOffsetX" : -10, | |
"width" : 98, | |
"height" : 14, | |
"normalTextColor" : -1, | |
"hoverTextColor" : 10027008, | |
"alignment" : "left_center", | |
"texture" : "mainmenu:blankbutton.png", | |
"action" : | |
{ | |
"type" : "openGui", | |
"gui" : "singleplayer" | |
} | |
}, | |
"multiplayer": | |
{ | |
"text" : "Multiplayer", | |
"posX" : 0, | |
"posY" : -14, | |
"textOffsetX" : -14, | |
"width" : 98, | |
"height" : 14, | |
"normalTextColor" : -1, | |
"hoverTextColor" : 10027008, | |
"alignment" : "left_center", | |
"texture" : "mainmenu:blankbutton.png", | |
"action" : | |
{ | |
"type" : "openGui", | |
"gui" : "multiplayer" | |
} | |
}, | |
"options": | |
{ | |
"text" : "Options", | |
"posX" : 0, | |
"posY" : 0, | |
"textOffsetX" : -23, | |
"width" : 98, | |
"height" : 14, | |
"normalTextColor" : -1, | |
"hoverTextColor" : 10027008, | |
"alignment" : "left_center", | |
"texture" : "mainmenu:blankbutton.png", | |
"action" : | |
{ | |
"type" : "openGui", | |
"gui" : "options" | |
} | |
}, | |
"mods": | |
{ | |
"text" : "Mods", | |
"posX" : 0, | |
"posY" : 14, | |
"textOffsetX" : -28, | |
"width" : 98, | |
"height" : 14, | |
"normalTextColor" : -1, | |
"hoverTextColor" : 10027008, | |
"alignment" : "left_center", | |
"texture" : "mainmenu:blankbutton.png", | |
"action" : | |
{ | |
"type" : "openGui", | |
"gui" : "mods" | |
} | |
}, | |
"language": | |
{ | |
"text" : "Language", | |
"posX" : 0, | |
"posY" : 28, | |
"textOffsetX" : -16, | |
"width" : 98, | |
"height" : 14, | |
"normalTextColor" : -1, | |
"hoverTextColor" : 10027008, | |
"alignment" : "left_center", | |
"texture" : "mainmenu:blankbutton.png", | |
"action" : | |
{ | |
"type" : "openGui", | |
"gui" : "languages" | |
} | |
}, | |
"replayviewer": | |
{ | |
"text" : "replaymod.gui.replayviewer", | |
"posX" : -51, | |
"posY" : -25, | |
"width" : 98, | |
"height" : 20, | |
"normalTextColor" : -1, | |
"hoverTextColor" : 10027008, | |
"alignment" : "center", | |
"texture" : "mainmenu:blankbutton.png", | |
"wrappedButton": 17890234 | |
}, | |
"replayeditor": | |
{ | |
"text" : "replaymod.gui.replayeditor", | |
"posX" : -51, | |
"posY" : 25, | |
"width" : 98, | |
"height" : 20, | |
"normalTextColor" : -1, | |
"hoverTextColor" : 10027008, | |
"alignment" : "center", | |
"texture" : "mainmenu:blankbutton.png", | |
"wrappedButton": 17890237 | |
}, | |
"replaycenter": | |
{ | |
"text" : "replaymod.gui.replaycenter", | |
"posX" : -51, | |
"posY" : 0, | |
"width" : 98, | |
"height" : 20, | |
"normalTextColor" : -1, | |
"hoverTextColor" : 10027008, | |
"alignment" : "center", | |
"texture" : "mainmenu:blankbutton.png", | |
"wrappedButton": 17890236 | |
}, | |
"pack support": | |
{ | |
"text" : "Pack Support", | |
"posX" : -90, | |
"posY" : -28, | |
"textOffsetX" : 0, | |
"width" : 98, | |
"height" : 14, | |
"normalTextColor" : -1, | |
"hoverTextColor" : 10027008, | |
"alignment" : "right_center", | |
"texture" : "mainmenu:blankbutton.png", | |
"action" : | |
{ | |
"type" : "openLink", | |
"link" : "https://forum.feed-the-beast.com/forum/ftb-revelation.274/" | |
} | |
}, | |
"changelog": | |
{ | |
"text" : "Changelogs", | |
"posX" : -90, | |
"posY" : -14, | |
"textOffsetX" : 5, | |
"width" : 98, | |
"height" : 14, | |
"normalTextColor" : -1, | |
"hoverTextColor" : 10027008, | |
"alignment" : "right_center", | |
"texture" : "mainmenu:blankbutton.png", | |
"action" : | |
{ | |
"type" : "openLink", | |
"link" : "https://www.feed-the-beast.com/projects/ftb-revelation/files" | |
} | |
}, | |
"website": | |
{ | |
"text" : "Website", | |
"posX" : -90, | |
"posY" : 0, | |
"textOffsetX" : 15, | |
"width" : 98, | |
"height" : 14, | |
"normalTextColor" : -1, | |
"hoverTextColor" : 10027008, | |
"alignment" : "right_center", | |
"texture" : "mainmenu:blankbutton.png", | |
"action" : | |
{ | |
"type" : "openLink", | |
"link" : "http://www.feed-the-beast.com/" | |
} | |
}, | |
"forums": | |
{ | |
"text" : "Forums", | |
"posX" : -90, | |
"posY" : 14, | |
"textOffsetX" : 15, | |
"width" : 98, | |
"height" : 14, | |
"normalTextColor" : -1, | |
"hoverTextColor" : 10027008, | |
"alignment" : "right_center", | |
"texture" : "mainmenu:blankbutton.png", | |
"action" : | |
{ | |
"type" : "openLink", | |
"link" : "http://forum.feed-the-beast.com/forum/" | |
} | |
}, | |
"quit": | |
{ | |
"text" : "Quit", | |
"posX" : -90, | |
"posY" : 28, | |
"textOffsetX" : 22, | |
"width" : 98, | |
"height" : 14, | |
"normalTextColor" : -1, | |
"hoverTextColor" : 10027008, | |
"alignment" : "right_center", | |
"texture" : "mainmenu:blankbutton.png", | |
"action" : | |
{ | |
"type" : "quit" | |
} | |
}, | |
"refresh": | |
{ | |
"text" : "", | |
"posX" : -20, | |
"posY" : 0, | |
"width" : 20, | |
"height" : 20, | |
"alignment" : "top_right", | |
"texture" : "mainmenu:refresh.png", | |
"action" : | |
{ | |
"type" : "refresh" | |
} | |
} | |
}, | |
"labels": | |
{ | |
"forge":{ | |
"text" : "Forge #forgeversion#", | |
"posX" : 2, | |
"posY" : -13, | |
"fontSize" : .6, | |
"color" : -1, | |
"hoverColor" : -1, | |
"alignment" : "bottom_left" | |
}, | |
"modsloaded":{ | |
"text" : "#modsloaded# Mods Loaded", | |
"posX" : 2, | |
"posY" : -7, | |
"fontSize" : .6, | |
"color" : -1, | |
"hoverColor" : -1, | |
"alignment" : "bottom_left" | |
}, | |
"minecraft":{ | |
"text" : "Minecraft 1.12.2", | |
"posX" : -50, | |
"posY" : -13, | |
"fontSize" : .6, | |
"color" : -1, | |
"hoverColor" : -1, | |
"alignment" : "bottom_right" | |
}, | |
"mojang": | |
{ | |
"text" : "Copyright Mojang AB", | |
"posX" : -65, | |
"posY" : -7, | |
"fontSize" : .6, | |
"color" : -1, | |
"hoverColor" : -1, | |
"alignment" : "bottom_right" | |
} | |
}, | |
"other": | |
{ | |
"background": | |
{ | |
"image" : "mainmenu:background.png", | |
"mode" : "fill" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment