Class Masks
java.lang.Object
com.sk89q.worldedit.function.mask.Masks
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
protected static class
protected static final record
-
Method Summary
-
Method Details
-
alwaysTrue
Return a 3D mask that always returns true.- Returns:
- a mask
-
alwaysFalse
-
alwaysTrue2D
Return a 2D mask that always returns true.- Returns:
- a mask
-
negate
Negate the given mask.- Parameters:
mask
- the mask- Returns:
- a new mask
-
negate
Negate the given mask.- Parameters:
mask
- the mask- Returns:
- a new mask
-
asMask
Return a 3-dimensional version of a 2D mask.- Parameters:
mask
- the mask to make 3D- Returns:
- a 3D mask
-