Class EntityPredicate.Builder
java.lang.Object
net.minecraft.advancements.critereon.EntityPredicate.Builder
- Enclosing class:
- EntityPredicate
-
Field Summary
Modifier and TypeFieldDescriptionprivate Optional<DistancePredicate>
private Optional<MobEffectsPredicate>
private Optional<EntityTypePredicate>
private Optional<EntityEquipmentPredicate>
private Optional<EntityFlagsPredicate>
private Optional<LocationPredicate>
private Optional<NbtPredicate>
private Optional<EntityPredicate>
private Optional<LocationPredicate>
private Optional<EntitySubPredicate>
private Optional<EntityPredicate>
private Optional<EntityPredicate>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
distance
(DistancePredicate p_36639_) effects
(MobEffectsPredicate.Builder p_300139_) static EntityPredicate.Builder
entity()
entityType
(EntityTypePredicate p_36647_) equipment
(EntityEquipmentPredicate p_36641_) equipment
(EntityEquipmentPredicate.Builder p_297462_) flags
(EntityFlagsPredicate.Builder p_300535_) located
(LocationPredicate.Builder p_297650_) nbt
(NbtPredicate p_36655_) of
(TagKey<EntityType<?>> p_204078_) of
(EntityType<?> p_36637_) passenger
(EntityPredicate.Builder p_297891_) steppingOn
(LocationPredicate.Builder p_298486_) subPredicate
(EntitySubPredicate p_218801_) targetedEntity
(EntityPredicate.Builder p_298127_) vehicle
(EntityPredicate.Builder p_300159_)
-
Field Details
-
entityType
-
distanceToPlayer
-
location
-
steppingOnLocation
-
effects
-
nbt
-
flags
-
equipment
-
subPredicate
-
vehicle
-
passenger
-
targetedEntity
-
team
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
entity
-
of
-
of
-
entityType
-
distance
-
located
-
steppingOn
-
effects
-
nbt
-
flags
-
equipment
-
equipment
-
subPredicate
-
vehicle
-
passenger
-
targetedEntity
-
team
-
build
-