public class ChunkSection extends BasicWrapper<ChunkSectionHandle>
handle
Constructor and Description |
---|
ChunkSection(ChunkSectionHandle nmsChunkSectionHandle) |
Modifier and Type | Method and Description |
---|---|
BlockData |
getBlockData(int x,
int y,
int z)
Obtains the Block Data stored at particular coordinates in this Chunk Section
|
int |
getY()
Gets the y-coordinate of the chunk section.
|
int |
getYPosition()
Gets the base y-position of this Chunk Section.
|
void |
setBlockData(int x,
int y,
int z,
BlockData data)
Sets the Block Data stored at particular coordinates in this Chunk Section
|
equals, getHandle, getHandle, getRawHandle, getRawHandle, setHandle, toString
public ChunkSection(ChunkSectionHandle nmsChunkSectionHandle)
public int getY()
public int getYPosition()
public BlockData getBlockData(int x, int y, int z)
x
- - coordinatey
- - coordinatez
- - coordinatepublic void setBlockData(int x, int y, int z, BlockData data)
x
- - coordinatey
- - coordinatez
- - coordinatedata
- to set toCopyright © 2019. All rights reserved.