public static interface FeatureGenerator.ChunkManipulator
| Modifier and Type | Method and Description |
|---|---|
Block |
blockAt(int relX,
int y,
int relZ)
Obtains the block at the relative location
|
void |
manipulate(int relX,
int y,
int relZ,
Substance substance,
byte data)
Manipulates the chunk
|
default boolean |
nodeFits(int relX,
int relZ,
int bound)
Ensures that the particular feature fits within the bounds of the chunk
|
void manipulate(int relX, int y, int relZ, Substance substance, byte data)
relX - the relative x, can be out of 0-15 rangey - the y coordinaterelZ - the relative z, can be out of 0-15 rangesubstance - the substance to setdata - the data to setBlock blockAt(int relX, int y, int relZ)
relX - the relative xy - the yrelZ - the relative zdefault boolean nodeFits(int relX, int relZ, int bound)
relX - the relative xrelZ - the relative zbound - the range from the center non-inclusively counting the last blocktrue if the node is within boundCopyright © 2016. All rights reserved.