BlockPredicateBuilder
Importing the class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
import crafttweaker.api.predicate.builder.BlockPredicateBuilder;
Methods
Return Type: BlockPredicateBuilder
BlockPredicateBuilder.blocks(blocks as Block[]) as BlockPredicateBuilder
Parameter | Type | Description |
---|---|---|
Parameter blocks | Type Block[] | Description No Description Provided |
Return Type: BlockPredicate
// BlockPredicateBuilder.build() as BlockPredicate
myBlockPredicateBuilder.build();
Return Type: BlockPredicateBuilder
BlockPredicateBuilder.nbt(tag as IData) as BlockPredicateBuilder
Parameter | Type | Description |
---|---|---|
Parameter tag | Type IData | Description No Description Provided |
Return Type: BlockPredicateBuilder
BlockPredicateBuilder.nbt(tag as MapData) as BlockPredicateBuilder
Parameter | Type | Description |
---|---|---|
Parameter tag | Type MapData | Description No Description Provided |
Return Type: BlockPredicateBuilder
BlockPredicateBuilder.properties(predicate as StatePropertiesPredicate) as BlockPredicateBuilder
Parameter | Type | Description |
---|---|---|
Parameter predicate | Type StatePropertiesPredicate | Description No Description Provided |
Return Type: BlockPredicateBuilder
BlockPredicateBuilder.properties(predicate as StatePropertiesPredicateBuilder) as BlockPredicateBuilder
Parameter | Type | Description |
---|---|---|
Parameter predicate | Type StatePropertiesPredicateBuilder | Description No Description Provided |
Return Type: BlockPredicateBuilder
BlockPredicateBuilder.tag(tag as MCTag<Block>) as BlockPredicateBuilder
Parameter | Type | Description |
---|---|---|
Parameter tag | Type MCTag<Block> | Description No Description Provided |