Add Display regions

This commit is contained in:
2025-08-06 15:27:29 +02:00
parent 53457a89d9
commit b6aa1447ae
27 changed files with 707 additions and 217 deletions
@@ -65,6 +65,12 @@ public interface Region {
@NonNull
Area getTestblockArea();
default int getFloorLevel() {
Point p1 = getBuildArea().getMinPoint(true);
Point p2 = getTestblockArea().getMinPoint(true);
return Math.min(p1.getY(), p2.getY());
}
@NonNull
GameModeConfig<Material, String> getGameModeConfig();