BlockPredicateBuilder
Link to blockpredicatebuilder
Importare la Classe
Link to importare-la-classe
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 Copyimport crafttweaker.api.predicate.builder.BlockPredicateBuilder;
Metodi
Link to metodi
Name: blocks
Return Type: BlockPredicateBuilder
ZenScript CopyBlockPredicateBuilder.blocks(blocks as Block[]) as BlockPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro blocks | Tipo Block[] | Descrizione No Description Provided |
Name: build
Return Type: BlockPredicate
ZenScript Copy// BlockPredicateBuilder.build() as BlockPredicate
myBlockPredicateBuilder.build();
Name: nbt
Return Type: BlockPredicateBuilder
ZenScript CopyBlockPredicateBuilder.nbt(tag as IData) as BlockPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro tag | Tipo IData | Descrizione No Description Provided |
Name: nbt
Return Type: BlockPredicateBuilder
ZenScript CopyBlockPredicateBuilder.nbt(tag as MapData) as BlockPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro tag | Tipo MapData | Descrizione No Description Provided |
Name: properties
Return Type: BlockPredicateBuilder
ZenScript CopyBlockPredicateBuilder.properties(predicate as StatePropertiesPredicate) as BlockPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro predicate | Tipo StatePropertiesPredicate | Descrizione No Description Provided |
Name: properties
Return Type: BlockPredicateBuilder
ZenScript CopyBlockPredicateBuilder.properties(predicate as StatePropertiesPredicateBuilder) as BlockPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro predicate | Tipo StatePropertiesPredicateBuilder | Descrizione No Description Provided |
Name: tag
Return Type: BlockPredicateBuilder
ZenScript CopyBlockPredicateBuilder.tag(tag as MCTag<Block>) as BlockPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro tag | Tipo MCTag<Block> | Descrizione No Description Provided |