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.int
Gets the maximum Y value.int
Gets the minimum Y value.Methods inherited from interface com.fastasyncworldedit.core.queue.IBatchProcessor
flush, join, joinPost, postProcess, postProcessSet, processGet, remove, trimNBT, trimNBT, trimY
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods 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:
getMinimumY
in interfaceRegion
- Returns:
- the Y value
-
getMaximumY
int getMaximumY()Gets the maximum Y value.- Specified by:
getMaximumY
in interfaceRegion
- Returns:
- the Y value
-
asFlatRegion
Iterable<BlockVector2> asFlatRegion()Get this region as an iterable flat region.- Returns:
- a flat region iterable
-