Class FuzzyRegion
java.lang.Object
java.util.AbstractCollection<BlockVector3>
java.util.AbstractSet<BlockVector3>
com.sk89q.worldedit.regions.AbstractRegion
com.fastasyncworldedit.core.regions.FuzzyRegion
- All Implemented Interfaces:
IBatchProcessor,Region,Cloneable,Iterable<BlockVector3>,Collection<BlockVector3>,Set<BlockVector3>
-
Field Summary
Fields inherited from class com.sk89q.worldedit.regions.AbstractRegion
world -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(int x, int y, int z) booleancontains(BlockVector3 position) Returns true based on whether the region contains the point.booleancontainsEntireCuboid(int bx, int tx, int by, int ty, int bz, int tz) voidcontract(BlockVector3... changes) Contract the region.voidexpand(BlockVector3... changes) Expand the region.intgetArea()Get the number of blocks in the region.getMask()Get the upper point of a region.Get the lower point of a region.iterator()Get the iterator.voidselect(BlockVector3 position) Add to the selection from the given position.final voidset(int x, int y, int z) voidsetExtent(EditSession extent) voidshift(BlockVector3 change) Shift the region.Methods inherited from class com.sk89q.worldedit.regions.AbstractRegion
clone, equals, getCenter, getChunkCubes, getChunks, getHeight, getLength, getVolume, getWidth, getWorld, getWorldMaxY, getWorldMinY, hashCode, polygonize, setWorld, sizeMethods inherited from class java.util.AbstractSet
removeAllMethods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface com.fastasyncworldedit.core.queue.IBatchProcessor
flush, join, joinPost, postProcess, postProcessSet, processGet, processGet, remove, trimNBT, trimNBT, trimYMethods inherited from interface com.sk89q.worldedit.regions.Region
construct, contains, containsChunk, filter, filter, filter, filter, filter, getBoundingBox, getDimensions, getMaximumY, getMinimumY, getScope, isGlobal, processSet, processSet
-
Constructor Details
-
FuzzyRegion
-
-
Method Details
-
getMask
-
getArea
public int getArea()Description copied from interface:RegionGet the number of blocks in the region.- Returns:
- number of blocks
-
select
Add to the selection from the given position. -
iterator
Description copied from class:AbstractRegionGet the iterator.- Specified by:
iteratorin interfaceCollection<BlockVector3>- Specified by:
iteratorin interfaceIterable<BlockVector3>- Specified by:
iteratorin interfaceSet<BlockVector3>- Overrides:
iteratorin classAbstractRegion- Returns:
- iterator of points inside the region
-
set
- Throws:
RegionOperationException
-
contains
public boolean contains(int x, int y, int z) -
getMinimumPoint
Description copied from interface:RegionGet the lower point of a region.- Returns:
- min. point
-
getMaximumPoint
Description copied from interface:RegionGet the upper point of a region.- Returns:
- max. point
-
expand
Description copied from interface:RegionExpand the region.- Parameters:
changes- array/arguments with multiple related changes- Throws:
RegionOperationException- if the operation cannot be performed
-
contract
Description copied from interface:RegionContract the region.- Parameters:
changes- array/arguments with multiple related changes- Throws:
RegionOperationException- if the operation cannot be performed
-
contains
Description copied from interface:RegionReturns true based on whether the region contains the point.- Parameters:
position- the position- Returns:
- true if contained
-
shift
Description copied from interface:RegionShift the region.- Specified by:
shiftin interfaceRegion- Overrides:
shiftin classAbstractRegion- Parameters:
change- the change- Throws:
RegionOperationException- if the operation cannot be performed
-
setExtent
-
containsEntireCuboid
public boolean containsEntireCuboid(int bx, int tx, int by, int ty, int bz, int tz)
-