EntityPredicateBuilder

Link to entitypredicatebuilder

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

Name: build

Return Type: EntityPredicate

ZenScript
Copy
// EntityPredicateBuilder.build() as EntityPredicate

myEntityPredicateBuilder.build();

Name: distance

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.distance(predicate as DistancePredicate) as EntityPredicateBuilder
参数类型
参数
predicate
类型
DistancePredicate

Name: effects

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.effects(predicate as MobEffectsPredicate) as EntityPredicateBuilder
参数类型
参数
predicate
类型
MobEffectsPredicate

Name: entityType

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.entityType(predicate as EntityTypePredicate) as EntityPredicateBuilder
参数类型
参数
predicate
类型
EntityTypePredicate

Name: equipment

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.equipment(predicate as EntityEquipmentPredicate) as EntityPredicateBuilder
参数类型
参数
predicate
类型
EntityEquipmentPredicate

Name: equipment

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.equipment(predicate as EntityEquipmentPredicateBuilder) as EntityPredicateBuilder
参数类型
参数
predicate
类型
EntityEquipmentPredicateBuilder

Name: flags

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.flags(predicate as EntityFlagsPredicate) as EntityPredicateBuilder
参数类型
参数
predicate
类型
EntityFlagsPredicate

Name: flags

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.flags(predicate as EntityFlagsPredicateBuilder) as EntityPredicateBuilder
参数类型
参数
predicate
类型
EntityFlagsPredicateBuilder

Name: located

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.located(predicate as LocationPredicate) as EntityPredicateBuilder
参数类型
参数
predicate
类型
LocationPredicate

Name: located

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.located(predicate as LocationPredicateBuilder) as EntityPredicateBuilder
参数类型
参数
predicate
类型
LocationPredicateBuilder

Name: nbt

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.nbt(predicate as NbtPredicate) as EntityPredicateBuilder
参数类型
参数
predicate
类型
NbtPredicate

Name: passenger

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.passenger(predicate as EntityPredicate) as EntityPredicateBuilder
参数类型
参数
predicate
类型
EntityPredicate

Name: passenger

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.passenger(predicate as EntityPredicateBuilder) as EntityPredicateBuilder
参数类型
参数
predicate
类型
EntityPredicateBuilder

Name: steppingOn

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.steppingOn(predicate as LocationPredicate) as EntityPredicateBuilder
参数类型
参数
predicate
类型
LocationPredicate

Name: steppingOn

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.steppingOn(predicate as LocationPredicateBuilder) as EntityPredicateBuilder
参数类型
参数
predicate
类型
LocationPredicateBuilder

Name: subPredicate

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.subPredicate(predicate as EntitySubPredicate) as EntityPredicateBuilder
参数类型
参数
predicate
类型
EntitySubPredicate

Name: subPredicate

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.subPredicate(predicate as PlayerPredicateBuilder) as EntityPredicateBuilder
参数类型
参数
predicate
类型
PlayerPredicateBuilder

Name: target

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.target(predicate as EntityPredicate) as EntityPredicateBuilder
参数类型
参数
predicate
类型
EntityPredicate

Name: target

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.target(predicate as EntityPredicateBuilder) as EntityPredicateBuilder
参数类型
参数
predicate
类型
EntityPredicateBuilder

Name: team

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.team(team as string) as EntityPredicateBuilder
参数类型
参数
team
类型
string

Name: vehicle

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.vehicle(predicate as EntityPredicate) as EntityPredicateBuilder
参数类型
参数
predicate
类型
EntityPredicate

Name: vehicle

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.vehicle(predicate as EntityPredicateBuilder) as EntityPredicateBuilder
参数类型
参数
predicate
类型
EntityPredicateBuilder