From cd5bf0190e8582313e31c299f34bee02cab79822 Mon Sep 17 00:00:00 2001 From: Dustin Norberg Date: Mon, 21 Sep 2026 07:48:54 -0400 Subject: [PATCH] Keep world sharp behind linking books --- docs/PORTING.md | 4 ++++ gradle.properties | 2 +- .../rivencraft/client/screen/LinkingBookScreen.java | 6 ++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/PORTING.md b/docs/PORTING.md index ffb80c2..96fda33 100644 --- a/docs/PORTING.md +++ b/docs/PORTING.md @@ -89,6 +89,10 @@ legacy interface. The destination preview occupies the left page, the book name and destination details occupy the right page, and the preview itself is the link action; the separate Link and Done buttons have been removed. +Version 0.1.7 suppresses Minecraft's default full-screen menu blur for the +Linking Book screen. The open-book texture supplies the GUI background while +the world remains sharp behind it. + The preview code is separated behind a renderer interface and uses an isolated Ponder level. The first iteration supplies the animated loading boundary; the next iteration will add server-authoritative snapshot transport and populate diff --git a/gradle.properties b/gradle.properties index 310b0e0..66494bd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -33,7 +33,7 @@ mod_name=Rivencraft # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. mod_license=LGPL-3.0-or-later # The mod version. See https://semver.org/ -mod_version=0.1.6 +mod_version=0.1.7 # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. # This should match the base package used for the mod sources. # See https://maven.apache.org/guides/mini/guide-naming-conventions.html diff --git a/src/main/java/net/dnorberg/rivencraft/client/screen/LinkingBookScreen.java b/src/main/java/net/dnorberg/rivencraft/client/screen/LinkingBookScreen.java index ded8420..99805c9 100644 --- a/src/main/java/net/dnorberg/rivencraft/client/screen/LinkingBookScreen.java +++ b/src/main/java/net/dnorberg/rivencraft/client/screen/LinkingBookScreen.java @@ -74,6 +74,12 @@ public final class LinkingBookScreen extends Screen { } } + @Override + public void renderBackground(GuiGraphics graphics, int mouseX, int mouseY, float partialTick) { + // The open book is the complete GUI background. Avoid Minecraft's + // default full-screen world blur behind it. + } + @Override public void render(GuiGraphics graphics, int mouseX, int mouseY, float partialTick) { int left = (width - BOOK_WIDTH) / 2;