Bring in the UI redesign #35

Merged
selimaj-dev merged 3 commits from ui-redesign into master 2026-09-27 16:32:21 +00:00
Owner

Brings in the UI redesign from saturnclientmc/common#6 (mod menu, mod and client settings, cosmetics) and the version code it needs. Part of #23; the glass panels with per-panel blur are still to come.

Changes

  • common points at the common#6 merge commit.
  • Player preview (EntityDrawerImpl): the cosmetics screen turns the player by dragging, so the drawer now draws the player filling its box at a given yaw, and returns false when there's no player (title screen). The angle no longer follows the cursor.
  • Background blur on 1.21.6+: vanilla's renderBackground drew its own panorama and blurred at the vanilla setting, then Saturn's panorama was drawn unblurred on top. SaturnScreenFabric now draws Saturn's panorama in renderBackground, blurs it, and keeps vanilla's darkening in a world. GameRendererMixin redirects getMenuBackgroundBlurrinessValue in GameRenderer.render to Saturn's "Background blur" setting while a Saturn screen is open; that call is there in every version from 1.21.6 to 1.21.11. Before 1.21.6 the existing blur reads the same setting. This removes the blur TODO.

Every version compiles (./gradlew compileJava); tested on 1.21.11.

🤖 Generated with Claude Code

Brings in the UI redesign from saturnclientmc/common#6 (mod menu, mod and client settings, cosmetics) and the version code it needs. Part of #23; the glass panels with per-panel blur are still to come. ## Changes - **`common`** points at the common#6 merge commit. - **Player preview** (`EntityDrawerImpl`): the cosmetics screen turns the player by dragging, so the drawer now draws the player filling its box at a given yaw, and returns false when there's no player (title screen). The angle no longer follows the cursor. - **Background blur on 1.21.6+**: vanilla's `renderBackground` drew its own panorama and blurred at the vanilla setting, then Saturn's panorama was drawn unblurred on top. `SaturnScreenFabric` now draws Saturn's panorama in `renderBackground`, blurs it, and keeps vanilla's darkening in a world. `GameRendererMixin` redirects `getMenuBackgroundBlurrinessValue` in `GameRenderer.render` to Saturn's "Background blur" setting while a Saturn screen is open; that call is there in every version from 1.21.6 to 1.21.11. Before 1.21.6 the existing blur reads the same setting. This removes the blur TODO. Every version compiles (`./gradlew compileJava`); tested on 1.21.11. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
selimaj-dev added 3 commits 2026-09-27 16:28:21 +00:00
EntityDrawerImpl follows common's new EntityDrawer contract: it draws the
player filling the preview box, turned by the yaw the cosmetics screen's
drag sets, and returns false when there's no player. The angle no longer
follows the cursor.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
From 1.21.6 vanilla's renderBackground drew its own panorama and blurred
at the vanilla setting, then Saturn's panorama was drawn unblurred on top.
SaturnScreenFabric now draws Saturn's panorama in renderBackground, blurs
it and keeps vanilla's darkening in a world, and GameRendererMixin gives
the blur shader Saturn's strength while a Saturn screen is open. Before
1.21.6 the existing blur reads the same setting.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Point common at the UI redesign
Check / compile (pull_request) Successful in 2m39s
bedb45c8aa
common#6 redesigns the mod menu, mod and client settings and cosmetics
screens, which the two commits before this one build on.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
selimaj-dev added 1 commit 2026-09-27 16:28:22 +00:00
Point common at the UI redesign
Check / compile (pull_request) Successful in 2m39s
bedb45c8aa
common#6 redesigns the mod menu, mod and client settings and cosmetics
screens, which the two commits before this one build on.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
selimaj-dev merged commit 30f65bd914 into master 2026-09-27 16:32:21 +00:00
selimaj-dev deleted branch ui-redesign 2026-09-27 16:32:23 +00:00
Sign in to join this conversation.