Render full destination preview volume
Build / build (push) Canceled after 0s

This commit is contained in:
dnorberg committed 2026-09-21 08:54:25 -04:00
1 parent 3ecb01940d
commit 0ff6036fcc
3 files changed
+10 -7

No files matched your search

@@ -44,10 +44,10 @@ public final class PonderDestinationPreviewRenderer implements DestinationPrevie
Minecraft minecraft = Minecraft.getInstance();
previewLevel = new PonderLevel(BlockPos.ZERO, minecraft.level);
snapshotSelection = SelectionImpl.of(new BoundingBox(0, 0, 0, 8, 63, 8));
// The target sits at y=32 in the snapshot. Render only its familiar
// y=30..36 window, giving the page a fixed 9×7×9 close-up.
Selection viewSelection = SelectionImpl.of(new BoundingBox(0, 30, 0, 8, 36, 8));
section = new WorldSectionElementImpl(viewSelection);
// Keep the target-centered 9×7×9 camera framing below, but give Ponder
// the entire snapshot so terrain above and below that window is still
// part of the rotating scene.
section = new WorldSectionElementImpl(snapshotSelection);
}
@Override