Class OffsetMask2D
java.lang.Object
com.sk89q.worldedit.function.mask.AbstractMask2D
com.sk89q.worldedit.function.mask.OffsetMask2D
- All Implemented Interfaces:
Mask2D
Deprecated.
Checks whether another mask tests true for a position that is offset
a given vector.
-
Constructor Summary
ConstructorsConstructorDescriptionOffsetMask2D
(Mask2D mask, BlockVector2 offset) Deprecated.Create a new instance. -
Method Summary
Modifier and TypeMethodDescriptiongetMask()
Deprecated.Get the mask.Deprecated.Get the offset.void
Deprecated.Set the mask.void
setOffset
(BlockVector2 offset) Deprecated.Set the offset.boolean
test
(BlockVector2 vector) Deprecated.Returns true if the criteria is met.
-
Constructor Details
-
OffsetMask2D
Deprecated.Create a new instance.- Parameters:
mask
- the maskoffset
- the offset
-
-
Method Details
-
getMask
Deprecated.Get the mask.- Returns:
- the mask
-
setMask
Deprecated.Set the mask.- Parameters:
mask
- the mask
-
getOffset
Deprecated.Get the offset.- Returns:
- the offset
-
setOffset
Deprecated.Set the offset.- Parameters:
offset
- the offset
-
test
Deprecated.Description copied from interface:Mask2D
Returns true if the criteria is met.- Parameters:
vector
- the vector to test- Returns:
- true if the criteria is met
-
OffsetsMask2D.single(com.sk89q.worldedit.function.mask.Mask2D, com.sk89q.worldedit.math.BlockVector2)