new version 1.3.3

This commit is contained in:
loki 2026-03-10 12:39:21 +01:00
parent 2d5c5eea48
commit d9eb747c1b
37 changed files with 1021 additions and 471 deletions

View file

@ -76,9 +76,14 @@ public final class Island {
ps.setYaw(Config.GENERATION.getInt("advanced.island.spawn.yaw"));
ps.setPitch(Config.GENERATION.getInt("advanced.island.spawn.pitch"));
// First parkour block should be generated FROM the parkour start block
// in the direction of heading, not AT the parkour start block
Location parkourStart = parkour.getLocation().add(session.generator.state.heading);
// First parkour block position - fixed offset from parkour marker
// Always 4 blocks in the direction of heading from center
Location parkourStart = parkour.getLocation().clone();
parkourStart.add(
session.generator.state.heading.getX() * 4,
0,
session.generator.state.heading.getZ() * 4
);
session.generator.generateFirst(ps, parkourStart);
session.generator.startTick();