EntityPredicateBuilder
Link to entitypredicatebuilder
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.EntityPredicateBuilder;
Metodi
Link to metodi
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
Parametro | Tipo | Descrizione |
---|---|---|
Parametro catType | Tipo ResourceLocation | Descrizione No Description Provided |
Name: catType
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.catType(catType as string) as EntityPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro catType | Tipo string | Descrizione No Description Provided |
Name: distance
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.distance(predicate as DistancePredicate) as EntityPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro predicate | Tipo DistancePredicate | Descrizione No Description Provided |
Name: effects
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.effects(predicate as MobEffectsPredicate) as EntityPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro predicate | Tipo MobEffectsPredicate | Descrizione No Description Provided |
Name: entityType
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.entityType(predicate as EntityTypePredicate) as EntityPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro predicate | Tipo EntityTypePredicate | Descrizione No Description Provided |
Name: equipment
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.equipment(predicate as EntityEquipmentPredicate) as EntityPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro predicate | Tipo EntityEquipmentPredicate | Descrizione No Description Provided |
Name: equipment
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.equipment(predicate as EntityEquipmentPredicateBuilder) as EntityPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro predicate | Tipo EntityEquipmentPredicateBuilder | Descrizione No Description Provided |
Name: fishingHook
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.fishingHook(predicate as FishingHookPredicate) as EntityPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro predicate | Tipo FishingHookPredicate | Descrizione No Description Provided |
Name: flags
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.flags(predicate as EntityFlagsPredicate) as EntityPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro predicate | Tipo EntityFlagsPredicate | Descrizione No Description Provided |
Name: flags
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.flags(predicate as EntityFlagsPredicateBuilder) as EntityPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro predicate | Tipo EntityFlagsPredicateBuilder | Descrizione No Description Provided |
Name: lightningBolt
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.lightningBolt(predicate as LightningBoltPredicate) as EntityPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro predicate | Tipo LightningBoltPredicate | Descrizione No Description Provided |
Name: located
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.located(predicate as LocationPredicate) as EntityPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro predicate | Tipo LocationPredicate | Descrizione No Description Provided |
Name: located
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.located(predicate as LocationPredicateBuilder) as EntityPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro predicate | Tipo LocationPredicateBuilder | Descrizione No Description Provided |
Name: nbt
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.nbt(predicate as NbtPredicate) as EntityPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro predicate | Tipo NbtPredicate | Descrizione No Description Provided |
Name: passenger
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.passenger(predicate as EntityPredicate) as EntityPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro predicate | Tipo EntityPredicate | Descrizione No Description Provided |
Name: passenger
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.passenger(predicate as EntityPredicateBuilder) as EntityPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro predicate | Tipo EntityPredicateBuilder | Descrizione No Description Provided |
Name: player
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.player(predicate as PlayerPredicate) as EntityPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro predicate | Tipo PlayerPredicate | Descrizione No Description Provided |
Name: player
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.player(predicate as PlayerPredicateBuilder) as EntityPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro predicate | Tipo PlayerPredicateBuilder | Descrizione No Description Provided |
Name: steppingOn
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.steppingOn(predicate as LocationPredicate) as EntityPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro predicate | Tipo LocationPredicate | Descrizione No Description Provided |
Name: steppingOn
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.steppingOn(predicate as LocationPredicateBuilder) as EntityPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro predicate | Tipo LocationPredicateBuilder | Descrizione No Description Provided |
Name: target
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.target(predicate as EntityPredicate) as EntityPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro predicate | Tipo EntityPredicate | Descrizione No Description Provided |
Name: target
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.target(predicate as EntityPredicateBuilder) as EntityPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro predicate | Tipo EntityPredicateBuilder | Descrizione No Description Provided |
Name: team
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.team(team as string) as EntityPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro team | Tipo string | Descrizione No Description Provided |
Name: vehicle
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.vehicle(predicate as EntityPredicate) as EntityPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro predicate | Tipo EntityPredicate | Descrizione No Description Provided |
Name: vehicle
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.vehicle(predicate as EntityPredicateBuilder) as EntityPredicateBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro predicate | Tipo EntityPredicateBuilder | Descrizione No Description Provided |