EntityPredicateBuilder
Link to entitypredicatebuilder
导入类
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 Copyimport crafttweaker.api.predicate.builder.EntityPredicateBuilder;
使用方式
Link to 使用方式
Name: build
Return Type: EntityPredicate
ZenScript Copy// EntityPredicateBuilder.build() as EntityPredicate
myEntityPredicateBuilder.build();
Name: catType
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.catType(catType as ResourceLocation) as EntityPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 catType | 类型 资源位置 | 描述 No Description Provided |
Name: catType
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.catType(catType as string) as EntityPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 catType | 类型 string | 描述 No Description Provided |
Name: distance
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.distance(predicate as DistancePredicate) as EntityPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 DistancePredicate | 描述 No Description Provided |
Name: effects
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.effects(predicate as MobEffectsPredicate) as EntityPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 MobEffectsPredicate | 描述 No Description Provided |
Name: entityType
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.entityType(predicate as EntityTypePredicate) as EntityPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 EntityTypePredicate | 描述 No Description Provided |
Name: equipment
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.equipment(predicate as EntityEquipmentPredicate) as EntityPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 EntityEquipmentPredicate | 描述 No Description Provided |
Name: equipment
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.equipment(predicate as EntityEquipmentPredicateBuilder) as EntityPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 EntityEquipmentPredicateBuilder | 描述 No Description Provided |
Name: fishingHook
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.fishingHook(predicate as FishingHookPredicate) as EntityPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 FishingHookPredicate | 描述 No Description Provided |
Name: flags
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.flags(predicate as EntityFlagsPredicate) as EntityPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 EntityFlagsPredicate | 描述 No Description Provided |
Name: flags
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.flags(predicate as EntityFlagsPredicateBuilder) as EntityPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 EntityFlagsPredicateBuilder | 描述 No Description Provided |
Name: lightningBolt
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.lightningBolt(predicate as LightningBoltPredicate) as EntityPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 LightningBoltPredicate | 描述 No Description Provided |
Name: located
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.located(predicate as LocationPredicate) as EntityPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 LocationPredicate | 描述 No Description Provided |
Name: located
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.located(predicate as LocationPredicateBuilder) as EntityPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 LocationPredicateBuilder | 描述 No Description Provided |
Name: nbt
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.nbt(predicate as NbtPredicate) as EntityPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 NbtPredicate | 描述 No Description Provided |
Name: passenger
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.passenger(predicate as EntityPredicate) as EntityPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 EntityPredicate | 描述 No Description Provided |
Name: passenger
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.passenger(predicate as EntityPredicateBuilder) as EntityPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 EntityPredicateBuilder | 描述 No Description Provided |
Name: player
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.player(predicate as PlayerPredicate) as EntityPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 PlayerPredicate | 描述 No Description Provided |
Name: player
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.player(predicate as PlayerPredicateBuilder) as EntityPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 PlayerPredicateBuilder | 描述 No Description Provided |
Name: steppingOn
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.steppingOn(predicate as LocationPredicate) as EntityPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 LocationPredicate | 描述 No Description Provided |
Name: steppingOn
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.steppingOn(predicate as LocationPredicateBuilder) as EntityPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 LocationPredicateBuilder | 描述 No Description Provided |
Name: target
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.target(predicate as EntityPredicate) as EntityPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 EntityPredicate | 描述 No Description Provided |
Name: target
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.target(predicate as EntityPredicateBuilder) as EntityPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 EntityPredicateBuilder | 描述 No Description Provided |
Name: team
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.team(team as string) as EntityPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 team | 类型 string | 描述 No Description Provided |
Name: vehicle
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.vehicle(predicate as EntityPredicate) as EntityPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 EntityPredicate | 描述 No Description Provided |
Name: vehicle
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.vehicle(predicate as EntityPredicateBuilder) as EntityPredicateBuilder
参数 | 类型 | 描述 |
---|---|---|
参数 predicate | 类型 EntityPredicateBuilder | 描述 No Description Provided |