Uses of Record Class
net.minecraft.advancements.criterion.EntityPredicate
Packages that use EntityPredicate
Package
Description
Classes for NeoForge's own data generation.
-
Uses of EntityPredicate in net.minecraft.advancements.criterion
Fields in net.minecraft.advancements.criterion 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> 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.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.advancements.criterion that return EntityPredicateMethods in net.minecraft.advancements.criterion 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.DamagePredicate.sourceEntity()Returns the value of thesourceEntityrecord 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.advancements.criterion with parameters of type EntityPredicateModifier and TypeMethodDescriptionDamagePredicate.Builder.sourceEntity(EntityPredicate sourceEntity) static ContextAwarePredicateEntityPredicate.wrap(EntityPredicate singlePredicate) Method parameters in net.minecraft.advancements.criterion 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) static Optional<ContextAwarePredicate> EntityPredicate.wrap(Optional<EntityPredicate> singlePredicate) Constructor parameters in net.minecraft.advancements.criterion 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.LightningBoltPredicate(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.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