public interface BlockChangeDelegate
Modifier and Type | Method | Description |
---|---|---|
@NotNull BlockData |
getBlockData(int x,
int y,
int z) |
Get the block data at the location.
|
int |
getHeight() |
Gets the height of the world.
|
boolean |
isEmpty(int x,
int y,
int z) |
Checks if the specified block is empty (air) or not.
|
boolean |
setBlockData(int x,
int y,
int z,
@NotNull BlockData blockData) |
Set a block data at the specified coordinates.
|
boolean setBlockData(int x, int y, int z, @NotNull @NotNull BlockData blockData)
x
- X coordinatey
- Y coordinatez
- Z coordinateblockData
- Block data@NotNull @NotNull BlockData getBlockData(int x, int y, int z)
x
- X coordinatey
- Y coordinatez
- Z coordinateint getHeight()
boolean isEmpty(int x, int y, int z)
x
- X coordinatey
- Y coordinatez
- Z coordinateCopyright © 2020. All rights reserved.