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.
import crafttweaker.api.predicate.builder.StatePropertiesPredicateBuilder;Members
build() as StatePropertiesPredicate
property(name as string, value as string) as Builder
myBuilder.property(myString, myString);Parameters:
name: string Type: string value: string Type: string
Return Type:
StatePropertiesPredicateBuilder
property(name as string, value as int) as Builder
myBuilder.property(myString, myInt);Parameters:
name: string Type: string value: int Type: int
Return Type:
StatePropertiesPredicateBuilder
property(name as string, value as Ints) as Builder
// Builder.property(name as string, value as IntMinMaxBoundsPredicate) as StatePropertiesPredicateBuilder;myBuilder.property(myString, myInts);Parameters:
name: string Type: string value: IntMinMaxBoundsPredicate Type: IntMinMaxBoundsPredicate
Return Type:
StatePropertiesPredicateBuilder
property(name as string, value as bool) as Builder
myBuilder.property(myString, myBool);Parameters:
name: string Type: string value: bool Type: bool
Return Type:
StatePropertiesPredicateBuilder