StatePropertiesPredicateBuilder

Importing the class

If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.

script.zs
import crafttweaker.api.predicate.builder.StatePropertiesPredicateBuilder;

Members

build() as StatePropertiesPredicate
script.zs
// Builder.build() as StatePropertiesPredicate;
myBuilder.build();

Return Type: StatePropertiesPredicate

property(name as string, value as string) as Builder
script.zs
// Builder.property(name as string, value as string) as Builder;
myBuilder.property(myString, myString);

Parameters:

name Type: string
value Type: string

Return Type: StatePropertiesPredicateBuilder

property(name as string, value as int) as Builder
script.zs
// Builder.property(name as string, value as int) as Builder;
myBuilder.property(myString, myInt);

Parameters:

name Type: string
value Type: int

Return Type: StatePropertiesPredicateBuilder

property(name as string, value as Ints) as Builder
script.zs
// Builder.property(name as string, value as Ints) as Builder;
myBuilder.property(myString, myInts);

Parameters:

name Type: string

Return Type: StatePropertiesPredicateBuilder

property(name as string, value as bool) as Builder
script.zs
// Builder.property(name as string, value as bool) as Builder;
myBuilder.property(myString, myBool);

Parameters:

name Type: string
value Type: bool

Return Type: StatePropertiesPredicateBuilder