@FunctionalInterface
public static interface ICubicStructureGenerator.Handler
| Modifier and Type | Method and Description |
|---|---|
void |
generate(net.minecraft.world.World world,
java.util.Random rand,
CubePrimer cube,
int structureX,
int structureY,
int structureZ,
CubePos generatedCubePos)
Generates blocks in a given cube for a structure that starts at given origin position.
|
void generate(net.minecraft.world.World world,
java.util.Random rand,
CubePrimer cube,
int structureX,
int structureY,
int structureZ,
CubePos generatedCubePos)
world - the world the structure is generated inrand - random number generator with seed for the starting positioncube - the block buffer to be filled with blocks (Cube)structureX - x coordinate of the starting position of currently generated structurestructureY - y coordinate of the starting position of currently generated structurestructureZ - z coordinate of the starting position of currently generated structuregeneratedCubePos - position of the cube to fill with blocks