Class BlockMaskBuilder
java.lang.Object
com.fastasyncworldedit.core.function.mask.BlockMaskBuilder
-
Constructor Summary
ModifierConstructorDescriptionprotected
BlockMaskBuilder
(long[][] bitSets) protected
BlockMaskBuilder
(long[][] bitSets, ParserContext context) Create a new instance with a givenParserContext
to use if parsing regexBlockMaskBuilder
(ParserContext context) Create a new instance with a givenParserContext
to use if parsing regex -
Method Summary
Modifier and TypeMethodDescription<T extends BlockStateHolder<T>>
BlockMaskBuilderadd
(BlockStateHolder<T> state) addAll()
<T extends BlockStateHolder<T>>
BlockMaskBuilderaddBlocks
(Collection<T> blocks) <T extends BlockStateHolder<T>>
BlockMaskBuilderaddBlocks
(T... blocks) addTypes
(Collection<BlockType> blocks) clear()
<T extends BlockStateHolder<T>>
BlockMaskBuilderfilter
(BlockStateHolder<T> state) boolean
isEmpty()
optimize()
<T extends BlockStateHolder<T>>
BlockMaskBuilderremove
(BlockStateHolder<T> state)
-
Constructor Details
-
BlockMaskBuilder
public BlockMaskBuilder() -
BlockMaskBuilder
Create a new instance with a givenParserContext
to use if parsing regex- Since:
- 2.11.0
-
BlockMaskBuilder
protected BlockMaskBuilder(long[][] bitSets) -
BlockMaskBuilder
Create a new instance with a givenParserContext
to use if parsing regex- Since:
- 2.11.0
-
-
Method Details
-
addRegex
- Throws:
InputParseException
-
isEmpty
public boolean isEmpty() -
addAll
-
clear
-
remove
-
remove
-
filter
-
filter
-
filter
-
add
-
add
-
addBlocks
-
addTypes
-
addBlocks
-
addTypes
-
addAll
-
optimize
-
build
-