PolyCompose

Library mod for building Minecraft screens and HUDs with Jetpack Compose. Made by Polyfrost. Formerly known as Compose Multiplatform.
Back to Files

3.0.4

File namepolycompose-1.21.5-fabric-3.0.4.jar
Uploader
PolyfrostPolyfrost
Uploaded
Nov 22, 2026
Downloads
4
Size
14.8 MB
Mod Loaders
Fabric
File ID
9755539
Type
R
Release
Supported game versions
  • 1.21.5

Curse Maven Snippet

Fabric

modImplementation "curse.maven:polycompose-1569167:9755539"

Learn more about Curse Maven

What's new

  • Improved HUD performance on every version, most of all on 1.8.9. HUDs that haven't changed are no longer laid out and recorded again each frame, 1.8.9 and 1.16 to 1.21.10 keep the HUD in a cached texture, and text, item icons and both renderers allocate much less per frame
  • Enchanted items in HUDs are rendered once with their glint drawn on top, instead of being rendered again every tick
  • Fixed HUD item icons lagging a frame behind on 26.1 and newer
  • Fixed live canvases in the cached HUD not updating when the state they read changed below 1.21.11
  • Fixed characters from legacy_unicode fonts not loading below 1.21.11
  • Fixed sprites not loading from protected server resource packs
  • PolyGlyphPage.Page.pixels is now a getter, so mods compiled against the old field need a rebuild
  • Added PolyNode.reportsLayoutChanges, liveMeasure and the notify* methods so custom nodes can skip full relayouts, IntSupplier overloads of live and mcTextLive, and PolyTessellator.submitBuffer

This mod has no additional files