set Region
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
x Min
minimum x location (inclusive) in the chunk to set
y Min
minimum y location (inclusive) in the chunk to set
z Min
minimum z location (inclusive) in the chunk to set
x Max
maximum x location (exclusive) in the chunk to set
y Max
maximum y location (exclusive) in the chunk to set
z Max
maximum z location (exclusive) in the chunk to set
material
the type to set the blocks to