Package com.sk89q.worldedit.regions
Interface FlatRegion
- All Superinterfaces:
Cloneable,IBatchProcessor,Iterable<BlockVector3>,Region
- All Known Implementing Classes:
AbstractFlatRegion,CuboidRegion,CylinderRegion,Polygonal2DRegion,RegionWrapper
-
Method Summary
Modifier and TypeMethodDescriptionGet this region as an iterable flat region.intGets the maximum Y value.intGets the minimum Y value.Methods inherited from interface com.fastasyncworldedit.core.queue.IBatchProcessor
flush, join, joinPost, postProcess, postProcessSet, processGet, processGet, remove, trimNBT, trimNBT, trimYMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface com.sk89q.worldedit.regions.Region
clone, construct, contains, contains, contains, containsChunk, containsEntireCuboid, contract, expand, filter, filter, filter, filter, filter, getArea, getBoundingBox, getCenter, getChunkCubes, getChunks, getDimensions, getHeight, getLength, getMaximumPoint, getMinimumPoint, getScope, getVolume, getWidth, getWorld, isGlobal, polygonize, processSet, processSet, setWorld, shift
-
Method Details
-
getMinimumY
int getMinimumY()Gets the minimum Y value.- Specified by:
getMinimumYin interfaceRegion- Returns:
- the Y value
-
getMaximumY
int getMaximumY()Gets the maximum Y value.- Specified by:
getMaximumYin interfaceRegion- Returns:
- the Y value
-
asFlatRegion
Iterable<BlockVector2> asFlatRegion()Get this region as an iterable flat region.- Returns:
- a flat region iterable
-