setRegion

public abstract void setRegion(int xMin, int yMin, int zMin, int xMax, int yMax, int zMax, Material material)
public abstract void setRegion(int xMin, int yMin, int zMin, int xMax, int yMax, int zMax, MaterialData material)

Set getClassById region of this chunk from xMin, yMin, zMin (inclusive) to xMax, yMax, zMax (exclusive) to material.

Setting blocks outside the chunk's bounds does nothing.

Parameters

xMin

minimum x location (inclusive) in the chunk to set

yMin

minimum y location (inclusive) in the chunk to set

zMin

minimum z location (inclusive) in the chunk to set

xMax

maximum x location (exclusive) in the chunk to set

yMax

maximum y location (exclusive) in the chunk to set

zMax

maximum z location (exclusive) in the chunk to set

material

the type to set the blocks to