Uses of Class
net.minecraft.advancements.critereon.ContextAwarePredicate
Packages that use ContextAwarePredicate
- 
Uses of ContextAwarePredicate in net.minecraft.advancements.critereonFields in net.minecraft.advancements.critereon with type parameters of type ContextAwarePredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ContextAwarePredicate>EntityPredicate.ADVANCEMENT_CODECprivate final Optional<ContextAwarePredicate>LightningStrikeTrigger.TriggerInstance.bystanderThe field for thebystanderrecord component.private final Optional<ContextAwarePredicate>BredAnimalsTrigger.TriggerInstance.childThe field for thechildrecord component.static final com.mojang.serialization.Codec<ContextAwarePredicate>ContextAwarePredicate.CODECprivate final Optional<ContextAwarePredicate>FishingRodHookedTrigger.TriggerInstance.entityThe field for theentityrecord component.private final Optional<ContextAwarePredicate>PickedUpItemTrigger.TriggerInstance.entityThe field for theentityrecord component.private final Optional<ContextAwarePredicate>PlayerHurtEntityTrigger.TriggerInstance.entityThe field for theentityrecord component.private final Optional<ContextAwarePredicate>PlayerInteractTrigger.TriggerInstance.entityThe field for theentityrecord component.private final Optional<ContextAwarePredicate>SummonedEntityTrigger.TriggerInstance.entityThe field for theentityrecord component.private final Optional<ContextAwarePredicate>TameAnimalTrigger.TriggerInstance.entityThe field for theentityrecord component.private final Optional<ContextAwarePredicate>KilledTrigger.TriggerInstance.entityPredicateThe field for theentityPredicaterecord component.private final Optional<ContextAwarePredicate>LightningStrikeTrigger.TriggerInstance.lightningThe field for thelightningrecord component.private final Optional<ContextAwarePredicate>ItemUsedOnLocationTrigger.TriggerInstance.locationThe field for thelocationrecord component.private final Optional<ContextAwarePredicate>BredAnimalsTrigger.TriggerInstance.parentThe field for theparentrecord component.private final Optional<ContextAwarePredicate>BredAnimalsTrigger.TriggerInstance.partnerThe field for thepartnerrecord component.private final Optional<ContextAwarePredicate>BeeNestDestroyedTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>BredAnimalsTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>BrewedPotionTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>ChangeDimensionTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>ChanneledLightningTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>ConstructBeaconTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>ConsumeItemTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>CuredZombieVillagerTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>DistanceTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>EffectsChangedTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>EnchantedItemTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>EnterBlockTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>EntityHurtPlayerTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>FilledBucketTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>FishingRodHookedTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>InventoryChangeTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>ItemDurabilityTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>ItemUsedOnLocationTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>KilledByCrossbowTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>KilledTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>LevitationTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>LightningStrikeTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>LootTableTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>PickedUpItemTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>PlayerHurtEntityTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>PlayerInteractTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>PlayerTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>RecipeCraftedTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>RecipeUnlockedTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>ShotCrossbowTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>SlideDownBlockTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>StartRidingTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>SummonedEntityTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>TameAnimalTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>TargetBlockTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>TradeTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>UsedEnderEyeTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>UsedTotemTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>UsingItemTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<ContextAwarePredicate>TargetBlockTrigger.TriggerInstance.projectileThe field for theprojectilerecord component.private final Optional<ContextAwarePredicate>EffectsChangedTrigger.TriggerInstance.sourceThe field for thesourcerecord component.private final List<ContextAwarePredicate>ChanneledLightningTrigger.TriggerInstance.victimsThe field for thevictimsrecord component.private final List<ContextAwarePredicate>KilledByCrossbowTrigger.TriggerInstance.victimsThe field for thevictimsrecord component.private final Optional<ContextAwarePredicate>CuredZombieVillagerTrigger.TriggerInstance.villagerThe field for thevillagerrecord component.private final Optional<ContextAwarePredicate>TradeTrigger.TriggerInstance.villagerThe field for thevillagerrecord component.private final Optional<ContextAwarePredicate>CuredZombieVillagerTrigger.TriggerInstance.zombieThe field for thezombierecord component.Methods in net.minecraft.advancements.critereon that return ContextAwarePredicateModifier and TypeMethodDescriptionstatic ContextAwarePredicateContextAwarePredicate.create(LootItemCondition... p_286844_) static ContextAwarePredicateEntityPredicate.wrap(EntityPredicate p_286570_) static ContextAwarePredicateEntityPredicate.wrap(EntityPredicate.Builder p_298222_) Methods in net.minecraft.advancements.critereon that return types with arguments of type ContextAwarePredicateModifier and TypeMethodDescriptionLightningStrikeTrigger.TriggerInstance.bystander()Returns the value of thebystanderrecord component.BredAnimalsTrigger.TriggerInstance.child()Returns the value of thechildrecord component.FishingRodHookedTrigger.TriggerInstance.entity()Returns the value of theentityrecord component.PickedUpItemTrigger.TriggerInstance.entity()Returns the value of theentityrecord component.PlayerHurtEntityTrigger.TriggerInstance.entity()Returns the value of theentityrecord component.PlayerInteractTrigger.TriggerInstance.entity()Returns the value of theentityrecord component.SummonedEntityTrigger.TriggerInstance.entity()Returns the value of theentityrecord component.TameAnimalTrigger.TriggerInstance.entity()Returns the value of theentityrecord component.KilledTrigger.TriggerInstance.entityPredicate()Returns the value of theentityPredicaterecord component.LightningStrikeTrigger.TriggerInstance.lightning()Returns the value of thelightningrecord component.ItemUsedOnLocationTrigger.TriggerInstance.location()Returns the value of thelocationrecord component.BredAnimalsTrigger.TriggerInstance.parent()Returns the value of theparentrecord component.BredAnimalsTrigger.TriggerInstance.partner()Returns the value of thepartnerrecord component.BeeNestDestroyedTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.BredAnimalsTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.BrewedPotionTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.ChangeDimensionTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.ChanneledLightningTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.ConstructBeaconTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.ConsumeItemTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.CuredZombieVillagerTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.DistanceTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.EffectsChangedTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.EnchantedItemTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.EnterBlockTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.EntityHurtPlayerTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.FilledBucketTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.FishingRodHookedTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.InventoryChangeTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.ItemDurabilityTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.ItemUsedOnLocationTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.KilledByCrossbowTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.KilledTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.LevitationTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.LightningStrikeTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.LootTableTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.PickedUpItemTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.PlayerHurtEntityTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.PlayerInteractTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.PlayerTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.RecipeCraftedTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.RecipeUnlockedTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.ShotCrossbowTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.SimpleCriterionTrigger.SimpleInstance.player()SlideDownBlockTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.StartRidingTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.SummonedEntityTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.TameAnimalTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.TargetBlockTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.TradeTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.UsedEnderEyeTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.UsedTotemTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.UsingItemTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.TargetBlockTrigger.TriggerInstance.projectile()Returns the value of theprojectilerecord component.EffectsChangedTrigger.TriggerInstance.source()Returns the value of thesourcerecord component.ChanneledLightningTrigger.TriggerInstance.victims()Returns the value of thevictimsrecord component.KilledByCrossbowTrigger.TriggerInstance.victims()Returns the value of thevictimsrecord component.CuredZombieVillagerTrigger.TriggerInstance.villager()Returns the value of thevillagerrecord component.TradeTrigger.TriggerInstance.villager()Returns the value of thevillagerrecord component.static Optional<ContextAwarePredicate>EntityPredicate.wrap(Optional<EntityPredicate> p_298604_) static List<ContextAwarePredicate>EntityPredicate.wrap(EntityPredicate.Builder... p_298584_) CuredZombieVillagerTrigger.TriggerInstance.zombie()Returns the value of thezombierecord component.Methods in net.minecraft.advancements.critereon with parameters of type ContextAwarePredicateModifier and TypeMethodDescriptionPickedUpItemTrigger.TriggerInstance.thrownItemPickedUpByEntity(ContextAwarePredicate p_286865_, Optional<ItemPredicate> p_299099_, Optional<ContextAwarePredicate> p_299117_) voidCriterionValidator.validate(ContextAwarePredicate p_312318_, LootContextParamSet p_312478_, String p_312401_) voidCriterionValidator.validateEntity(ContextAwarePredicate p_311775_, String p_311914_) Method parameters in net.minecraft.advancements.critereon with type arguments of type ContextAwarePredicateModifier and TypeMethodDescriptionItemDurabilityTrigger.TriggerInstance.changedDurability(Optional<ContextAwarePredicate> p_299196_, Optional<ItemPredicate> p_299039_, MinMaxBounds.Ints p_286730_) PlayerInteractTrigger.TriggerInstance.itemUsedOnEntity(Optional<ContextAwarePredicate> p_299056_, ItemPredicate.Builder p_286289_, Optional<ContextAwarePredicate> p_301218_) PlayerInteractTrigger.TriggerInstance.itemUsedOnEntity(ItemPredicate.Builder p_286235_, Optional<ContextAwarePredicate> p_298893_) private static booleanBredAnimalsTrigger.TriggerInstance.matches(Optional<ContextAwarePredicate> p_298925_, LootContext p_298317_) TargetBlockTrigger.TriggerInstance.targetHit(MinMaxBounds.Ints p_286700_, Optional<ContextAwarePredicate> p_298563_) PickedUpItemTrigger.TriggerInstance.thrownItemPickedUpByPlayer(Optional<ContextAwarePredicate> p_298917_, Optional<ItemPredicate> p_298224_, Optional<ContextAwarePredicate> p_298405_) voidCriterionValidator.validate(List<ContextAwarePredicate> p_312108_, LootContextParamSet p_312752_, String p_312670_) voidCriterionValidator.validateEntities(List<ContextAwarePredicate> p_311847_, String p_312485_) voidCriterionValidator.validateEntity(Optional<ContextAwarePredicate> p_312159_, String p_312438_) Constructor parameters in net.minecraft.advancements.critereon with type arguments of type ContextAwarePredicateModifierConstructorDescriptionTriggerInstance(Optional<ContextAwarePredicate> player, Optional<Holder<Block>> block, Optional<ItemPredicate> item, MinMaxBounds.Ints beesInside) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<ContextAwarePredicate> parent, Optional<ContextAwarePredicate> partner, Optional<ContextAwarePredicate> child) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<Holder<Potion>> potion) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<ResourceKey<Level>> from, Optional<ResourceKey<Level>> to) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, List<ContextAwarePredicate> victims) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, List<ContextAwarePredicate> victims) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, MinMaxBounds.Ints level) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<ItemPredicate> item) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<ContextAwarePredicate> zombie, Optional<ContextAwarePredicate> villager) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<LocationPredicate> startPosition, Optional<DistancePredicate> distance) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<MobEffectsPredicate> effects, Optional<ContextAwarePredicate> source) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<ItemPredicate> item, MinMaxBounds.Ints levels) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<Holder<Block>> block, Optional<StatePropertiesPredicate> state) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<DamagePredicate> damage) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<ItemPredicate> item) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<ItemPredicate> rod, Optional<ContextAwarePredicate> entity, Optional<ItemPredicate> item) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, InventoryChangeTrigger.TriggerInstance.Slots slots, List<ItemPredicate> items) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<ItemPredicate> item, MinMaxBounds.Ints durability, MinMaxBounds.Ints delta) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<ContextAwarePredicate> location) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, List<ContextAwarePredicate> victims, MinMaxBounds.Ints uniqueEntityTypes) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, List<ContextAwarePredicate> victims, MinMaxBounds.Ints uniqueEntityTypes) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<ContextAwarePredicate> entityPredicate, Optional<DamageSourcePredicate> killingBlow) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<DistancePredicate> distance, MinMaxBounds.Ints duration) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<ContextAwarePredicate> lightning, Optional<ContextAwarePredicate> bystander) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, ResourceLocation lootTable) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<ItemPredicate> item, Optional<ContextAwarePredicate> entity) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<DamagePredicate> damage, Optional<ContextAwarePredicate> entity) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<ItemPredicate> item, Optional<ContextAwarePredicate> entity) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, ResourceLocation recipeId, List<ItemPredicate> ingredients) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, ResourceLocation recipe) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<ItemPredicate> item) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<Holder<Block>> block, Optional<StatePropertiesPredicate> state) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<ContextAwarePredicate> entity) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<ContextAwarePredicate> entity) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, MinMaxBounds.Ints signalStrength, Optional<ContextAwarePredicate> projectile) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<ContextAwarePredicate> villager, Optional<ItemPredicate> item) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, MinMaxBounds.Doubles distance) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<ItemPredicate> item) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, Optional<ItemPredicate> item) Creates an instance of aTriggerInstancerecord class.
- 
Uses of ContextAwarePredicate in net.minecraft.data.advancements.packsFields in net.minecraft.data.advancements.packs declared as ContextAwarePredicateModifier and TypeFieldDescriptionprivate static final ContextAwarePredicateVanillaNetherAdvancements.DISTRACT_PIGLIN_PLAYER_ARMOR_PREDICATE