@Deprecated public class OffsetMask extends AbstractMask
Constructor and Description |
---|
OffsetMask(Mask mask,
BlockVector3 offset)
Deprecated.
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
Mask |
getMask()
Deprecated.
Get the mask.
|
BlockVector3 |
getOffset()
Deprecated.
Get the offset.
|
void |
setMask(Mask mask)
Deprecated.
Set the mask.
|
void |
setOffset(BlockVector3 offset)
Deprecated.
Set the offset.
|
boolean |
test(BlockVector3 vector)
Deprecated.
Returns true if the criteria is met.
|
Mask2D |
toMask2D()
Deprecated.
Get the 2D version of this mask if one exists.
|
public OffsetMask(Mask mask, BlockVector3 offset)
mask
- the maskoffset
- the offsetpublic Mask getMask()
public void setMask(Mask mask)
mask
- the maskpublic BlockVector3 getOffset()
public void setOffset(BlockVector3 offset)
offset
- the offsetpublic boolean test(BlockVector3 vector)
Mask
vector
- the vector to test