mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Added getHighestBlockYAt
This commit is contained in:
1 parent
b7f7c3ffb5
commit
43db386fe4
1 file changed
+4
@@ -42,6 +42,10 @@ public class CraftWorld implements World {
|
||||
|
||||
return block;
|
||||
}
|
||||
|
||||
public int getHighestBlockYAt(int x, int z) {
|
||||
return world.d(x, z);
|
||||
}
|
||||
|
||||
public Chunk getChunkAt(int x, int z) {
|
||||
ChunkCoordinate loc = new ChunkCoordinate(x, z);
|
||||
|
||||
Reference in new issue
Block a user