BlockPredicateBuilder
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Members
blocks(blocks as Block[]) as Builder
Return Type:
BlockPredicateBuilder
build() as BlockPredicate
Return Type:
BlockPredicate
nbt(tag as MapData) as Builder
Return Type:
BlockPredicateBuilder
nbt(tag as IData) as Builder
Return Type:
BlockPredicateBuilder
properties(predicate as Builder) as Builder
Parameters:
predicate: StatePropertiesPredicateBuilder
Type: StatePropertiesPredicateBuilder
Return Type:
BlockPredicateBuilder
tag(tag as KnownTag<Block>) as Builder
Return Type:
BlockPredicateBuilder