EntityFlagsPredicateBuilder

Link to entityflagspredicatebuilder

Импорт класса

Link to импорт-класса

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
Copy
import crafttweaker.api.predicate.builder.EntityFlagsPredicateBuilder;

Name: baby

Return Type: EntityFlagsPredicateBuilder

ZenScript
Copy
EntityFlagsPredicateBuilder.baby(baby as bool?) as EntityFlagsPredicateBuilder
ПараметрТипOptionalDefault Value
Параметр
baby
Тип
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
Copy
EntityFlagsPredicateBuilder.crouching(crouching as bool?) as EntityFlagsPredicateBuilder
ПараметрТипOptionalDefault Value
Параметр
crouching
Тип
bool?
Optional
true
Default Value
true

Name: onFire

Return Type: EntityFlagsPredicateBuilder

ZenScript
Copy
EntityFlagsPredicateBuilder.onFire(onFire as bool?) as EntityFlagsPredicateBuilder
ПараметрТипOptionalDefault Value
Параметр
onFire
Тип
bool?
Optional
true
Default Value
true

Name: sprinting

Return Type: EntityFlagsPredicateBuilder

ZenScript
Copy
EntityFlagsPredicateBuilder.sprinting(sprinting as bool?) as EntityFlagsPredicateBuilder
ПараметрТипOptionalDefault Value
Параметр
sprinting
Тип
bool?
Optional
true
Default Value
true

Name: swimming

Return Type: EntityFlagsPredicateBuilder

ZenScript
Copy
EntityFlagsPredicateBuilder.swimming(swimming as bool?) as EntityFlagsPredicateBuilder
ПараметрТипOptionalDefault Value
Параметр
swimming
Тип
bool?
Optional
true
Default Value
true