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
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
ParametroTipoDescrizione
Parametro
catType
Tipo
ResourceLocation
Descrizione
No Description Provided

Name: catType

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.catType(catType as string) as EntityPredicateBuilder
ParametroTipoDescrizione
Parametro
catType
Tipo
string
Descrizione
No Description Provided

Name: distance

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.distance(predicate as DistancePredicate) as EntityPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
DistancePredicate
Descrizione
No Description Provided

Name: effects

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.effects(predicate as MobEffectsPredicate) as EntityPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
MobEffectsPredicate
Descrizione
No Description Provided

Name: entityType

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.entityType(predicate as EntityTypePredicate) as EntityPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
EntityTypePredicate
Descrizione
No Description Provided

Name: equipment

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.equipment(predicate as EntityEquipmentPredicate) as EntityPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
EntityEquipmentPredicate
Descrizione
No Description Provided

Name: equipment

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.equipment(predicate as EntityEquipmentPredicateBuilder) as EntityPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
EntityEquipmentPredicateBuilder
Descrizione
No Description Provided

Name: fishingHook

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.fishingHook(predicate as FishingHookPredicate) as EntityPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
FishingHookPredicate
Descrizione
No Description Provided

Name: flags

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.flags(predicate as EntityFlagsPredicate) as EntityPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
EntityFlagsPredicate
Descrizione
No Description Provided

Name: flags

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.flags(predicate as EntityFlagsPredicateBuilder) as EntityPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
EntityFlagsPredicateBuilder
Descrizione
No Description Provided

Name: lightningBolt

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.lightningBolt(predicate as LightningBoltPredicate) as EntityPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
LightningBoltPredicate
Descrizione
No Description Provided

Name: located

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.located(predicate as LocationPredicate) as EntityPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
LocationPredicate
Descrizione
No Description Provided

Name: located

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.located(predicate as LocationPredicateBuilder) as EntityPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
LocationPredicateBuilder
Descrizione
No Description Provided

Name: nbt

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.nbt(predicate as NbtPredicate) as EntityPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
NbtPredicate
Descrizione
No Description Provided

Name: passenger

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.passenger(predicate as EntityPredicate) as EntityPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
EntityPredicate
Descrizione
No Description Provided

Name: passenger

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.passenger(predicate as EntityPredicateBuilder) as EntityPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
EntityPredicateBuilder
Descrizione
No Description Provided

Name: player

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.player(predicate as PlayerPredicate) as EntityPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
PlayerPredicate
Descrizione
No Description Provided

Name: player

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.player(predicate as PlayerPredicateBuilder) as EntityPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
PlayerPredicateBuilder
Descrizione
No Description Provided

Name: steppingOn

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.steppingOn(predicate as LocationPredicate) as EntityPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
LocationPredicate
Descrizione
No Description Provided

Name: steppingOn

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.steppingOn(predicate as LocationPredicateBuilder) as EntityPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
LocationPredicateBuilder
Descrizione
No Description Provided

Name: target

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.target(predicate as EntityPredicate) as EntityPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
EntityPredicate
Descrizione
No Description Provided

Name: target

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.target(predicate as EntityPredicateBuilder) as EntityPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
EntityPredicateBuilder
Descrizione
No Description Provided

Name: team

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.team(team as string) as EntityPredicateBuilder
ParametroTipoDescrizione
Parametro
team
Tipo
string
Descrizione
No Description Provided

Name: vehicle

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.vehicle(predicate as EntityPredicate) as EntityPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
EntityPredicate
Descrizione
No Description Provided

Name: vehicle

Return Type: EntityPredicateBuilder

ZenScript
Copy
EntityPredicateBuilder.vehicle(predicate as EntityPredicateBuilder) as EntityPredicateBuilder
ParametroTipoDescrizione
Parametro
predicate
Tipo
EntityPredicateBuilder
Descrizione
No Description Provided