EntityPredicateBuilder

Link to entitypredicatebuilder

Importing the class

Link to importing-the-class

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: catType

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.catType(catType as ResourceLocation) as EntityPredicateBuilder
ParameterType
Parameter
catType
Type
ResourceLocation

Name: catType

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.catType(catType as string) as EntityPredicateBuilder
ParameterType
Parameter
catType
Type
string

Name: distance

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.distance(predicate as DistancePredicate) as EntityPredicateBuilder
ParameterType
Parameter
predicate
Type
DistancePredicate

Name: effects

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.effects(predicate as MobEffectsPredicate) as EntityPredicateBuilder
ParameterType
Parameter
predicate
Type
MobEffectsPredicate

Name: entityType

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.entityType(predicate as EntityTypePredicate) as EntityPredicateBuilder
ParameterType
Parameter
predicate
Type
EntityTypePredicate

Name: equipment

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.equipment(predicate as EntityEquipmentPredicate) as EntityPredicateBuilder
ParameterType
Parameter
predicate
Type
EntityEquipmentPredicate

Name: equipment

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.equipment(predicate as EntityEquipmentPredicateBuilder) as EntityPredicateBuilder
ParameterType
Parameter
predicate
Type
EntityEquipmentPredicateBuilder

Name: fishingHook

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.fishingHook(predicate as FishingHookPredicate) as EntityPredicateBuilder
ParameterType
Parameter
predicate
Type
FishingHookPredicate

Name: flags

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.flags(predicate as EntityFlagsPredicate) as EntityPredicateBuilder
ParameterType
Parameter
predicate
Type
EntityFlagsPredicate

Name: flags

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.flags(predicate as EntityFlagsPredicateBuilder) as EntityPredicateBuilder
ParameterType
Parameter
predicate
Type
EntityFlagsPredicateBuilder

Name: lightningBolt

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.lightningBolt(predicate as LightningBoltPredicate) as EntityPredicateBuilder
ParameterType
Parameter
predicate
Type
LightningBoltPredicate

Name: located

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.located(predicate as LocationPredicate) as EntityPredicateBuilder
ParameterType
Parameter
predicate
Type
LocationPredicate

Name: located

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.located(predicate as LocationPredicateBuilder) as EntityPredicateBuilder
ParameterType
Parameter
predicate
Type
LocationPredicateBuilder

Name: nbt

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.nbt(predicate as NbtPredicate) as EntityPredicateBuilder
ParameterType
Parameter
predicate
Type
NbtPredicate

Name: passenger

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.passenger(predicate as EntityPredicate) as EntityPredicateBuilder
ParameterType
Parameter
predicate
Type
EntityPredicate

Name: passenger

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.passenger(predicate as EntityPredicateBuilder) as EntityPredicateBuilder
ParameterType
Parameter
predicate
Type
EntityPredicateBuilder

Name: player

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.player(predicate as PlayerPredicate) as EntityPredicateBuilder
ParameterType
Parameter
predicate
Type
PlayerPredicate

Name: player

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.player(predicate as PlayerPredicateBuilder) as EntityPredicateBuilder
ParameterType
Parameter
predicate
Type
PlayerPredicateBuilder

Name: steppingOn

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.steppingOn(predicate as LocationPredicate) as EntityPredicateBuilder
ParameterType
Parameter
predicate
Type
LocationPredicate

Name: steppingOn

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.steppingOn(predicate as LocationPredicateBuilder) as EntityPredicateBuilder
ParameterType
Parameter
predicate
Type
LocationPredicateBuilder

Name: target

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.target(predicate as EntityPredicate) as EntityPredicateBuilder
ParameterType
Parameter
predicate
Type
EntityPredicate

Name: target

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.target(predicate as EntityPredicateBuilder) as EntityPredicateBuilder
ParameterType
Parameter
predicate
Type
EntityPredicateBuilder

Name: team

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.team(team as string) as EntityPredicateBuilder
ParameterType
Parameter
team
Type
string

Name: vehicle

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.vehicle(predicate as EntityPredicate) as EntityPredicateBuilder
ParameterType
Parameter
predicate
Type
EntityPredicate

Name: vehicle

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.vehicle(predicate as EntityPredicateBuilder) as EntityPredicateBuilder
ParameterType
Parameter
predicate
Type
EntityPredicateBuilder