Uses of Record Class
net.minecraft.predicate.entity.EntityPredicate
Package
Description
-
Uses of EntityPredicate in net.minecraft.advancement.criterion
Modifier and TypeMethodDescriptionBredAnimalsCriterion.Conditions.create
(Optional<EntityPredicate> parent, Optional<EntityPredicate> partner, Optional<EntityPredicate> child) LightningStrikeCriterion.Conditions.create
(Optional<EntityPredicate> lightning, Optional<EntityPredicate> bystander) PlayerHurtEntityCriterion.Conditions.create
(DamagePredicate.Builder damage, Optional<EntityPredicate> entity) PlayerHurtEntityCriterion.Conditions.createEntity
(Optional<EntityPredicate> entity) OnKilledCriterion.Conditions.createEntityKilledPlayer
(Optional<EntityPredicate> entity) OnKilledCriterion.Conditions.createEntityKilledPlayer
(Optional<EntityPredicate> entity, Optional<DamageSourcePredicate> killingBlow) OnKilledCriterion.Conditions.createEntityKilledPlayer
(Optional<EntityPredicate> entity, DamageSourcePredicate.Builder damageSourcePredicateBuilder) TickCriterion.Conditions.createLocation
(Optional<EntityPredicate> entity) OnKilledCriterion.Conditions.createPlayerKilledEntity
(Optional<EntityPredicate> entity) OnKilledCriterion.Conditions.createPlayerKilledEntity
(Optional<EntityPredicate> entity, Optional<DamageSourcePredicate> killingBlow) OnKilledCriterion.Conditions.createPlayerKilledEntity
(Optional<EntityPredicate> entity, DamageSourcePredicate.Builder damageSourcePredicateBuilder) -
Uses of EntityPredicate in net.minecraft.data.server.advancement.vanilla
Modifier and TypeMethodDescriptionprivate static AdvancementCriterion
<LightningStrikeCriterion.Conditions> VanillaAdventureTabAdvancementGenerator.createLightningStrike
(NumberRange.IntRange range, Optional<EntityPredicate> entity) -
Uses of EntityPredicate in net.minecraft.loot.condition
Modifier and TypeFieldDescriptionprivate final Optional
<EntityPredicate> EntityPropertiesLootCondition.predicate
The field for thepredicate
record component.Modifier and TypeMethodDescriptionEntityPropertiesLootCondition.predicate()
Returns the value of thepredicate
record component.Modifier and TypeMethodDescriptionstatic LootCondition.Builder
EntityPropertiesLootCondition.builder
(LootContext.EntityTarget entity, EntityPredicate predicate) ModifierConstructorDescriptionEntityPropertiesLootCondition
(Optional<EntityPredicate> optional, LootContext.EntityTarget entity) -
Uses of EntityPredicate in net.minecraft.predicate
Modifier and TypeFieldDescriptionprivate Optional
<EntityPredicate> DamagePredicate.Builder.sourceEntity
private final Optional
<EntityPredicate> DamagePredicate.sourceEntity
The field for thesourceEntity
record component.Modifier and TypeMethodDescriptionDamagePredicate.sourceEntity()
Returns the value of thesourceEntity
record component.Modifier and TypeMethodDescriptionDamagePredicate.Builder.sourceEntity
(EntityPredicate sourceEntity) ModifierConstructorDescriptionDamagePredicate
(NumberRange.DoubleRange dealt, NumberRange.DoubleRange taken, Optional<EntityPredicate> optional, Optional<Boolean> optional2, Optional<DamageSourcePredicate> optional3) -
Uses of EntityPredicate in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<EntityPredicate> EntityPredicate.CODEC
private Optional
<EntityPredicate> DamageSourcePredicate.Builder.directEntity
private final Optional
<EntityPredicate> DamageSourcePredicate.directEntity
The field for thedirectEntity
record component.private final Optional
<EntityPredicate> LightningBoltPredicate.entityStruck
The field for theentityStruck
record component.private Optional
<EntityPredicate> PlayerPredicate.Builder.lookingAt
private final Optional
<EntityPredicate> PlayerPredicate.lookingAt
The field for thelookingAt
record component.private Optional
<EntityPredicate> EntityPredicate.Builder.passenger
private final Optional
<EntityPredicate> EntityPredicate.passenger
The field for thepassenger
record component.private Optional
<EntityPredicate> DamageSourcePredicate.Builder.sourceEntity
private final Optional
<EntityPredicate> DamageSourcePredicate.sourceEntity
The field for thesourceEntity
record component.private Optional
<EntityPredicate> EntityPredicate.Builder.targetedEntity
private final Optional
<EntityPredicate> EntityPredicate.targetedEntity
The field for thetargetedEntity
record component.private Optional
<EntityPredicate> EntityPredicate.Builder.vehicle
private final Optional
<EntityPredicate> EntityPredicate.vehicle
The field for thevehicle
record component.Modifier and TypeMethodDescriptionDamageSourcePredicate.directEntity()
Returns the value of thedirectEntity
record component.LightningBoltPredicate.entityStruck()
Returns the value of theentityStruck
record component.PlayerPredicate.lookingAt()
Returns the value of thelookingAt
record component.EntityPredicate.passenger()
Returns the value of thepassenger
record component.DamageSourcePredicate.sourceEntity()
Returns the value of thesourceEntity
record component.EntityPredicate.targetedEntity()
Returns the value of thetargetedEntity
record component.EntityPredicate.vehicle()
Returns the value of thevehicle
record component.Modifier and TypeMethodDescriptionstatic LootContextPredicate
EntityPredicate.asLootContextPredicate
(EntityPredicate predicate) Modifier and TypeMethodDescriptionstatic Optional
<LootContextPredicate> EntityPredicate.contextPredicateFromEntityPredicate
(Optional<EntityPredicate> entityPredicate) ModifierConstructorDescriptionDamageSourcePredicate
(List<TagPredicate<DamageType>> tagPredicates, Optional<EntityPredicate> optional, Optional<EntityPredicate> optional2) LightningBoltPredicate
(NumberRange.IntRange blocksSetOnFire, Optional<EntityPredicate> optional)