ModsFinder

Fabric Screen Layers

by mysticdrew

Fabric Screen Layers is a library that lets Minecraft GUI screens be stacked on top of one another.

FabricQuiltClient-side onlyMIT LicenseOpen source1.19.2 – 1.20.4

What it does

The library gives mod developers a utility for placing one screen above another, modelled after the GuiScreenLayering logic that Minecraft Forge uses, and it is implemented with mixins. Only the client needs it, so servers run without it. Installation is needed on Fabric or Quilt, and builds cover 1.19.2 – 1.20.4, with 1.0.2+1.20.4 for 1.20.4 as the latest file.

Key features

  1. Stacked screens

    A screen can be opened on top of another screen, so the lower one stays visible behind it.

  2. Forge-style layering

    The layering behaviour follows the GuiScreenLayering logic from Minecraft Forge, adapted to Fabric through mixins.

  3. Developer utility

    Other mods call the utility to add a screen above an existing one, without writing the layering code themselves.

Compatibility

Latest build for each game version and loader.

1.20.41.0.2+1.20.41.0.2+1.20.4
1.20.21.0.2+1.20.21.0.2+1.20.2
1.201.0.1+1.201.0.1+1.20
1.19.41.0.1+1.19.41.0.1+1.19.4
1.19.31.0.1+1.19.31.0.1+1.19.3
1.19.21.0.1+1.19.21.0.1+1.19.2
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Required by 1 mod

Questions

Does KSwitch need Fabric Screen Layers?

Yes. KSwitch is listed as requiring Fabric Screen Layers, so it must be installed alongside it.

Does Fabric Screen Layers have to run on a server?

No. It is client-side only, so only the client needs it and servers can run without it.

In the catalog

Fabric Screen Layers is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 13,907 mods support Minecraft 1.20.4.

More from mysticdrew

All projects

Similar mods

What the author says

FabricScreenLayers is modelled after Minecraft Forge's GuiScreenLayering logic using mixins. Provides utility to layer minecraft gui screens on top of one another. 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.
mysticdrew, on the Modrinth page

Official listing

Owner
mysticdrew
Published
2022-12-26
Updated on Modrinth
2023-12-14
Facts verified
2026-10-15

Tags