StatePropertiesPredicateBuilder
Link to statepropertiespredicatebuilder
Импорт класса
Link to импорт-класса
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;
Методы
Link to методы
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
Параметр | Тип |
---|---|
Параметр name | Тип string |
Параметр value | Тип boolean |
Name: property
Return Type: StatePropertiesPredicateBuilder
ZenScript CopyStatePropertiesPredicateBuilder.property(name as string, value as int) as StatePropertiesPredicateBuilder
Параметр | Тип |
---|---|
Параметр name | Тип string |
Параметр value | Тип int |
Name: property
Return Type: StatePropertiesPredicateBuilder
ZenScript CopyStatePropertiesPredicateBuilder.property(name as string, value as IntMinMaxBoundsPredicate) as StatePropertiesPredicateBuilder
Параметр | Тип |
---|---|
Параметр name | Тип string |
Параметр value | Тип IntMinMaxBoundsPredicate |
Name: property
Return Type: StatePropertiesPredicateBuilder
ZenScript CopyStatePropertiesPredicateBuilder.property(name as string, value as string) as StatePropertiesPredicateBuilder
Параметр | Тип |
---|---|
Параметр name | Тип string |
Параметр value | Тип string |