NaturalDungeonReservation
The block footprint of a naturally generated modular dungeon.
The chunk that triggered generation is not the structure's boundary: a modular dungeon extends several chunks in every direction, so spawn protection applies to its whole footprint, and WorldGuard regions are checked against these bounds. Chunk generation state is deliberately not consulted. Vanilla keeps partially generated chunks around every loaded area, and treating them as existing terrain refused nearly every dungeon a player approached.
Functions
Link copied to clipboard
Link copied to clipboard
public static Optional<NaturalDungeonReservation> tryCreate(int originBlockX, int originBlockZ, int latticeRadius, int moduleSize, int spawnProtectionRadius)