mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-03 16:35:50 +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() {
|
public World getWorld() {
|
||||||
return world;
|
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);
|
BlockState getBlock(int y);
|
||||||
|
|
||||||
World getWorld();
|
World getWorld();
|
||||||
|
|
||||||
|
int getMinY();
|
||||||
|
|
||||||
|
int getMaxY();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user