Start rebuilt

This commit is contained in:
2025-12-18 18:09:15 +01:00
parent 6d1b969af5
commit 3062621233
43 changed files with 415 additions and 74 deletions
@@ -154,6 +154,14 @@ public interface Region {
return true;
}
default boolean inRegion(int x, int z, boolean extension) {
Point minPoint = getMinPoint(extension);
Point maxPoint = getMaxPoint(extension);
if (x < minPoint.getX() || x > maxPoint.getX()) return false;
if (z < minPoint.getZ() || z > maxPoint.getZ()) return false;
return true;
}
@Nullable
default Clipboard copy(boolean extension) {
return FlatteningWrapper.impl.copy(getMinPoint(extension), getMaxPoint(extension), getCopyPoint());
@@ -32,6 +32,8 @@ public interface RegionSystem {
RegionSystem INSTANCE = init();
UUID GLOBAL_REGION_ID = new UUID(0, 0);
/**
* Loads and initializes the Regions and anything that should be loaded on startup.
*/