Package com.sk89q.worldedit.regions
Interface FlatRegion
- All Superinterfaces:
Cloneable
,Iterable<BlockVector3>
,Region
- All Known Implementing Classes:
AbstractFlatRegion
,CuboidRegion
,CylinderRegion
,Polygonal2DRegion
-
Method Summary
Modifier and TypeMethodDescriptionGet this region as an iterable flat region.int
Gets the maximum Y value.int
Gets the minimum Y value.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface com.sk89q.worldedit.regions.Region
clone, contains, contract, expand, getArea, getBoundingBox, getCenter, getChunkCubes, getChunks, getHeight, getLength, getMaximumPoint, getMinimumPoint, getVolume, getWidth, getWorld, polygonize, setWorld, shift
-
Method Details
-
getMinimumY
int getMinimumY()Gets the minimum Y value.- Returns:
- the Y value
-
getMaximumY
int getMaximumY()Gets the maximum Y value.- Returns:
- the Y value
-
asFlatRegion
Iterable<BlockVector2> asFlatRegion()Get this region as an iterable flat region.- Returns:
- a flat region iterable
-