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: distance
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.distance(predicate as DistancePredicate) as EntityPredicateBuilder
Parametro | Tipo |
---|---|
Parametro predicate | Tipo DistancePredicate |
Name: effects
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.effects(predicate as MobEffectsPredicate) as EntityPredicateBuilder
Parametro | Tipo |
---|---|
Parametro predicate | Tipo MobEffectsPredicate |
Name: entityType
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.entityType(predicate as EntityTypePredicate) as EntityPredicateBuilder
Parametro | Tipo |
---|---|
Parametro predicate | Tipo EntityTypePredicate |
Name: equipment
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.equipment(predicate as EntityEquipmentPredicate) as EntityPredicateBuilder
Parametro | Tipo |
---|---|
Parametro predicate | Tipo EntityEquipmentPredicate |
Name: equipment
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.equipment(predicate as EntityEquipmentPredicateBuilder) as EntityPredicateBuilder
Parametro | Tipo |
---|---|
Parametro predicate | Tipo EntityEquipmentPredicateBuilder |
Name: flags
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.flags(predicate as EntityFlagsPredicate) as EntityPredicateBuilder
Parametro | Tipo |
---|---|
Parametro predicate | Tipo EntityFlagsPredicate |
Name: flags
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.flags(predicate as EntityFlagsPredicateBuilder) as EntityPredicateBuilder
Parametro | Tipo |
---|---|
Parametro predicate | Tipo EntityFlagsPredicateBuilder |
Name: located
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.located(predicate as LocationPredicate) as EntityPredicateBuilder
Parametro | Tipo |
---|---|
Parametro predicate | Tipo LocationPredicate |
Name: located
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.located(predicate as LocationPredicateBuilder) as EntityPredicateBuilder
Parametro | Tipo |
---|---|
Parametro predicate | Tipo LocationPredicateBuilder |
Name: nbt
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.nbt(predicate as NbtPredicate) as EntityPredicateBuilder
Parametro | Tipo |
---|---|
Parametro predicate | Tipo NbtPredicate |
Name: passenger
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.passenger(predicate as EntityPredicate) as EntityPredicateBuilder
Parametro | Tipo |
---|---|
Parametro predicate | Tipo EntityPredicate |
Name: passenger
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.passenger(predicate as EntityPredicateBuilder) as EntityPredicateBuilder
Parametro | Tipo |
---|---|
Parametro predicate | Tipo EntityPredicateBuilder |
Name: steppingOn
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.steppingOn(predicate as LocationPredicate) as EntityPredicateBuilder
Parametro | Tipo |
---|---|
Parametro predicate | Tipo LocationPredicate |
Name: steppingOn
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.steppingOn(predicate as LocationPredicateBuilder) as EntityPredicateBuilder
Parametro | Tipo |
---|---|
Parametro predicate | Tipo LocationPredicateBuilder |
Name: subPredicate
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.subPredicate(predicate as EntitySubPredicate) as EntityPredicateBuilder
Parametro | Tipo |
---|---|
Parametro predicate | Tipo EntitySubPredicate |
Name: subPredicate
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.subPredicate(predicate as PlayerPredicateBuilder) as EntityPredicateBuilder
Parametro | Tipo |
---|---|
Parametro predicate | Tipo PlayerPredicateBuilder |
Name: target
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.target(predicate as EntityPredicate) as EntityPredicateBuilder
Parametro | Tipo |
---|---|
Parametro predicate | Tipo EntityPredicate |
Name: target
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.target(predicate as EntityPredicateBuilder) as EntityPredicateBuilder
Parametro | Tipo |
---|---|
Parametro predicate | Tipo EntityPredicateBuilder |
Name: team
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.team(team as string) as EntityPredicateBuilder
Parametro | Tipo |
---|---|
Parametro team | Tipo string |
Name: vehicle
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.vehicle(predicate as EntityPredicate) as EntityPredicateBuilder
Parametro | Tipo |
---|---|
Parametro predicate | Tipo EntityPredicate |
Name: vehicle
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.vehicle(predicate as EntityPredicateBuilder) as EntityPredicateBuilder
Parametro | Tipo |
---|---|
Parametro predicate | Tipo EntityPredicateBuilder |