FuzzyBlockMask
@Deprecated public class FuzzyBlockMask extends AbstractMask
Constructor and Description |
---|
FuzzyBlockMask(BaseBlock... block)
Deprecated.
Create a new fuzzy block mask.
|
FuzzyBlockMask(java.util.Set<BaseBlock> filter)
Deprecated.
Create a new fuzzy block mask.
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(EditSession editSession,
Vector position)
Deprecated.
Given a block position, this method returns true if the block at
that position matches the filter.
|
prepare
public FuzzyBlockMask(java.util.Set<BaseBlock> filter)
filter
- a list of block types to matchpublic FuzzyBlockMask(BaseBlock... block)
block
- a list of block types to matchpublic boolean matches(EditSession editSession, Vector position)
Mask
editSession
- an instanceposition
- the position to check