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
Copy
import crafttweaker.api.predicate.builder.StatePropertiesPredicateBuilder;

Name: build

Return Type: StatePropertiesPredicate

ZenScript
Copy
// StatePropertiesPredicateBuilder.build() as StatePropertiesPredicate

myStatePropertiesPredicateBuilder.build();

Name: property

Return Type: StatePropertiesPredicateBuilder

ZenScript
Copy
StatePropertiesPredicateBuilder.property(name as string, value as boolean) as StatePropertiesPredicateBuilder
ПараметрТипОписание
Параметр
name
Тип
string
Описание
No Description Provided
Параметр
value
Тип
boolean
Описание
No Description Provided

Name: property

Return Type: StatePropertiesPredicateBuilder

ZenScript
Copy
StatePropertiesPredicateBuilder.property(name as string, value as int) as StatePropertiesPredicateBuilder
ПараметрТипОписание
Параметр
name
Тип
string
Описание
No Description Provided
Параметр
value
Тип
int
Описание
No Description Provided

Name: property

Return Type: StatePropertiesPredicateBuilder

ZenScript
Copy
StatePropertiesPredicateBuilder.property(name as string, value as IntMinMaxBoundsPredicate) as StatePropertiesPredicateBuilder
ПараметрТипОписание
Параметр
name
Тип
string
Описание
No Description Provided
Параметр
value
Тип
IntMinMaxBoundsPredicate
Описание
No Description Provided

Name: property

Return Type: StatePropertiesPredicateBuilder

ZenScript
Copy
StatePropertiesPredicateBuilder.property(name as string, value as string) as StatePropertiesPredicateBuilder
ПараметрТипОписание
Параметр
name
Тип
string
Описание
No Description Provided
Параметр
value
Тип
string
Описание
No Description Provided