Public Access
This commit is contained in:
1 parent
3ecb01940d
commit
0ff6036fcc
3 files changed
+10
-7
No files matched your search
+5
-2
@@ -132,8 +132,11 @@ square horizontal footprint with a vertical slice spanning 64 blocks below and
|
|||||||
63 blocks above the recorded linking location.
|
63 blocks above the recorded linking location.
|
||||||
|
|
||||||
Version 0.1.18 changes the preview cache to 9-by-64-by-9, spanning 32 blocks
|
Version 0.1.18 changes the preview cache to 9-by-64-by-9, spanning 32 blocks
|
||||||
below and 31 above the link point. The Ponder section remains locked to the
|
below and 31 above the link point. Its camera is centered on a 9-by-7-by-9
|
||||||
centered 9-by-7-by-9 window so the book retains a readable close-up.
|
window around the link point so the book retains a readable close-up.
|
||||||
|
|
||||||
|
Version 0.1.19 renders the complete 9-by-64-by-9 snapshot in that Ponder
|
||||||
|
scene while retaining the target-centered camera framing.
|
||||||
|
|
||||||
The preview code is separated behind a renderer interface and uses an isolated
|
The preview code is separated behind a renderer interface and uses an isolated
|
||||||
Ponder level populated from server-authoritative destination snapshots.
|
Ponder level populated from server-authoritative destination snapshots.
|
||||||
|
|||||||
+1
-1
@@ -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.
|
# 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
|
mod_license=LGPL-3.0-or-later
|
||||||
# The mod version. See https://semver.org/
|
# The mod version. See https://semver.org/
|
||||||
mod_version=0.1.18
|
mod_version=0.1.19
|
||||||
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
|
# 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.
|
# This should match the base package used for the mod sources.
|
||||||
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||||
|
|||||||
+4
-4
@@ -44,10 +44,10 @@ public final class PonderDestinationPreviewRenderer implements DestinationPrevie
|
|||||||
Minecraft minecraft = Minecraft.getInstance();
|
Minecraft minecraft = Minecraft.getInstance();
|
||||||
previewLevel = new PonderLevel(BlockPos.ZERO, minecraft.level);
|
previewLevel = new PonderLevel(BlockPos.ZERO, minecraft.level);
|
||||||
snapshotSelection = SelectionImpl.of(new BoundingBox(0, 0, 0, 8, 63, 8));
|
snapshotSelection = SelectionImpl.of(new BoundingBox(0, 0, 0, 8, 63, 8));
|
||||||
// The target sits at y=32 in the snapshot. Render only its familiar
|
// Keep the target-centered 9×7×9 camera framing below, but give Ponder
|
||||||
// y=30..36 window, giving the page a fixed 9×7×9 close-up.
|
// the entire snapshot so terrain above and below that window is still
|
||||||
Selection viewSelection = SelectionImpl.of(new BoundingBox(0, 30, 0, 8, 36, 8));
|
// part of the rotating scene.
|
||||||
section = new WorldSectionElementImpl(viewSelection);
|
section = new WorldSectionElementImpl(snapshotSelection);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in new issue
Block a user