Class AdjacentAnyMask
java.lang.Object
com.sk89q.worldedit.function.mask.AbstractMask
com.fastasyncworldedit.core.function.mask.AdjacentAnyMask
- All Implemented Interfaces:
ResettableMask
,Resettable
,Mask
- Direct Known Subclasses:
SurfaceMask
Just an optimized version of the Adjacent Mask for single adjacency.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
Returns a copy of the mask.void
reset()
boolean
test
(BlockVector3 v) Returns true if the criteria is met.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sk89q.worldedit.function.mask.Mask
inverse, optimize, replacesAir, toFilter, toFilter, toMask2D, tryCombine, tryOptimize, tryOr
-
Constructor Details
-
AdjacentAnyMask
-
-
Method Details
-
reset
public void reset()- Specified by:
reset
in interfaceResettable
- Specified by:
reset
in interfaceResettableMask
-
getParentMask
-
test
Description copied from interface:Mask
Returns true if the criteria is met. -
direction
-
copy
Description copied from interface:Mask
Returns a copy of the mask. Usually for multi-threaded operation
-