Class SingleBlockStateMask
java.lang.Object
com.sk89q.worldedit.function.mask.AbstractMask
com.sk89q.worldedit.function.mask.AbstractExtentMask
com.fastasyncworldedit.core.function.mask.ABlockMask
com.fastasyncworldedit.core.function.mask.SingleBlockStateMask
- All Implemented Interfaces:
Mask
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
Returns a copy of the mask.inverse()
boolean
boolean
test
(BlockVector3 vector) Returns true if the criteria is met.final boolean
test
(BlockState state) tryCombine
(Mask mask) Methods inherited from class com.fastasyncworldedit.core.function.mask.ABlockMask
test, toString, tryOr
Methods inherited from class com.sk89q.worldedit.function.mask.AbstractExtentMask
getExtent, setExtent
-
Constructor Details
-
SingleBlockStateMask
-
-
Method Details
-
getBlockState
-
test
Description copied from interface:Mask
Returns true if the criteria is met.- Specified by:
test
in interfaceMask
- Overrides:
test
in classABlockMask
- Parameters:
vector
- the vector to test- Returns:
- true if the criteria is met
-
test
- Specified by:
test
in classABlockMask
-
inverse
-
replacesAir
public boolean replacesAir() -
tryCombine
- Specified by:
tryCombine
in interfaceMask
- Overrides:
tryCombine
in classABlockMask
-
copy
Description copied from interface:Mask
Returns a copy of the mask. Usually for multi-threaded operation- Returns:
- a clone of the mask
-