column min/max y

This commit is contained in:
dfsek 2021-07-28 08:16:59 -07:00
parent 7a44b74b61
commit d43eccc442
2 changed files with 14 additions and 0 deletions

View File

@ -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();
}
}

View File

@ -13,4 +13,8 @@ public interface Column {
BlockState getBlock(int y);
World getWorld();
int getMinY();
int getMaxY();
}