CompatLayer

CompatLayer

Compatibility layer to help make mods compatible between 1.10 and 1.11

by
12.3K Downloads
forgelibrary
Rent Server with this Mod

About this Mod

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

Available Versions

compatlayer-1.11.2-0.3.1.jarrelease
MC 1.11.2forge
January 26, 2023
compatlayer-1.10-0.3.1.jarrelease
MC 1.10.2forge
January 26, 2023
compatlayer-1.11.2-0.3.0.jarrelease
MC 1.11.2forge
January 26, 2023
compatlayer-1.10-0.3.0.jarrelease
MC 1.10.2forge
January 26, 2023
compatlayer-1.11.2-0.2.9.jarrelease
MC 1.11.2forge
January 26, 2023

How to Install CompatLayer on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set forge Loader

In the panel under "Egg", select the forge loader and matching Minecraft version (1.11.2).

3

Install Mod

Open the mod browser in the dashboard and search for "CompatLayer". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

forge

Minecraft Versions

1.11.2, 1.11, 1.10.2

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

CompatLayer server crashes on startup – what to do?

Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.11.2). You can switch loaders with one click in the panel.

Is CompatLayer compatible with forge?

CompatLayer officially supports forge for Minecraft 1.11.2, 1.11, 1.10.2. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with CompatLayer – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if CompatLayer consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install CompatLayer with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.11.21.111.10.2