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
<SlotsPredicate> 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_298981_) static EntityPredicate.Builder
entity()
entityType
(EntityTypePredicate p_36647_) equipment
(EntityEquipmentPredicate p_36641_) equipment
(EntityEquipmentPredicate.Builder p_299134_) flags
(EntityFlagsPredicate.Builder p_298456_) located
(LocationPredicate.Builder p_298230_) nbt
(NbtPredicate p_36655_) of
(TagKey<EntityType<?>> p_204078_) of
(EntityType<?> p_36637_) passenger
(EntityPredicate.Builder p_298577_) slots
(SlotsPredicate p_332780_) steppingOn
(LocationPredicate.Builder p_298232_) subPredicate
(EntitySubPredicate p_218801_) targetedEntity
(EntityPredicate.Builder p_299292_) vehicle
(EntityPredicate.Builder p_299103_)
-
Field Details
-
entityType
-
distanceToPlayer
-
location
-
steppingOnLocation
-
effects
-
nbt
-
flags
-
equipment
-
subPredicate
-
vehicle
-
passenger
-
targetedEntity
-
team
-
slots
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
entity
-
of
-
of
-
entityType
-
distance
-
located
-
steppingOn
-
effects
-
nbt
-
flags
-
equipment
-
equipment
-
subPredicate
-
vehicle
-
passenger
-
targetedEntity
-
team
-
slots
-
build
-