
Fabric Screen Layers
Screen Layering Utility for Fabric
About this Mod
FabricScreenLayers is modelled after Minecraft Forge's GuiScreenLayering logic using mixins.
Provides utility to layer minecraft gui screens on top of one another.
Examples Usages:
To add a screen on top of another screen:
ScreenLayerManager.pushLayer(new CustomScreen());
To remove a screen:
ScreenLayerManager.popLayer();
To clear all screens:
ScreenLayerManager.clearLayers();
When translating a screen or item on the screen for sizing.
It is important to use ScreenLayerManager.getFarPlane()so it does not break mods using layers.
RenderSystem.clear(GL_DEPTH_BUFFER_BIT, Minecraft.ON_OSX);
Matrix4f matrix4f = new Matrix4f().setOrtho(0.0F, (float) width, (float) height, 0.0F, 100.0F, ScreenLayerManager.getFarPlane());
RenderSystem.setProjectionMatrix(matrix4f);
PoseStack posestack = RenderSystem.getModelViewStack();
posestack.setIdentity();
posestack.translate(0.0D, 0.0D, 1000.0F - ScreenLayerManager.getFarPlane());
Available Versions
How to Install Fabric Screen Layers on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.4).
Install Mod
Open the mod browser in the dashboard and search for "Fabric Screen Layers". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.4, 1.20.2, 1.20 (+3 more)
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Fabric Screen Layers server crashes on startup – what to do?
Most common cause: wrong fabric 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.20.4). You can switch loaders with one click in the panel.
Is Fabric Screen Layers compatible with fabric and quilt?
Fabric Screen Layers officially supports fabric, quilt for Minecraft 1.20.4, 1.20.2, 1.20. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Fabric Screen Layers – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Fabric Screen Layers 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.
Similar Mods
Rent Modded Server
Install Fabric Screen Layers with just one click on your server.