StatePropertiesPredicateBuilder

Link to statepropertiespredicatebuilder

Importing the class

Link to importing-the-class

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();

Link to g--1

Name: property

Return Type: StatePropertiesPredicateBuilder

ZenScript
Copy
StatePropertiesPredicateBuilder.property(name as string, value as boolean) as StatePropertiesPredicateBuilder
ParameterTypeDescription
Parameter
name
Type
string
Description
No Description Provided
Parameter
value
Type
boolean
Description
No Description Provided

Link to g--2

Name: property

Return Type: StatePropertiesPredicateBuilder

ZenScript
Copy
StatePropertiesPredicateBuilder.property(name as string, value as int) as StatePropertiesPredicateBuilder
ParameterTypeDescription
Parameter
name
Type
string
Description
No Description Provided
Parameter
value
Type
int
Description
No Description Provided

Link to g--3

Name: property

Return Type: StatePropertiesPredicateBuilder

ZenScript
Copy
StatePropertiesPredicateBuilder.property(name as string, value as IntMinMaxBoundsPredicate) as StatePropertiesPredicateBuilder
ParameterTypeDescription
Parameter
name
Type
string
Description
No Description Provided
Parameter
value
Type
IntMinMaxBoundsPredicate
Description
No Description Provided

Link to g--4

Name: property

Return Type: StatePropertiesPredicateBuilder

ZenScript
Copy
StatePropertiesPredicateBuilder.property(name as string, value as string) as StatePropertiesPredicateBuilder
ParameterTypeDescription
Parameter
name
Type
string
Description
No Description Provided
Parameter
value
Type
string
Description
No Description Provided