Uses of Class
net.minecraft.advancements.critereon.ContextAwarePredicate
Package
Description
Classes for NeoForge's own data generation.
-
Uses of ContextAwarePredicate in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ContextAwarePredicate> EntityPredicate.ADVANCEMENT_CODEC
private final Optional
<ContextAwarePredicate> LightningStrikeTrigger.TriggerInstance.bystander
The field for thebystander
record component.private final Optional
<ContextAwarePredicate> FallAfterExplosionTrigger.TriggerInstance.cause
The field for thecause
record component.private final Optional
<ContextAwarePredicate> BredAnimalsTrigger.TriggerInstance.child
The field for thechild
record component.static final com.mojang.serialization.Codec
<ContextAwarePredicate> ContextAwarePredicate.CODEC
private final Optional
<ContextAwarePredicate> FishingRodHookedTrigger.TriggerInstance.entity
The field for theentity
record component.private final Optional
<ContextAwarePredicate> PickedUpItemTrigger.TriggerInstance.entity
The field for theentity
record component.private final Optional
<ContextAwarePredicate> PlayerHurtEntityTrigger.TriggerInstance.entity
The field for theentity
record component.private final Optional
<ContextAwarePredicate> PlayerInteractTrigger.TriggerInstance.entity
The field for theentity
record component.private final Optional
<ContextAwarePredicate> SummonedEntityTrigger.TriggerInstance.entity
The field for theentity
record component.private final Optional
<ContextAwarePredicate> TameAnimalTrigger.TriggerInstance.entity
The field for theentity
record component.private final Optional
<ContextAwarePredicate> KilledTrigger.TriggerInstance.entityPredicate
The field for theentityPredicate
record component.private final Optional
<ContextAwarePredicate> LightningStrikeTrigger.TriggerInstance.lightning
The field for thelightning
record component.private final Optional
<ContextAwarePredicate> AnyBlockInteractionTrigger.TriggerInstance.location
The field for thelocation
record component.private final Optional
<ContextAwarePredicate> DefaultBlockInteractionTrigger.TriggerInstance.location
The field for thelocation
record component.private final Optional
<ContextAwarePredicate> ItemUsedOnLocationTrigger.TriggerInstance.location
The field for thelocation
record component.private final Optional
<ContextAwarePredicate> BredAnimalsTrigger.TriggerInstance.parent
The field for theparent
record component.private final Optional
<ContextAwarePredicate> BredAnimalsTrigger.TriggerInstance.partner
The field for thepartner
record component.private final Optional
<ContextAwarePredicate> AnyBlockInteractionTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> BeeNestDestroyedTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> BredAnimalsTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> BrewedPotionTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> ChangeDimensionTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> ChanneledLightningTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> ConstructBeaconTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> ConsumeItemTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> CuredZombieVillagerTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> DefaultBlockInteractionTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> DistanceTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> EffectsChangedTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> EnchantedItemTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> EnterBlockTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> EntityHurtPlayerTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> FallAfterExplosionTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> FilledBucketTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> FishingRodHookedTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> InventoryChangeTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> ItemDurabilityTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> ItemUsedOnLocationTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> KilledByCrossbowTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> KilledTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> LevitationTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> LightningStrikeTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> LootTableTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> PickedUpItemTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> PlayerHurtEntityTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> PlayerInteractTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> PlayerTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> RecipeCraftedTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> RecipeUnlockedTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> ShotCrossbowTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> SlideDownBlockTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> StartRidingTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> SummonedEntityTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> TameAnimalTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> TargetBlockTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> TradeTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> UsedEnderEyeTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> UsedTotemTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> UsingItemTrigger.TriggerInstance.player
The field for theplayer
record component.private final Optional
<ContextAwarePredicate> TargetBlockTrigger.TriggerInstance.projectile
The field for theprojectile
record component.private final Optional
<ContextAwarePredicate> EffectsChangedTrigger.TriggerInstance.source
The field for thesource
record component.private final List
<ContextAwarePredicate> ChanneledLightningTrigger.TriggerInstance.victims
The field for thevictims
record component.private final List
<ContextAwarePredicate> KilledByCrossbowTrigger.TriggerInstance.victims
The field for thevictims
record component.private final Optional
<ContextAwarePredicate> CuredZombieVillagerTrigger.TriggerInstance.villager
The field for thevillager
record component.private final Optional
<ContextAwarePredicate> TradeTrigger.TriggerInstance.villager
The field for thevillager
record component.private final Optional
<ContextAwarePredicate> CuredZombieVillagerTrigger.TriggerInstance.zombie
The field for thezombie
record component.Modifier and TypeMethodDescriptionstatic ContextAwarePredicate
ContextAwarePredicate.create
(LootItemCondition... p_286844_) static ContextAwarePredicate
EntityPredicate.wrap
(EntityPredicate p_286570_) static ContextAwarePredicate
EntityPredicate.wrap
(EntityPredicate.Builder p_298222_) Modifier and TypeMethodDescriptionLightningStrikeTrigger.TriggerInstance.bystander()
Returns the value of thebystander
record component.FallAfterExplosionTrigger.TriggerInstance.cause()
Returns the value of thecause
record component.BredAnimalsTrigger.TriggerInstance.child()
Returns the value of thechild
record component.FishingRodHookedTrigger.TriggerInstance.entity()
Returns the value of theentity
record component.PickedUpItemTrigger.TriggerInstance.entity()
Returns the value of theentity
record component.PlayerHurtEntityTrigger.TriggerInstance.entity()
Returns the value of theentity
record component.PlayerInteractTrigger.TriggerInstance.entity()
Returns the value of theentity
record component.SummonedEntityTrigger.TriggerInstance.entity()
Returns the value of theentity
record component.TameAnimalTrigger.TriggerInstance.entity()
Returns the value of theentity
record component.KilledTrigger.TriggerInstance.entityPredicate()
Returns the value of theentityPredicate
record component.LightningStrikeTrigger.TriggerInstance.lightning()
Returns the value of thelightning
record component.AnyBlockInteractionTrigger.TriggerInstance.location()
Returns the value of thelocation
record component.DefaultBlockInteractionTrigger.TriggerInstance.location()
Returns the value of thelocation
record component.ItemUsedOnLocationTrigger.TriggerInstance.location()
Returns the value of thelocation
record component.BredAnimalsTrigger.TriggerInstance.parent()
Returns the value of theparent
record component.BredAnimalsTrigger.TriggerInstance.partner()
Returns the value of thepartner
record component.AnyBlockInteractionTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.BeeNestDestroyedTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.BredAnimalsTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.BrewedPotionTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.ChangeDimensionTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.ChanneledLightningTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.ConstructBeaconTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.ConsumeItemTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.CuredZombieVillagerTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.DefaultBlockInteractionTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.DistanceTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.EffectsChangedTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.EnchantedItemTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.EnterBlockTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.EntityHurtPlayerTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.FallAfterExplosionTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.FilledBucketTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.FishingRodHookedTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.InventoryChangeTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.ItemDurabilityTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.ItemUsedOnLocationTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.KilledByCrossbowTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.KilledTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.LevitationTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.LightningStrikeTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.LootTableTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.PickedUpItemTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.PlayerHurtEntityTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.PlayerInteractTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.PlayerTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.RecipeCraftedTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.RecipeUnlockedTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.ShotCrossbowTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.SimpleCriterionTrigger.SimpleInstance.player()
SlideDownBlockTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.StartRidingTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.SummonedEntityTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.TameAnimalTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.TargetBlockTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.TradeTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.UsedEnderEyeTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.UsedTotemTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.UsingItemTrigger.TriggerInstance.player()
Returns the value of theplayer
record component.TargetBlockTrigger.TriggerInstance.projectile()
Returns the value of theprojectile
record component.EffectsChangedTrigger.TriggerInstance.source()
Returns the value of thesource
record component.ChanneledLightningTrigger.TriggerInstance.victims()
Returns the value of thevictims
record component.KilledByCrossbowTrigger.TriggerInstance.victims()
Returns the value of thevictims
record component.CuredZombieVillagerTrigger.TriggerInstance.villager()
Returns the value of thevillager
record component.TradeTrigger.TriggerInstance.villager()
Returns the value of thevillager
record 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 thezombie
record component.Modifier and TypeMethodDescriptionPickedUpItemTrigger.TriggerInstance.thrownItemPickedUpByEntity
(ContextAwarePredicate p_286865_, Optional<ItemPredicate> p_299099_, Optional<ContextAwarePredicate> p_299117_) void
CriterionValidator.validate
(ContextAwarePredicate p_312318_, LootContextParamSet p_312478_, String p_312401_) void
CriterionValidator.validateEntity
(ContextAwarePredicate p_311775_, String p_311914_) Modifier 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 boolean
BredAnimalsTrigger.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_) void
CriterionValidator.validate
(List<ContextAwarePredicate> p_312108_, LootContextParamSet p_312752_, String p_312670_) void
CriterionValidator.validateEntities
(List<ContextAwarePredicate> p_311847_, String p_312485_) void
CriterionValidator.validateEntity
(Optional<ContextAwarePredicate> p_312159_, String p_312438_) ModifierConstructorDescriptionTriggerInstance
(Optional<ContextAwarePredicate> player, Optional<ContextAwarePredicate> location) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<Holder<Block>> block, Optional<ItemPredicate> item, MinMaxBounds.Ints beesInside) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<ContextAwarePredicate> parent, Optional<ContextAwarePredicate> partner, Optional<ContextAwarePredicate> child) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<Holder<Potion>> potion) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<ResourceKey<Level>> from, Optional<ResourceKey<Level>> to) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, List<ContextAwarePredicate> victims) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, List<ContextAwarePredicate> victims) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, MinMaxBounds.Ints level) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<ItemPredicate> item) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<ContextAwarePredicate> zombie, Optional<ContextAwarePredicate> villager) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<ContextAwarePredicate> location) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<LocationPredicate> startPosition, Optional<DistancePredicate> distance) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<MobEffectsPredicate> effects, Optional<ContextAwarePredicate> source) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<ItemPredicate> item, MinMaxBounds.Ints levels) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<Holder<Block>> block, Optional<StatePropertiesPredicate> state) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<DamagePredicate> damage) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<LocationPredicate> startPosition, Optional<DistancePredicate> distance, Optional<ContextAwarePredicate> cause) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<ItemPredicate> item) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<ItemPredicate> rod, Optional<ContextAwarePredicate> entity, Optional<ItemPredicate> item) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, InventoryChangeTrigger.TriggerInstance.Slots slots, List<ItemPredicate> items) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<ItemPredicate> item, MinMaxBounds.Ints durability, MinMaxBounds.Ints delta) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<ContextAwarePredicate> location) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, List<ContextAwarePredicate> victims, MinMaxBounds.Ints uniqueEntityTypes) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, List<ContextAwarePredicate> victims, MinMaxBounds.Ints uniqueEntityTypes) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<ContextAwarePredicate> entityPredicate, Optional<DamageSourcePredicate> killingBlow) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<DistancePredicate> distance, MinMaxBounds.Ints duration) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<ContextAwarePredicate> lightning, Optional<ContextAwarePredicate> bystander) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, ResourceKey<LootTable> lootTable) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<ItemPredicate> item, Optional<ContextAwarePredicate> entity) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<DamagePredicate> damage, Optional<ContextAwarePredicate> entity) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<ItemPredicate> item, Optional<ContextAwarePredicate> entity) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, ResourceLocation recipeId, List<ItemPredicate> ingredients) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, ResourceLocation recipe) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<ItemPredicate> item) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<Holder<Block>> block, Optional<StatePropertiesPredicate> state) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<ContextAwarePredicate> entity) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<ContextAwarePredicate> entity) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, MinMaxBounds.Ints signalStrength, Optional<ContextAwarePredicate> projectile) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<ContextAwarePredicate> villager, Optional<ItemPredicate> item) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, MinMaxBounds.Doubles distance) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<ItemPredicate> item) Creates an instance of aTriggerInstance
record class.TriggerInstance
(Optional<ContextAwarePredicate> player, Optional<ItemPredicate> item) Creates an instance of aTriggerInstance
record class. -
Uses of ContextAwarePredicate in net.minecraft.data.advancements.packs
Modifier and TypeFieldDescriptionprivate static final ContextAwarePredicate
VanillaNetherAdvancements.DISTRACT_PIGLIN_PLAYER_ARMOR_PREDICATE
-
Uses of ContextAwarePredicate in net.neoforged.neoforge.common.data.internal
Modifier and TypeMethodDescriptionprivate static @Nullable ContextAwarePredicate
NeoForgeAdvancementProvider.replaceConditions
(@Nullable ContextAwarePredicate basePredicate, UnaryOperator<LootItemCondition> replacer, Predicate<LootItemCondition> shouldSkipReplacement) Modifier and TypeMethodDescriptionprivate static @Nullable ContextAwarePredicate
NeoForgeAdvancementProvider.replaceConditions
(@Nullable ContextAwarePredicate basePredicate, UnaryOperator<LootItemCondition> replacer, Predicate<LootItemCondition> shouldSkipReplacement) private static <T extends SimpleCriterionTrigger.SimpleInstance>
Criterion<T> NeoForgeAdvancementProvider.replacePlayerPredicate
(Criterion<T> old, ContextAwarePredicate newPlayer, HolderLookup.Provider registries)