Restore snapshot chunk loading on book stands
Build / build (push) Canceled after 0s

This commit is contained in:
dnorberg committed 2026-09-22 16:04:36 -04:00
1 parent 4ba8516d54
commit 733028b943
4 files changed
+10 -7

No files matched your search

+7 -2
View File
@@ -254,8 +254,13 @@ Caves remain enclosed. Skylands use Minecraft's uniform floating-island noise
and Overworld-like surfaces without the End's central dragon island.
Version 0.2.16.14 replaces the Explore text control with a compact eye symbol.
Books opened from a Book Stand display the control disabled and do not request
an explorable remote preview, preventing exploration while the book is mounted.
Books opened from a Book Stand display the control disabled, preventing
exploration while the book is mounted.
Version 0.2.16.15 restores Immersive Portals chunk loading for snapshots opened
from Book Stands. Snapshot chunk loading is independent from whether the Explore
control is enabled, so mounted books retain live terrain without allowing the
player to enter Explore mode.
Version 0.2.14.0 restores the legacy Linking and Descriptive Book artwork for
inventory items and gives each book its matching open-book texture when placed
+1 -1
View File
@@ -35,7 +35,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. Rivencraft uses the x.y.z.b policy documented in README.md.
mod_version=0.2.16.14
mod_version=0.2.16.15
immersive_portals_version=6.0.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.
@@ -93,13 +93,12 @@ public final class DescriptiveBookScreen extends Screen implements ExplorableBoo
exploreButton.active = bookStandPos == null;
}
if (requestPreview) {
boolean allowExploration = preview.supportsExploration() && bookStandPos == null;
PacketDistributor.sendToServer(new RequestLinkPreviewPayload(
true,
bookStandPos != null,
bookStandPos == null && hand == InteractionHand.OFF_HAND,
bookStandPos == null ? BlockPos.ZERO : bookStandPos,
allowExploration
preview.supportsExploration()
));
}
}
@@ -95,13 +95,12 @@ public final class LinkingBookScreen extends Screen implements ExplorableBookScr
exploreButton.active = bookStandPos == null;
}
if (requestPreview) {
boolean allowExploration = preview.supportsExploration() && bookStandPos == null;
PacketDistributor.sendToServer(new RequestLinkPreviewPayload(
false,
bookStandPos != null,
bookStandPos == null && hand == InteractionHand.OFF_HAND,
bookStandPos == null ? BlockPos.ZERO : bookStandPos,
allowExploration
preview.supportsExploration()
));
}
}