mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-02 07:55:28 +00:00
column min/max y
This commit is contained in:
parent
7a44b74b61
commit
d43eccc442
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user