EntityFlagsPredicateBuilder
Link to entityflagspredicatebuilder
Importare la Classe
Link to importare-la-classe
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;
Metodi
Link to metodi
Name: baby
Return Type: EntityFlagsPredicateBuilder
ZenScript CopyEntityFlagsPredicateBuilder.baby(baby as bool?) as EntityFlagsPredicateBuilder
Parametro | Tipo | Descrizione | Optional | DefaultValue |
---|---|---|---|---|
Parametro baby | Tipo bool? | Descrizione No Description Provided | Optional sì | DefaultValue sì |
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
Parametro | Tipo | Descrizione | Optional | DefaultValue |
---|---|---|---|---|
Parametro crouching | Tipo bool? | Descrizione No Description Provided | Optional sì | DefaultValue sì |
Name: onFire
Return Type: EntityFlagsPredicateBuilder
ZenScript CopyEntityFlagsPredicateBuilder.onFire(onFire as bool?) as EntityFlagsPredicateBuilder
Parametro | Tipo | Descrizione | Optional | DefaultValue |
---|---|---|---|---|
Parametro onFire | Tipo bool? | Descrizione No Description Provided | Optional sì | DefaultValue sì |
Name: sprinting
Return Type: EntityFlagsPredicateBuilder
ZenScript CopyEntityFlagsPredicateBuilder.sprinting(sprinting as bool?) as EntityFlagsPredicateBuilder
Parametro | Tipo | Descrizione | Optional | DefaultValue |
---|---|---|---|---|
Parametro sprinting | Tipo bool? | Descrizione No Description Provided | Optional sì | DefaultValue sì |
Name: swimming
Return Type: EntityFlagsPredicateBuilder
ZenScript CopyEntityFlagsPredicateBuilder.swimming(swimming as bool?) as EntityFlagsPredicateBuilder
Parametro | Tipo | Descrizione | Optional | DefaultValue |
---|---|---|---|---|
Parametro swimming | Tipo bool? | Descrizione No Description Provided | Optional sì | DefaultValue sì |