EntityPredicateBuilder

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

Members

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

Return Type: EntityPredicate

distance(predicate as DistancePredicate) as Builder
script.zs
// Builder.distance(predicate as DistancePredicate) as Builder;
myBuilder.distance(myDistancePredicate);

Parameters:

Return Type: EntityPredicateBuilder

effects(predicate as Builder) as Builder
script.zs
// Builder.effects(predicate as Builder) as Builder;
myBuilder.effects(myBuilder);

Parameters:

predicate Type: Builder

Return Type: EntityPredicateBuilder

entityType(predicate as EntityTypePredicate) as Builder
script.zs
// Builder.entityType(predicate as EntityTypePredicate) as Builder;
myBuilder.entityType(myEntityTypePredicate);

Parameters:

Return Type: EntityPredicateBuilder

equipment(predicate as EntityEquipmentPredicate) as Builder
script.zs
// Builder.equipment(predicate as EntityEquipmentPredicate) as Builder;
myBuilder.equipment(myEntityEquipmentPredicate);

Parameters:

Return Type: EntityPredicateBuilder

equipment(predicate as Builder) as Builder
script.zs
// Builder.equipment(predicate as Builder) as Builder;
myBuilder.equipment(myBuilder);

Return Type: EntityPredicateBuilder

flags(predicate as Builder) as Builder
script.zs
// Builder.flags(predicate as Builder) as Builder;
myBuilder.flags(myBuilder);

Return Type: EntityPredicateBuilder

located(predicate as Builder) as Builder
script.zs
// Builder.located(predicate as Builder) as Builder;
myBuilder.located(myBuilder);

Parameters:

Return Type: EntityPredicateBuilder

nbt(predicate as NbtPredicate) as Builder
script.zs
// Builder.nbt(predicate as NbtPredicate) as Builder;
myBuilder.nbt(myNbtPredicate);

Parameters:

predicate Type: NbtPredicate

Return Type: EntityPredicateBuilder

passenger(predicate as Builder) as Builder
script.zs
// Builder.passenger(predicate as Builder) as Builder;
myBuilder.passenger(myBuilder);

Parameters:

Return Type: EntityPredicateBuilder

steppingOn(predicate as Builder) as Builder
script.zs
// Builder.steppingOn(predicate as Builder) as Builder;
myBuilder.steppingOn(myBuilder);

Parameters:

Return Type: EntityPredicateBuilder

subPredicate(predicate as EntitySubPredicate) as Builder
script.zs
// Builder.subPredicate(predicate as EntitySubPredicate) as Builder;
myBuilder.subPredicate(myEntitySubPredicate);

Parameters:

Return Type: EntityPredicateBuilder

subPredicate(predicate as Builder) as Builder
script.zs
// Builder.subPredicate(predicate as Builder) as Builder;
myBuilder.subPredicate(myBuilder);

Parameters:

Return Type: EntityPredicateBuilder

target(predicate as Builder) as Builder
script.zs
// Builder.target(predicate as Builder) as Builder;
myBuilder.target(myBuilder);

Parameters:

Return Type: EntityPredicateBuilder

team(team as string) as Builder
script.zs
// Builder.team(team as string) as Builder;
myBuilder.team(myString);

Parameters:

team Type: string

Return Type: EntityPredicateBuilder

vehicle(predicate as Builder) as Builder
script.zs
// Builder.vehicle(predicate as Builder) as Builder;
myBuilder.vehicle(myBuilder);

Parameters:

Return Type: EntityPredicateBuilder