public static class EntityPredicate.Builder extends Object
Modifier and Type | Field and Description |
---|---|
private Identifier |
catType |
private DistancePredicate |
distance |
private EntityEffectPredicate |
effects |
private EntityEquipmentPredicate |
equipment |
private FishingHookPredicate |
fishHook |
private EntityFlagsPredicate |
flags |
private LocationPredicate |
location |
private NbtPredicate |
nbt |
private PlayerPredicate |
player |
private EntityPredicate |
targetedEntity |
private String |
team |
private EntityTypePredicate |
type |
private EntityPredicate |
vehicle |
Constructor and Description |
---|
Builder() |
private EntityTypePredicate type
private DistancePredicate distance
private LocationPredicate location
private EntityEffectPredicate effects
private NbtPredicate nbt
private EntityFlagsPredicate flags
private EntityEquipmentPredicate equipment
private PlayerPredicate player
private FishingHookPredicate fishHook
private EntityPredicate vehicle
private EntityPredicate targetedEntity
private String team
private Identifier catType
public static EntityPredicate.Builder create()
public EntityPredicate.Builder type(EntityType<?> type)
public EntityPredicate.Builder type(Tag<EntityType<?>> tag)
public EntityPredicate.Builder type(Identifier catType)
public EntityPredicate.Builder type(EntityTypePredicate type)
public EntityPredicate.Builder distance(DistancePredicate distance)
public EntityPredicate.Builder location(LocationPredicate location)
public EntityPredicate.Builder effects(EntityEffectPredicate effects)
public EntityPredicate.Builder nbt(NbtPredicate nbt)
public EntityPredicate.Builder flags(EntityFlagsPredicate flags)
public EntityPredicate.Builder equipment(EntityEquipmentPredicate equipment)
public EntityPredicate.Builder player(PlayerPredicate player)
public EntityPredicate.Builder fishHook(FishingHookPredicate fishHook)
public EntityPredicate.Builder vehicle(EntityPredicate vehicle)
public EntityPredicate.Builder targetedEntity(EntityPredicate targetedEntity)
public EntityPredicate.Builder team(@Nullable String team)
public EntityPredicate.Builder catType(@Nullable Identifier catType)
public EntityPredicate build()