mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-02-16 10:30:42 +00:00
column min/max y
This commit is contained in:
@@ -34,4 +34,14 @@ public class ColumnImpl implements Column {
|
||||
public World getWorld() {
|
||||
return world;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMinY() {
|
||||
return world.getMinHeight();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMaxY() {
|
||||
return world.getMaxHeight();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,4 +13,8 @@ public interface Column {
|
||||
BlockState getBlock(int y);
|
||||
|
||||
World getWorld();
|
||||
|
||||
int getMinY();
|
||||
|
||||
int getMaxY();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user