public class RegionShape extends ArbitraryShape
getMaterial(int, int, int, com.sk89q.worldedit.world.block.BaseBlock)
method.extent
Constructor and Description |
---|
RegionShape(Region extent) |
Modifier and Type | Method and Description |
---|---|
protected BaseBlock |
getMaterial(int x,
int y,
int z,
BaseBlock defaultMaterial)
Override this function to specify the shape to generate.
|
generate, getExtent
public RegionShape(Region extent)
protected BaseBlock getMaterial(int x, int y, int z, BaseBlock defaultMaterial)
ArbitraryShape
getMaterial
in class ArbitraryShape
x
- X coordinate to be queriedy
- Y coordinate to be queriedz
- Z coordinate to be querieddefaultMaterial
- The material returned by the pattern for the current block.