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 | Тип ResourceLocation |
Name: catType
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.catType(catType as string) as EntityPredicateBuilder
Параметр | Тип |
---|---|
Параметр catType | Тип string |
Name: distance
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.distance(predicate as DistancePredicate) as EntityPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип DistancePredicate |
Name: effects
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.effects(predicate as MobEffectsPredicate) as EntityPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип MobEffectsPredicate |
Name: entityType
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.entityType(predicate as EntityTypePredicate) as EntityPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип EntityTypePredicate |
Name: equipment
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.equipment(predicate as EntityEquipmentPredicate) as EntityPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип EntityEquipmentPredicate |
Name: equipment
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.equipment(predicate as EntityEquipmentPredicateBuilder) as EntityPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип EntityEquipmentPredicateBuilder |
Name: fishingHook
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.fishingHook(predicate as FishingHookPredicate) as EntityPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип FishingHookPredicate |
Name: flags
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.flags(predicate as EntityFlagsPredicate) as EntityPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип EntityFlagsPredicate |
Name: flags
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.flags(predicate as EntityFlagsPredicateBuilder) as EntityPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип EntityFlagsPredicateBuilder |
Name: lightningBolt
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.lightningBolt(predicate as LightningBoltPredicate) as EntityPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип LightningBoltPredicate |
Name: located
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.located(predicate as LocationPredicate) as EntityPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип LocationPredicate |
Name: located
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.located(predicate as LocationPredicateBuilder) as EntityPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип LocationPredicateBuilder |
Name: nbt
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.nbt(predicate as NbtPredicate) as EntityPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип NbtPredicate |
Name: passenger
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.passenger(predicate as EntityPredicate) as EntityPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип EntityPredicate |
Name: passenger
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.passenger(predicate as EntityPredicateBuilder) as EntityPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип EntityPredicateBuilder |
Name: player
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.player(predicate as PlayerPredicate) as EntityPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип PlayerPredicate |
Name: player
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.player(predicate as PlayerPredicateBuilder) as EntityPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип PlayerPredicateBuilder |
Name: steppingOn
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.steppingOn(predicate as LocationPredicate) as EntityPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип LocationPredicate |
Name: steppingOn
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.steppingOn(predicate as LocationPredicateBuilder) as EntityPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип LocationPredicateBuilder |
Name: target
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.target(predicate as EntityPredicate) as EntityPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип EntityPredicate |
Name: target
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.target(predicate as EntityPredicateBuilder) as EntityPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип EntityPredicateBuilder |
Name: team
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.team(team as string) as EntityPredicateBuilder
Параметр | Тип |
---|---|
Параметр team | Тип string |
Name: vehicle
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.vehicle(predicate as EntityPredicate) as EntityPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип EntityPredicate |
Name: vehicle
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.vehicle(predicate as EntityPredicateBuilder) as EntityPredicateBuilder
Параметр | Тип |
---|---|
Параметр predicate | Тип EntityPredicateBuilder |