Add Display regions

This commit is contained in:
2026-03-16 21:08:25 +01:00
parent 8456c4d7ad
commit 134cda6b4f
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();