mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-27 22:40:23 +00:00
column min/max y
This commit is contained in:
1 parent
7a44b74b61
commit
d43eccc442
2 files changed
+14
No files matched your search
+10
@@ -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();
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user