Skip to main content

VoxelGeneratorListener

class VoxelGeneratorListener

The listener generator for the Voxel system.


public interface VoxelGeneratorListener

— Methods (4) —

NameDescription
void storeChunk([OH3LevelIntArray] chunk, int x, int z)Stores the Chunk and their respective positions.
[OH3LevelIntArray] loadChunk(int x, int z)Load Chunk into their respective positions.
int getGroundHeight(int x, int z)Returns the Chunk's current ground height.
int getBlockType(int x, int y, int z, int groundHeight)Returns the type of block by its id based on the position of that block.