StatePropertiesPredicateBuilder
Link to statepropertiespredicatebuilder
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.StatePropertiesPredicateBuilder;
Metodi
Link to metodi
Name: build
Return Type: StatePropertiesPredicate
ZenScript Copy// StatePropertiesPredicateBuilder.build() as StatePropertiesPredicate
myStatePropertiesPredicateBuilder.build();
Name: property
Return Type: StatePropertiesPredicateBuilder
ZenScript CopyStatePropertiesPredicateBuilder.property(name as string, value as boolean) as StatePropertiesPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro nome | Tipo string | Descrizione No Description Provided |
Parametro valore | Tipo boolean | Descrizione No Description Provided |
Name: property
Return Type: StatePropertiesPredicateBuilder
ZenScript CopyStatePropertiesPredicateBuilder.property(name as string, value as int) as StatePropertiesPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro nome | Tipo string | Descrizione No Description Provided |
Parametro valore | Tipo int | Descrizione No Description Provided |
Name: property
Return Type: StatePropertiesPredicateBuilder
ZenScript CopyStatePropertiesPredicateBuilder.property(name as string, value as IntMinMaxBoundsPredicate) as StatePropertiesPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro nome | Tipo string | Descrizione No Description Provided |
Parametro valore | Tipo IntMinMaxBoundsPredicate | Descrizione No Description Provided |
Name: property
Return Type: StatePropertiesPredicateBuilder
ZenScript CopyStatePropertiesPredicateBuilder.property(name as string, value as string) as StatePropertiesPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro nome | Tipo string | Descrizione No Description Provided |
Parametro valore | Tipo string | Descrizione No Description Provided |