Uses of Class
net.minecraft.advancements.predicates.entity.EntityPredicate
Packages that use EntityPredicate
Package
Description
Classes for NeoForge's own data generation.
-
Uses of EntityPredicate in net.minecraft.advancements.predicates
Fields in net.minecraft.advancements.predicates with type parameters of type EntityPredicateModifier and TypeFieldDescriptionprivate Optional<EntityPredicate> DamageSourcePredicate.Builder.directEntityprivate final Optional<EntityPredicate> DamageSourcePredicate.directEntityThe field for thedirectEntityrecord component.private Optional<EntityPredicate> DamagePredicate.Builder.sourceEntityprivate final Optional<EntityPredicate> DamagePredicate.sourceEntityThe field for thesourceEntityrecord component.private Optional<EntityPredicate> DamageSourcePredicate.Builder.sourceEntityprivate final Optional<EntityPredicate> DamageSourcePredicate.sourceEntityThe field for thesourceEntityrecord component.Methods in net.minecraft.advancements.predicates that return types with arguments of type EntityPredicateModifier and TypeMethodDescriptionDamageSourcePredicate.directEntity()Returns the value of thedirectEntityrecord component.DamagePredicate.sourceEntity()Returns the value of thesourceEntityrecord component.DamageSourcePredicate.sourceEntity()Returns the value of thesourceEntityrecord component.Methods in net.minecraft.advancements.predicates with parameters of type EntityPredicateModifier and TypeMethodDescriptionDamagePredicate.Builder.sourceEntity(EntityPredicate sourceEntity) Constructor parameters in net.minecraft.advancements.predicates with type arguments of type EntityPredicateModifierConstructorDescriptionDamagePredicate(MinMaxBounds.Doubles dealtDamage, MinMaxBounds.Doubles takenDamage, Optional<EntityPredicate> sourceEntity, Optional<Boolean> blocked, Optional<DamageSourcePredicate> type) Creates an instance of aDamagePredicaterecord class.DamageSourcePredicate(List<TagPredicate<DamageType>> tags, Optional<EntityPredicate> directEntity, Optional<EntityPredicate> sourceEntity, Optional<Boolean> isDirect) Creates an instance of aDamageSourcePredicaterecord class. -
Uses of EntityPredicate in net.minecraft.advancements.predicates.entity
Fields in net.minecraft.advancements.predicates.entity declared as EntityPredicateModifier and TypeFieldDescriptionprivate final EntityPredicatePassengerPredicate.passengerThe field for thepassengerrecord component.private final EntityPredicateTargetedEntityPredicate.targetedEntityThe field for thetargetedEntityrecord component.private final EntityPredicateVehiclePredicate.vehicleThe field for thevehiclerecord component.Fields in net.minecraft.advancements.predicates.entity with type parameters of type EntityPredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<EntityPredicate> EntityPredicate.CODECprivate final Optional<EntityPredicate> LightningBoltPredicate.entityStruckThe field for theentityStruckrecord component.private Optional<EntityPredicate> PlayerPredicate.Builder.lookingAtprivate final Optional<EntityPredicate> PlayerPredicate.lookingAtThe field for thelookingAtrecord component.Methods in net.minecraft.advancements.predicates.entity that return EntityPredicateModifier and TypeMethodDescriptionEntityPredicate.Builder.build()PassengerPredicate.passenger()Returns the value of thepassengerrecord component.TargetedEntityPredicate.targetedEntity()Returns the value of thetargetedEntityrecord component.VehiclePredicate.vehicle()Returns the value of thevehiclerecord component.Methods in net.minecraft.advancements.predicates.entity that return types with arguments of type EntityPredicateModifier and TypeMethodDescriptionLightningBoltPredicate.entityStruck()Returns the value of theentityStruckrecord component.PlayerPredicate.lookingAt()Returns the value of thelookingAtrecord component.Methods in net.minecraft.advancements.predicates.entity with parameters of type EntityPredicateModifier and TypeMethodDescriptionstatic EntityPredicate.BuilderEntityPredicate.Builder.from(EntityPredicate predicate, Predicate<com.mojang.serialization.Codec<? extends EntitySubPredicate>> filter) Neo: create a builder that inherits all sub-predicates from the givenpredicate, that match the givenfilter.static ContextAwarePredicateEntityPredicate.wrap(EntityPredicate singlePredicate) Method parameters in net.minecraft.advancements.predicates.entity with type arguments of type EntityPredicateModifier and TypeMethodDescriptionstatic Optional<ContextAwarePredicate> EntityPredicate.wrap(Optional<EntityPredicate> singlePredicate) Constructors in net.minecraft.advancements.predicates.entity with parameters of type EntityPredicateModifierConstructorDescriptionPassengerPredicate(EntityPredicate passenger) Creates an instance of aPassengerPredicaterecord class.TargetedEntityPredicate(EntityPredicate targetedEntity) Creates an instance of aTargetedEntityPredicaterecord class.VehiclePredicate(EntityPredicate vehicle) Creates an instance of aVehiclePredicaterecord class.Constructor parameters in net.minecraft.advancements.predicates.entity with type arguments of type EntityPredicateModifierConstructorDescriptionLightningBoltPredicate(MinMaxBounds.Ints blocksSetOnFire, Optional<EntityPredicate> entityStruck) Creates an instance of aLightningBoltPredicaterecord class.PlayerPredicate(MinMaxBounds.Ints level, FoodPredicate food, GameTypePredicate gameType, List<PlayerPredicate.StatMatcher<?>> stats, it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceKey<Recipe<?>>> recipes, Map<Identifier, PlayerPredicate.AdvancementPredicate> advancements, Optional<EntityPredicate> lookingAt, Optional<InputPredicate> input) Creates an instance of aPlayerPredicaterecord class. -
Uses of EntityPredicate in net.minecraft.advancements.triggers
Method parameters in net.minecraft.advancements.triggers with type arguments of type EntityPredicateModifier and TypeMethodDescriptionBredAnimalsTrigger.TriggerInstance.bredAnimals(Optional<EntityPredicate> parent1, Optional<EntityPredicate> parent2, Optional<EntityPredicate> child) KilledTrigger.TriggerInstance.entityKilledPlayer(Optional<EntityPredicate> entity) KilledTrigger.TriggerInstance.entityKilledPlayer(Optional<EntityPredicate> entity, Optional<DamageSourcePredicate> killingBlow) KilledTrigger.TriggerInstance.entityKilledPlayer(Optional<EntityPredicate> entity, DamageSourcePredicate.Builder killingBlow) LightningStrikeTrigger.TriggerInstance.lightningStrike(Optional<EntityPredicate> lightning, Optional<EntityPredicate> bystander) PlayerTrigger.TriggerInstance.located(Optional<EntityPredicate> player) PlayerHurtEntityTrigger.TriggerInstance.playerHurtEntity(Optional<EntityPredicate> entity) PlayerHurtEntityTrigger.TriggerInstance.playerHurtEntity(DamagePredicate.Builder damage, Optional<EntityPredicate> entity) KilledTrigger.TriggerInstance.playerKilledEntity(Optional<EntityPredicate> entity) KilledTrigger.TriggerInstance.playerKilledEntity(Optional<EntityPredicate> entity, Optional<DamageSourcePredicate> killingBlow) KilledTrigger.TriggerInstance.playerKilledEntity(Optional<EntityPredicate> entity, DamageSourcePredicate.Builder killingBlow) -
Uses of EntityPredicate in net.minecraft.data.advancements.packs
Method parameters in net.minecraft.data.advancements.packs with type arguments of type EntityPredicateModifier and TypeMethodDescriptionprivate static Criterion<LightningStrikeTrigger.TriggerInstance> VanillaAdventureAdvancements.fireCountAndBystander(MinMaxBounds.Ints fireCount, Optional<EntityPredicate> bystander) -
Uses of EntityPredicate in net.minecraft.world.level.storage.loot.predicates
Fields in net.minecraft.world.level.storage.loot.predicates with type parameters of type EntityPredicateModifier and TypeFieldDescriptionprivate final Optional<EntityPredicate> LootItemEntityPropertyCondition.predicateThe field for thepredicaterecord component.Methods in net.minecraft.world.level.storage.loot.predicates that return types with arguments of type EntityPredicateModifier and TypeMethodDescriptionLootItemEntityPropertyCondition.predicate()Returns the value of thepredicaterecord component.Methods in net.minecraft.world.level.storage.loot.predicates with parameters of type EntityPredicateModifier and TypeMethodDescriptionstatic LootItemCondition.BuilderLootItemEntityPropertyCondition.hasProperties(LootContext.EntityTarget target, EntityPredicate predicate) Constructor parameters in net.minecraft.world.level.storage.loot.predicates with type arguments of type EntityPredicateModifierConstructorDescriptionLootItemEntityPropertyCondition(Optional<EntityPredicate> predicate, LootContext.EntityTarget entityTarget) Creates an instance of aLootItemEntityPropertyConditionrecord class. -
Uses of EntityPredicate in net.neoforged.neoforge.common.data.internal
Fields in net.neoforged.neoforge.common.data.internal declared as EntityPredicateModifier and TypeFieldDescriptionprivate final EntityPredicateNeoForgeAdvancementProvider.EntityPredicateReplacementHelper.sourceMethods in net.neoforged.neoforge.common.data.internal that return EntityPredicateModifier and TypeMethodDescriptionNeoForgeAdvancementProvider.EntityPredicateReplacementHelper.create()Constructors in net.neoforged.neoforge.common.data.internal with parameters of type EntityPredicate