Uses of Record Class
net.minecraft.advancements.critereon.EntityPredicate
Packages that use EntityPredicate
Package
Description
-
Uses of EntityPredicate in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon 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.critereon that return EntityPredicateMethods in net.minecraft.advancements.critereon 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.critereon with parameters of type EntityPredicateModifier and TypeMethodDescriptionDamagePredicate.Builder.sourceEntity(EntityPredicate sourceEntity) static ContextAwarePredicateEntityPredicate.wrap(EntityPredicate predicate) Method parameters in net.minecraft.advancements.critereon with type arguments of type EntityPredicateModifier and TypeMethodDescriptionBredAnimalsTrigger.TriggerInstance.bredAnimals(Optional<EntityPredicate> parent, Optional<EntityPredicate> partner, Optional<EntityPredicate> child) KilledTrigger.TriggerInstance.entityKilledPlayer(Optional<EntityPredicate> entityPredicate) KilledTrigger.TriggerInstance.entityKilledPlayer(Optional<EntityPredicate> entityPredicate, Optional<DamageSourcePredicate> killingBlow) KilledTrigger.TriggerInstance.entityKilledPlayer(Optional<EntityPredicate> entityPredicate, DamageSourcePredicate.Builder killingBlow) LightningStrikeTrigger.TriggerInstance.lightningStrike(Optional<EntityPredicate> lightning, Optional<EntityPredicate> bystander) PlayerTrigger.TriggerInstance.located(Optional<EntityPredicate> entity) PlayerHurtEntityTrigger.TriggerInstance.playerHurtEntity(Optional<EntityPredicate> entity) PlayerHurtEntityTrigger.TriggerInstance.playerHurtEntity(DamagePredicate.Builder damage, Optional<EntityPredicate> entity) KilledTrigger.TriggerInstance.playerKilledEntity(Optional<EntityPredicate> entityPredicate) KilledTrigger.TriggerInstance.playerKilledEntity(Optional<EntityPredicate> entityPredicate, Optional<DamageSourcePredicate> killingBlow) KilledTrigger.TriggerInstance.playerKilledEntity(Optional<EntityPredicate> entityPredicate, DamageSourcePredicate.Builder killingBlow) static Optional<ContextAwarePredicate> EntityPredicate.wrap(Optional<EntityPredicate> predicate) Constructor parameters in net.minecraft.advancements.critereon 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, GameTypePredicate gameType, List<PlayerPredicate.StatMatcher<?>> stats, it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceLocation> recipes, Map<ResourceLocation, PlayerPredicate.AdvancementPredicate> advancements, Optional<EntityPredicate> lookingAt) 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 entityPredicate) 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.