EntityFlagsPredicateBuilder
Link to entityflagspredicatebuilder
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 Copyimport crafttweaker.api.predicate.builder.EntityFlagsPredicateBuilder;
Methods
Link to methods
Name: baby
Return Type: EntityFlagsPredicateBuilder
ZenScript CopyEntityFlagsPredicateBuilder.baby(baby as bool?) as EntityFlagsPredicateBuilder
Parameter | Type | Optional | Default Value |
---|---|---|---|
Parameter baby | Type bool? | Optional true | Default Value true |
Name: build
Return Type: EntityFlagsPredicate
ZenScript Copy// EntityFlagsPredicateBuilder.build() as EntityFlagsPredicate
myEntityFlagsPredicateBuilder.build();
Name: crouching
Return Type: EntityFlagsPredicateBuilder
ZenScript CopyEntityFlagsPredicateBuilder.crouching(crouching as bool?) as EntityFlagsPredicateBuilder
Parameter | Type | Optional | Default Value |
---|---|---|---|
Parameter crouching | Type bool? | Optional true | Default Value true |
Name: onFire
Return Type: EntityFlagsPredicateBuilder
ZenScript CopyEntityFlagsPredicateBuilder.onFire(onFire as bool?) as EntityFlagsPredicateBuilder
Parameter | Type | Optional | Default Value |
---|---|---|---|
Parameter onFire | Type bool? | Optional true | Default Value true |
Name: sprinting
Return Type: EntityFlagsPredicateBuilder
ZenScript CopyEntityFlagsPredicateBuilder.sprinting(sprinting as bool?) as EntityFlagsPredicateBuilder
Parameter | Type | Optional | Default Value |
---|---|---|---|
Parameter sprinting | Type bool? | Optional true | Default Value true |
Name: swimming
Return Type: EntityFlagsPredicateBuilder
ZenScript CopyEntityFlagsPredicateBuilder.swimming(swimming as bool?) as EntityFlagsPredicateBuilder
Parameter | Type | Optional | Default Value |
---|---|---|---|
Parameter swimming | Type bool? | Optional true | Default Value true |