Back to mods
Fabric Screen Layers project artwork

CurseForge · Minecraft mod

Fabric Screen Layers

Fabric implementation of Forge's screen layering

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Fabric Screen Layers release should I use?

Updated 2 years ago
Latest stable file 1.0.2+1.20.4
Game version 1.20.4
Loader Fabric, Quilt

Fabric Screen Layers 1.0.2+1.20.4 targets 1.20.4 with Fabric, Quilt. It must be installed on the client. Do not install it on the dedicated server. No extra mods listed for this file.

Where it goes

Is Fabric Screen Layers required on the client, server, or both?

It must be installed on the client. Do not install it on the dedicated server.

Client Required
Dedicated server Not supported
Loader for this release Fabric, Quilt
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked client-only.

What else does Fabric Screen Layers 1.0.2+1.20.4 need?

1.0.2+1.20.4. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Fabric Screen Layers without breaking your instance.

Built for Fabric Screen Layers 1.0.2+1.20.4. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.2+1.20.4. It targets 1.20.4 with Fabric, Quilt; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    It must be installed on the client. Do not install it on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.2+1.20.4. It opens that exact file at the source.

About this project

What does Fabric Screen Layers add?

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());

Project description from CurseForge.

Pick your setup

Fabric Screen Layers by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

14 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Fabric Screen Layers versions and loaders

16 of 16 releases match

Looking for an older file? The official CurseForge project page is in Resources.