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.
import crafttweaker.api.predicate.builder.BlockPredicateBuilder;
Members
blocks(blocks as Block[]) as Builder
myBuilder.blocks(myBlock[]);
Return Type:
BlockPredicateBuilder
build() as BlockPredicate
nbt(tag as MapData) as Builder
myBuilder.nbt(myMapData);
Return Type:
BlockPredicateBuilder
nbt(tag as IData) as Builder
myBuilder.nbt(myIData);
Return Type:
BlockPredicateBuilder
properties(predicate as Builder) as Builder
myBuilder.properties(myBuilder);
Parameters:
predicate: StatePropertiesPredicateBuilder
Type: StatePropertiesPredicateBuilder
Return Type:
BlockPredicateBuilder
tag(tag as KnownTag<Block>) as Builder
myBuilder.tag(myKnownTag);
Return Type:
BlockPredicateBuilder