CompatLayer
这个小模组/库包含一些工具,可以帮助使模组在 1.10 和 1.11 之间保持二进制兼容。如果你确保正确使用了此模组中的 API,就可以制作出一个同时适用于这两个版本的模组 JAR 文件。
除了本库提供的功能外,你还需要做以下几件事:
- 在你的 1.10.2 版本中,将所有资源名称(语言文件、模型名称、JSON 文件、纹理文件等)改为小写。添加一个 FMLMissingMapping 事件处理器以处理旧世界的加载问题
- 模组 ID 也应使用小写
- 将
tileEntity.worldObj替换为tileEntity.getWorld() - 将
entityPlayer.worldObj替换为entityPlayer.getEntityWorld()
此为 Alpha 版本。目前功能可能尚未完善。
查看 Wiki 以获取更多信息
访问 1.10.2 的 Maven 仓库
访问 1.11 的 Maven 仓库
CompatLayer
This small mod/library has some tools that can help to make mods binary compatible between 1.10 and 1.11. If you make sure you use the api in this mod correctly it is possible to make a mod jar that runs on both versions.
A few things that you should do in addition to what this library does:
- Make all resource names (lang files, model names, json files, texture files, ...) lower case in your 1.10.2 version. Add a FMLMissingMapping event handler to take care old worlds load
- Mod id should be lowercase too
- Replace tileEntity.worldObj with tileEntity.getWorld()
- Replace entityPlayer.worldObj with entityPlayer.getEntityWorld()
This is alpha. It is likely things are not complete yet.
See the wiki for more information
Go to the maven for 1.10.2
Go to the maven for 1.10.2
下载 CompatLayer
下载 CompatLayer
下载 CompatLayer
下载 CompatLayer
下载 CompatLayer
下载 CompatLayer
下载 CompatLayer
下载 CompatLayer
下载 CompatLayer
下载 CompatLayer
0.3.1:
- 更新以修复 1.10 版 EnderIO 与 1.11 版 EnderIO 之间的差异
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
评论 0
登录后参与评分
还没有评论,来抢沙发吧