public class BlockCategoryMask extends AbstractExtentMask
BlockCategory
, or tag.Constructor and Description |
---|
BlockCategoryMask(Extent extent,
BlockCategory category) |
Modifier and Type | Method and Description |
---|---|
boolean |
test(BlockVector3 vector)
Returns true if the criteria is met.
|
Mask2D |
toMask2D()
Get the 2D version of this mask if one exists.
|
getExtent, setExtent
public BlockCategoryMask(Extent extent, BlockCategory category)
public boolean test(BlockVector3 vector)
Mask
vector
- the vector to test