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 Copyimport crafttweaker.api.predicate.builder.EntityPredicateBuilder;
Methods
Link to methods
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
Parameter | Type |
---|---|
Parameter predicate | Type DistancePredicate |
Name: effects
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.effects(predicate as invalid) as EntityPredicateBuilder
Parameter | Type |
---|---|
Parameter predicate | Type invalid |
Name: entityType
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.entityType(predicate as EntityTypePredicate) as EntityPredicateBuilder
Parameter | Type |
---|---|
Parameter predicate | Type EntityTypePredicate |
Name: equipment
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.equipment(predicate as EntityEquipmentPredicate) as EntityPredicateBuilder
Parameter | Type |
---|---|
Parameter predicate | Type EntityEquipmentPredicate |
Name: equipment
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.equipment(predicate as EntityEquipmentPredicateBuilder) as EntityPredicateBuilder
Parameter | Type |
---|---|
Parameter predicate | Type EntityEquipmentPredicateBuilder |
Name: flags
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.flags(predicate as EntityFlagsPredicateBuilder) as EntityPredicateBuilder
Parameter | Type |
---|---|
Parameter predicate | Type EntityFlagsPredicateBuilder |
Name: located
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.located(predicate as LocationPredicateBuilder) as EntityPredicateBuilder
Parameter | Type |
---|---|
Parameter predicate | Type LocationPredicateBuilder |
Name: nbt
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.nbt(predicate as NbtPredicate) as EntityPredicateBuilder
Parameter | Type |
---|---|
Parameter predicate | Type NbtPredicate |
Name: passenger
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.passenger(predicate as EntityPredicateBuilder) as EntityPredicateBuilder
Parameter | Type |
---|---|
Parameter predicate | Type EntityPredicateBuilder |
Name: steppingOn
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.steppingOn(predicate as LocationPredicateBuilder) as EntityPredicateBuilder
Parameter | Type |
---|---|
Parameter predicate | Type LocationPredicateBuilder |
Name: subPredicate
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.subPredicate(predicate as EntitySubPredicate) as EntityPredicateBuilder
Parameter | Type |
---|---|
Parameter predicate | Type EntitySubPredicate |
Name: subPredicate
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.subPredicate(predicate as PlayerPredicateBuilder) as EntityPredicateBuilder
Parameter | Type |
---|---|
Parameter predicate | Type PlayerPredicateBuilder |
Name: target
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.target(predicate as EntityPredicateBuilder) as EntityPredicateBuilder
Parameter | Type |
---|---|
Parameter predicate | Type EntityPredicateBuilder |
Name: team
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.team(team as string) as EntityPredicateBuilder
Parameter | Type |
---|---|
Parameter team | Type string |
Name: vehicle
Return Type: EntityPredicateBuilder
ZenScript CopyEntityPredicateBuilder.vehicle(predicate as EntityPredicateBuilder) as EntityPredicateBuilder
Parameter | Type |
---|---|
Parameter predicate | Type EntityPredicateBuilder |