Class Masks
java.lang.Object
com.sk89q.worldedit.function.mask.Masks
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected static classprotected static classprotected static final record
- 
Method Summary
- 
Method Details- 
alwaysTrueReturn a 3D mask that always returns true.- Returns:
- a mask
 
- 
alwaysFalse
- 
alwaysTrue2DReturn a 2D mask that always returns true.- Returns:
- a mask
 
- 
negateNegate the given mask.- Parameters:
- mask- the mask
- Returns:
- a new mask
 
- 
negateNegate the given mask.- Parameters:
- mask- the mask
- Returns:
- a new mask
 
- 
asMaskReturn a 3-dimensional version of a 2D mask.- Parameters:
- mask- the mask to make 3D
- Returns:
- a 3D mask
 
 
-