BlockPredicateBuilder

Link to blockpredicatebuilder

Diese Klasse importieren

Link to diese-klasse-importieren

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.

ZenScript
Copy
import crafttweaker.api.predicate.builder.BlockPredicateBuilder;

Name: blocks

Return Type: BlockPredicateBuilder

ZenScript
Copy
BlockPredicateBuilder.blocks(blocks as Block[]) as BlockPredicateBuilder
ParameterTypeBeschreibung
Parameter
blocks
Type
Block[]
Beschreibung
No Description Provided

Name: build

Return Type: BlockPredicate

ZenScript
Copy
// BlockPredicateBuilder.build() as BlockPredicate

myBlockPredicateBuilder.build();

Name: nbt

Return Type: BlockPredicateBuilder

ZenScript
Copy
BlockPredicateBuilder.nbt(tag as IData) as BlockPredicateBuilder
ParameterTypeBeschreibung
Parameter
tag
Type
IData
Beschreibung
No Description Provided

Name: nbt

Return Type: BlockPredicateBuilder

ZenScript
Copy
BlockPredicateBuilder.nbt(tag as MapData) as BlockPredicateBuilder
ParameterTypeBeschreibung
Parameter
tag
Type
MapData
Beschreibung
No Description Provided

Name: properties

Return Type: BlockPredicateBuilder

ZenScript
Copy
BlockPredicateBuilder.properties(predicate as StatePropertiesPredicate) as BlockPredicateBuilder
ParameterTypeBeschreibung
Parameter
predicate
Type
StatePropertiesPredicate
Beschreibung
No Description Provided

Name: properties

Return Type: BlockPredicateBuilder

ZenScript
Copy
BlockPredicateBuilder.properties(predicate as StatePropertiesPredicateBuilder) as BlockPredicateBuilder
ParameterTypeBeschreibung
Parameter
predicate
Type
StatePropertiesPredicateBuilder
Beschreibung
No Description Provided

Name: tag

Return Type: BlockPredicateBuilder

ZenScript
Copy
BlockPredicateBuilder.tag(tag as MCTag<Block>) as BlockPredicateBuilder
ParameterTypeBeschreibung
Parameter
tag
Type
MCTag<Block>
Beschreibung
No Description Provided