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
<DistancePredicate> private Optional
<EntityFlagsPredicate> private Optional
<LocationPredicate> private Optional
<EntityPredicate.LocationWrapper> private Optional
<MovementPredicate> 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_) movementAffectedBy
(LocationPredicate.Builder p_348473_) moving
(MovementPredicate p_346088_) nbt
(NbtPredicate p_36655_) of
(TagKey<EntityType<?>> p_204078_) of
(EntityType<?> p_36637_) passenger
(EntityPredicate.Builder p_298577_) periodicTick
(int p_345599_) 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
-
fallDistance
-
movement
-
location
-
located
-
steppingOnLocation
-
movementAffectedBy
-
effects
-
nbt
-
flags
-
equipment
-
subPredicate
-
periodicTick
-
vehicle
-
passenger
-
targetedEntity
-
team
-
slots
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
entity
-
of
-
of
-
entityType
-
distance
-
moving
-
located
-
steppingOn
-
movementAffectedBy
-
effects
-
nbt
-
flags
-
equipment
-
equipment
-
subPredicate
-
periodicTick
-
vehicle
-
passenger
-
targetedEntity
-
team
-
slots
-
build
-