介绍
Menu Lib offers an api of multiple and browsable main menus. It contains a simple self explanatory interface for overriding default custom menu behavior. this mod was inspired by gilded games core and aether ii from 1.5.2. No code was taken from the aether ii nor it’s core mod. I provide a simple and clean system
Modders-Api:
MenuRegsitry.register(IMenu menu);
to create a basic IMenu use Menu.class. There are several options you can use, custom framerate, custom music player etc…
new Menu(ResourceLocation id, Class<? extends GuiClass> guiClass)
there is a hook for adding your wrapped buttons and other objects for custom main menu json defaults
create a class implementing ICMMJsonEvent
register that class in pre-init using CMMJsonRegistry.registry.add(new CMMJsonHandler());
For more info check out IMenu and Menu classes on the public source
https://github.com/jredfox/menulib/tree/master/src/main/java/com/jredfox/menulib/menu
Features & Config:
multiple main menus
custom framerate per IMenu
custom music per IMenu(2.0.0 update)
create a new menu for a mod in the config that this mod doesn’t support: modid:mainmenu <full.path.to.class> = true/false
disable a menu by appending “= false” to it
change the menu order by simply re-arranging the order in the config
Supported Mods:
The Between Lands
Fossils and Archaeology
Custom Main Menu
Future:
refresh button
menu selection
new music engine
background and button textures changeable?
常见问题
Menu Library 支持哪些 Minecraft 版本?
Menu Library 支持 Minecraft Java 版 1.12.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Menu Library 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
jredfox_ 的其他作品
查看全部 →Lan UPNP
使用 UPNP 将 Minecraft 服务器从局域网映射到互联网
Evil Notch Lib
一个适用于 Java 和 Minecraft 的前置库与 API
Silk Spawners Modded Edition
以最先进的可配置方式实现用精准采集掉落刷怪笼的功能
IItem Renderer Reborn
IItemRender 模组为较新版本带回了 IItemRenderer 接口和 RenderItem。
评论
登录后评论和评分