forked from SteamWar/SteamWar
Add Display regions
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user