EntityFlagsPredicateBuilder
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.
import crafttweaker.api.predicate.builder.EntityFlagsPredicateBuilder;Methods
Return Type: EntityFlagsPredicateBuilder
EntityFlagsPredicateBuilder.baby(baby as bool?) as EntityFlagsPredicateBuilder| Parameter | Type | Description | Optional | DefaultValue |
|---|---|---|---|---|
Parameter baby | Type bool? | Description No Description Provided | Optional true | DefaultValue true |
Return Type: EntityFlagsPredicate
// EntityFlagsPredicateBuilder.build() as EntityFlagsPredicate
myEntityFlagsPredicateBuilder.build();Return Type: EntityFlagsPredicateBuilder
EntityFlagsPredicateBuilder.crouching(crouching as bool?) as EntityFlagsPredicateBuilder| Parameter | Type | Description | Optional | DefaultValue |
|---|---|---|---|---|
Parameter crouching | Type bool? | Description No Description Provided | Optional true | DefaultValue true |
Return Type: EntityFlagsPredicateBuilder
EntityFlagsPredicateBuilder.onFire(onFire as bool?) as EntityFlagsPredicateBuilder| Parameter | Type | Description | Optional | DefaultValue |
|---|---|---|---|---|
Parameter onFire | Type bool? | Description No Description Provided | Optional true | DefaultValue true |
Return Type: EntityFlagsPredicateBuilder
EntityFlagsPredicateBuilder.sprinting(sprinting as bool?) as EntityFlagsPredicateBuilder| Parameter | Type | Description | Optional | DefaultValue |
|---|---|---|---|---|
Parameter sprinting | Type bool? | Description No Description Provided | Optional true | DefaultValue true |
Return Type: EntityFlagsPredicateBuilder
EntityFlagsPredicateBuilder.swimming(swimming as bool?) as EntityFlagsPredicateBuilder| Parameter | Type | Description | Optional | DefaultValue |
|---|---|---|---|---|
Parameter swimming | Type bool? | Description No Description Provided | Optional true | DefaultValue true |