CompatLayer
This compact library provides a set of tools for ensuring binary compatibility of mods between Minecraft versions 1.10 and 1.11. When using this library's API correctly, you can create a single mod file that works in both game versions.
Additional Recommendations
In addition to using this library, it's recommended to perform the following actions:
- Convert all resource names (language files, models, JSON files, textures, etc.) to lowercase in the 1.10.2 version. Also add an FMLMissingMapping event handler for proper loading of old worlds
- The mod identifier should also be in lowercase
- Replace tileEntity.worldObj with tileEntity.getWorld()
- Replace entityPlayer.worldObj with entityPlayer.getEntityWorld()
Warning: This is an alpha version, so some features may not be fully implemented.
More detailed information can be found on the project page.