CompatLayer has been archived. CompatLayer will not receive any further updates unless the author decides to unarchive the project.
Compatibility
Minecraft: Java Edition
1.11.2
1.11
1.10.2
Platforms
Forge
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed MIT
Published last year
Updated last year
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