EntityFlagsPredicateBuilder

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.EntityFlagsPredicateBuilder;

Members

baby(baby as Boolean = true) as Builder
script.zs
// Builder.baby(baby as Boolean = true) as Builder;
myBuilder.baby(myBoolean);

Parameters:

baby (optional) Type: Boolean

Default Value: true

Return Type: EntityFlagsPredicateBuilder

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

Return Type: EntityFlagsPredicate

crouching(crouching as Boolean = true) as Builder
script.zs
// Builder.crouching(crouching as Boolean = true) as Builder;
myBuilder.crouching(myBoolean);

Parameters:

crouching (optional) Type: Boolean

Default Value: true

Return Type: EntityFlagsPredicateBuilder

onFire(onFire as Boolean = true) as Builder
script.zs
// Builder.onFire(onFire as Boolean = true) as Builder;
myBuilder.onFire(myBoolean);

Parameters:

onFire (optional) Type: Boolean

Default Value: true

Return Type: EntityFlagsPredicateBuilder

sprinting(sprinting as Boolean = true) as Builder
script.zs
// Builder.sprinting(sprinting as Boolean = true) as Builder;
myBuilder.sprinting(myBoolean);

Parameters:

sprinting (optional) Type: Boolean

Default Value: true

Return Type: EntityFlagsPredicateBuilder

swimming(swimming as Boolean = true) as Builder
script.zs
// Builder.swimming(swimming as Boolean = true) as Builder;
myBuilder.swimming(myBoolean);

Parameters:

swimming (optional) Type: Boolean

Default Value: true

Return Type: EntityFlagsPredicateBuilder