正常安装模组重启游戏之后 .minecraft\config会出现CustomMainMenu文件夹 用UltraEdit或Notepad++等等软件打开mainmenu.json文件 修改配置文件后直接点击游戏内的刷新按钮
按钮
- "singleplayer": 单人游戏
- {
- "texture" : "custommainmenu:textures/gui/button.png", 同上
- "text" : "单人怀旧", 按钮上的文字
- "posX" : -200, 坐标
- "posY" : 50, 坐标
- "width" : 100, 宽度
- "height" : 20, 高度
- "action" :
- {
- "type" : "openGui", 不用改
- "gui" : "singleplayer" 单人游戏
- }
复制代码附上gui可用更改 singleplayer 单人游戏
multiplayer 多人游戏
mods Mods
options 选项
languages 语言
刷新按钮 配置完成后推荐删除或者把坐标位置改得很大 - "refresh": 刷新
- {
- "text" : "", 文字
- "posX" : -154, 坐标
- "posY" : 132, 坐标
- "width" : 20, 宽度
- "height" : 20, 高度
- "texture" : "custommainmenu:textures/gui/buttons.png", 刷新按钮图标
- "action" :
- {
- "type" : "refresh" 刷新钮
- }
- }
复制代码
黄字
- "splash-text": 标题右下角一闪一闪的黄字
- {
- "posX" : 90, 坐标
- "posY" : 70, 坐标
- "color" : -256, 颜色
- "alignment" : "top_center",
- "file" : "texts/splashes.txt" 文件位置
- },
复制代码 这一段推荐直接删除 |