Uses of Record Class
net.minecraft.predicate.entity.EntityPredicate
Packages that use EntityPredicate
Package
Description
-
Uses of EntityPredicate in net.minecraft.advancement.criterion
Method parameters in net.minecraft.advancement.criterion with type arguments of type EntityPredicateModifier 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
Method parameters in net.minecraft.data.server.advancement.vanilla with type arguments of type EntityPredicateModifier and TypeMethodDescriptionprivate static AdvancementCriterion<LightningStrikeCriterion.Conditions>
VanillaAdventureTabAdvancementGenerator.createLightningStrike
(NumberRange.IntRange range, Optional<EntityPredicate> entity) -
Uses of EntityPredicate in net.minecraft.loot.condition
Fields in net.minecraft.loot.condition with type parameters of type EntityPredicateModifier and TypeFieldDescriptionprivate final Optional<EntityPredicate>
EntityPropertiesLootCondition.predicate
The field for thepredicate
record component.Methods in net.minecraft.loot.condition that return types with arguments of type EntityPredicateModifier and TypeMethodDescriptionEntityPropertiesLootCondition.predicate()
Returns the value of thepredicate
record component.Methods in net.minecraft.loot.condition with parameters of type EntityPredicateModifier and TypeMethodDescriptionstatic LootCondition.Builder
EntityPropertiesLootCondition.builder
(LootContext.EntityTarget entity, EntityPredicate predicate) Constructor parameters in net.minecraft.loot.condition with type arguments of type EntityPredicateModifierConstructorDescriptionEntityPropertiesLootCondition
(Optional<EntityPredicate> optional, LootContext.EntityTarget entity) -
Uses of EntityPredicate in net.minecraft.predicate
Fields in net.minecraft.predicate with type parameters of type EntityPredicateModifier and TypeFieldDescriptionprivate Optional<EntityPredicate>
DamagePredicate.Builder.sourceEntity
private final Optional<EntityPredicate>
DamagePredicate.sourceEntity
The field for thesourceEntity
record component.Methods in net.minecraft.predicate that return types with arguments of type EntityPredicateModifier and TypeMethodDescriptionDamagePredicate.sourceEntity()
Returns the value of thesourceEntity
record component.Methods in net.minecraft.predicate with parameters of type EntityPredicateModifier and TypeMethodDescriptionDamagePredicate.Builder.sourceEntity
(EntityPredicate sourceEntity) Constructor parameters in net.minecraft.predicate with type arguments of type EntityPredicateModifierConstructorDescriptionDamagePredicate
(NumberRange.DoubleRange dealt, NumberRange.DoubleRange taken, Optional<EntityPredicate> optional, Optional<Boolean> optional2, Optional<DamageSourcePredicate> optional3) -
Uses of EntityPredicate in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity with type parameters of type EntityPredicateModifier 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.Methods in net.minecraft.predicate.entity that return EntityPredicateMethods in net.minecraft.predicate.entity that return types with arguments of type EntityPredicateModifier 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.Methods in net.minecraft.predicate.entity with parameters of type EntityPredicateModifier and TypeMethodDescriptionstatic LootContextPredicate
EntityPredicate.asLootContextPredicate
(EntityPredicate predicate) Method parameters in net.minecraft.predicate.entity with type arguments of type EntityPredicateModifier and TypeMethodDescriptionstatic Optional<LootContextPredicate>
EntityPredicate.contextPredicateFromEntityPredicate
(Optional<EntityPredicate> entityPredicate) Constructor parameters in net.minecraft.predicate.entity with type arguments of type EntityPredicateModifierConstructorDescriptionDamageSourcePredicate
(List<TagPredicate<DamageType>> tagPredicates, Optional<EntityPredicate> optional, Optional<EntityPredicate> optional2) LightningBoltPredicate
(NumberRange.IntRange blocksSetOnFire, Optional<EntityPredicate> optional)