Major Redesgin and improvements #1
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
6b6t/AnarchyClient!1
Loading…
Reference in a new issue
No description provided.
Delete branch "main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Redesign the client menu: liquid-glass UI over the live game
Replaces the old click-GUI with a new liquid-glass menu rendered entirely through Blaze3D. The game stays visible and is blurred/refracted only behind the panels, so the menu reads as frosted glass floating over the world.
Highlights
Fixes
Affected areas
rivet/ (Blaze3D backend, glass/SDF render commands, backdrop, shaders), ui/ (menu, theme, panels, screen), config/ (UI preferences), mixin/GameRendererMixin, module/impl (AirPlace, TntTimer). Adds DESIGN.md — a full recreation spec for the design language.
Verification
Examples


wow the screenshots look great
Pull request overview
This PR overhauls AnarchyClient’s in-game menu into a new “liquid-glass” UI rendered via Blaze3D/Rivet, including per-panel blurred backdrop capture and new SDF-based shaders/pipelines, while also addressing a couple of gameplay/UI correctness fixes (AirPlace placement path, TNT fuse locale formatting) and expanding persisted UI preferences.
Changes:
GlassTheme.Reviewed changes
Copilot reviewed 19 out of 20 changed files in this pull request and generated 2 comments.
Show a summary per file
Locale.ROOTfor stable decimal rendering.useItemOnand adds obstruction checks for block items.processBlurEffectto drive glass backdrop capture/restoration.UiPreferences.💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
@ -0,0 +24,4 @@private static GpuTexture blurredTexture;private static GpuTextureView blurredView;private static boolean capturedThisFrame;// Resources retired on resize. Closed one frame later so draws recorded against the old view finish first.The flag name capturedThisFrame is misleading: it’s only reset on deactivate()/resize, not per frame, so it effectively means “has a capture ever happened since activation”. Either rename it (e.g. hasCapture) or reset it at the start of each blur pass so the name matches the semantics.
@ -1077,3 +1310,4 @@@Overridepublic void render(final Renderer renderer, final Size size) {float clientWidth = textWidth(this, "client", GlassTheme.accent());float brandWidth = textWidth(this, "ANARCHY", TEXT);enabledCount() calls ModuleManager.byCategory(), which allocates a new ArrayList each call. Because enabledCount is used from DockButton.activeDot suppliers during render, this can create per-frame allocations (multiple categories) and unnecessary GC churn in the UI loop. Consider caching enabled counts per category (recomputed on toggle/refresh) or restructuring DockButton to avoid invoking byCategory every render.