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.predicateThe field for thepredicaterecord component.Methods in net.minecraft.loot.condition that return types with arguments of type EntityPredicateModifier and TypeMethodDescriptionEntityPropertiesLootCondition.predicate()Returns the value of thepredicaterecord component.Methods in net.minecraft.loot.condition with parameters of type EntityPredicateModifier and TypeMethodDescriptionstatic LootCondition.BuilderEntityPropertiesLootCondition.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.sourceEntityprivate final Optional<EntityPredicate> DamagePredicate.sourceEntityThe field for thesourceEntityrecord component.Methods in net.minecraft.predicate that return types with arguments of type EntityPredicateModifier and TypeMethodDescriptionDamagePredicate.sourceEntity()Returns the value of thesourceEntityrecord 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.CODECprivate Optional<EntityPredicate> DamageSourcePredicate.Builder.directEntityprivate final Optional<EntityPredicate> DamageSourcePredicate.directEntityThe field for thedirectEntityrecord component.private final Optional<EntityPredicate> LightningBoltPredicate.entityStruckThe field for theentityStruckrecord component.private Optional<EntityPredicate> PlayerPredicate.Builder.lookingAtprivate final Optional<EntityPredicate> PlayerPredicate.lookingAtThe field for thelookingAtrecord component.private Optional<EntityPredicate> EntityPredicate.Builder.passengerprivate final Optional<EntityPredicate> EntityPredicate.passengerThe field for thepassengerrecord component.private Optional<EntityPredicate> DamageSourcePredicate.Builder.sourceEntityprivate final Optional<EntityPredicate> DamageSourcePredicate.sourceEntityThe field for thesourceEntityrecord component.private Optional<EntityPredicate> EntityPredicate.Builder.targetedEntityprivate final Optional<EntityPredicate> EntityPredicate.targetedEntityThe field for thetargetedEntityrecord component.private Optional<EntityPredicate> EntityPredicate.Builder.vehicleprivate final Optional<EntityPredicate> EntityPredicate.vehicleThe field for thevehiclerecord 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 thedirectEntityrecord component.LightningBoltPredicate.entityStruck()Returns the value of theentityStruckrecord component.PlayerPredicate.lookingAt()Returns the value of thelookingAtrecord component.EntityPredicate.passenger()Returns the value of thepassengerrecord component.DamageSourcePredicate.sourceEntity()Returns the value of thesourceEntityrecord component.EntityPredicate.targetedEntity()Returns the value of thetargetedEntityrecord component.EntityPredicate.vehicle()Returns the value of thevehiclerecord component.Methods in net.minecraft.predicate.entity with parameters of type EntityPredicateModifier and TypeMethodDescriptionstatic LootContextPredicateEntityPredicate.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, Optional<Boolean> optional3) LightningBoltPredicate(NumberRange.IntRange blocksSetOnFire, Optional<EntityPredicate> optional) PlayerPredicate(NumberRange.IntRange experienceLevel, GameModeList gameModeList, List<PlayerPredicate.StatMatcher<?>> list, Object2BooleanMap<Identifier> recipes, Map<Identifier, PlayerPredicate.AdvancementPredicate> advancements, Optional<EntityPredicate> optional)