Keep world sharp behind linking books
Build / build (push) Canceled after 0s

This commit is contained in:
dnorberg committed 2026-09-21 07:48:54 -04:00
1 parent 1878a073c5
commit cd5bf0190e
3 files changed
+11 -1

No files matched your search

+4
View File
@@ -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
+1 -1
View File
@@ -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
@@ -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;