Fabric Screen Layers
by mysticdrew
Fabric Screen Layers is a library that lets Minecraft GUI screens be stacked on top of one another.
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
Stacked screens
A screen can be opened on top of another screen, so the lower one stays visible behind it.
Forge-style layering
The layering behaviour follows the GuiScreenLayering logic from Minecraft Forge, adapted to Fabric through mixins.
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.
Only full game releases are shown. This mod publishes no snapshot builds.
Required by 1 mod
Questions
Does KSwitch need Fabric Screen Layers?
Does Fabric Screen Layers have to run on a server?
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
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.
Official listing
- Modrinth page
- modrinth.com/mod/fabric-screen-layers
- Owner
- mysticdrew
- Published
- 2022-12-26
- Updated on Modrinth
- 2023-12-14
- Facts verified
- 2026-10-15
