Uses of Class
net.minecraft.advancements.critereon.ContextAwarePredicate
-
Uses of ContextAwarePredicate in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionprivate final Optional<ContextAwarePredicate>
LightningStrikeTrigger.TriggerInstance.bystander
private final Optional<ContextAwarePredicate>
BredAnimalsTrigger.TriggerInstance.child
private final Optional<ContextAwarePredicate>
FishingRodHookedTrigger.TriggerInstance.entity
private final Optional<ContextAwarePredicate>
PickedUpItemTrigger.TriggerInstance.entity
private final Optional<ContextAwarePredicate>
PlayerHurtEntityTrigger.TriggerInstance.entity
private final Optional<ContextAwarePredicate>
PlayerInteractTrigger.TriggerInstance.entity
private final Optional<ContextAwarePredicate>
SummonedEntityTrigger.TriggerInstance.entity
private final Optional<ContextAwarePredicate>
TameAnimalTrigger.TriggerInstance.entity
private final Optional<ContextAwarePredicate>
KilledTrigger.TriggerInstance.entityPredicate
private final Optional<ContextAwarePredicate>
LightningStrikeTrigger.TriggerInstance.lightning
private final Optional<ContextAwarePredicate>
ItemUsedOnLocationTrigger.TriggerInstance.location
private final Optional<ContextAwarePredicate>
BredAnimalsTrigger.TriggerInstance.parent
private final Optional<ContextAwarePredicate>
BredAnimalsTrigger.TriggerInstance.partner
private final Optional<ContextAwarePredicate>
AbstractCriterionTriggerInstance.player
private final Optional<ContextAwarePredicate>
TargetBlockTrigger.TriggerInstance.projectile
private final Optional<ContextAwarePredicate>
EffectsChangedTrigger.TriggerInstance.source
private final List<ContextAwarePredicate>
ChanneledLightningTrigger.TriggerInstance.victims
private final List<ContextAwarePredicate>
KilledByCrossbowTrigger.TriggerInstance.victims
private final Optional<ContextAwarePredicate>
CuredZombieVillagerTrigger.TriggerInstance.villager
private final Optional<ContextAwarePredicate>
TradeTrigger.TriggerInstance.villager
private final Optional<ContextAwarePredicate>
CuredZombieVillagerTrigger.TriggerInstance.zombie
Modifier and TypeMethodDescriptionstatic ContextAwarePredicate
ContextAwarePredicate.create
(LootItemCondition... p_286844_) static ContextAwarePredicate
EntityPredicate.wrap
(EntityPredicate p_286570_) static ContextAwarePredicate
EntityPredicate.wrap
(EntityPredicate.Builder p_298584_) Modifier and TypeMethodDescriptionstatic Optional<Optional<ContextAwarePredicate>>
ContextAwarePredicate.fromElement
(String p_286647_, DeserializationContext p_286323_, com.google.gson.JsonElement p_286520_, LootContextParamSet p_286912_) private static Optional<ContextAwarePredicate>
EntityPredicate.fromElement
(String p_286569_, DeserializationContext p_286821_, com.google.gson.JsonElement p_286582_) static Optional<ContextAwarePredicate>
EntityPredicate.fromJson
(com.google.gson.JsonObject p_300195_, String p_297866_, DeserializationContext p_301262_) static List<ContextAwarePredicate>
EntityPredicate.fromJsonArray
(com.google.gson.JsonObject p_286850_, String p_286682_, DeserializationContext p_286876_) AbstractCriterionTriggerInstance.playerPredicate()
SimpleCriterionTrigger.SimpleInstance.playerPredicate()
static Optional<ContextAwarePredicate>
EntityPredicate.wrap
(Optional<EntityPredicate> p_300980_) static List<ContextAwarePredicate>
EntityPredicate.wrap
(EntityPredicate.Builder... p_299692_) Modifier and TypeMethodDescriptionPickedUpItemTrigger.TriggerInstance.thrownItemPickedUpByEntity
(ContextAwarePredicate p_286865_, Optional<ItemPredicate> p_297283_, Optional<ContextAwarePredicate> p_300033_) Modifier and TypeMethodDescriptionItemDurabilityTrigger.TriggerInstance.changedDurability
(Optional<ContextAwarePredicate> p_299530_, Optional<ItemPredicate> p_300893_, MinMaxBounds.Ints p_286730_) BeeNestDestroyedTrigger.createInstance
(com.google.gson.JsonObject p_286717_, Optional<ContextAwarePredicate> p_297471_, DeserializationContext p_286840_) BredAnimalsTrigger.createInstance
(com.google.gson.JsonObject p_286232_, Optional<ContextAwarePredicate> p_297942_, DeserializationContext p_286439_) BrewedPotionTrigger.createInstance
(com.google.gson.JsonObject p_286714_, Optional<ContextAwarePredicate> p_297940_, DeserializationContext p_286329_) ChangeDimensionTrigger.createInstance
(com.google.gson.JsonObject p_19762_, Optional<ContextAwarePredicate> p_299300_, DeserializationContext p_19764_) ChanneledLightningTrigger.createInstance
(com.google.gson.JsonObject p_286659_, Optional<ContextAwarePredicate> p_298475_, DeserializationContext p_286807_) ConstructBeaconTrigger.createInstance
(com.google.gson.JsonObject p_286465_, Optional<ContextAwarePredicate> p_300541_, DeserializationContext p_286803_) ConsumeItemTrigger.createInstance
(com.google.gson.JsonObject p_286664_, Optional<ContextAwarePredicate> p_297606_, DeserializationContext p_286347_) CuredZombieVillagerTrigger.createInstance
(com.google.gson.JsonObject p_286832_, Optional<ContextAwarePredicate> p_298928_, DeserializationContext p_286335_) DistanceTrigger.createInstance
(com.google.gson.JsonObject p_286885_, Optional<ContextAwarePredicate> p_297431_, DeserializationContext p_286678_) EffectsChangedTrigger.createInstance
(com.google.gson.JsonObject p_286725_, Optional<ContextAwarePredicate> p_299627_, DeserializationContext p_286737_) EnchantedItemTrigger.createInstance
(com.google.gson.JsonObject p_286360_, Optional<ContextAwarePredicate> p_298290_, DeserializationContext p_286441_) EnterBlockTrigger.createInstance
(com.google.gson.JsonObject p_286490_, Optional<ContextAwarePredicate> p_297383_, DeserializationContext p_286764_) EntityHurtPlayerTrigger.createInstance
(com.google.gson.JsonObject p_286430_, Optional<ContextAwarePredicate> p_299973_, DeserializationContext p_286648_) FilledBucketTrigger.createInstance
(com.google.gson.JsonObject p_286377_, Optional<ContextAwarePredicate> p_298249_, DeserializationContext p_286801_) FishingRodHookedTrigger.createInstance
(com.google.gson.JsonObject p_286600_, Optional<ContextAwarePredicate> p_299123_, DeserializationContext p_286299_) InventoryChangeTrigger.createInstance
(com.google.gson.JsonObject p_286735_, Optional<ContextAwarePredicate> p_300177_, DeserializationContext p_286698_) ItemDurabilityTrigger.createInstance
(com.google.gson.JsonObject p_286693_, Optional<ContextAwarePredicate> p_299057_, DeserializationContext p_286352_) ItemUsedOnLocationTrigger.createInstance
(com.google.gson.JsonObject p_286237_, Optional<ContextAwarePredicate> p_299215_, DeserializationContext p_286513_) KilledByCrossbowTrigger.createInstance
(com.google.gson.JsonObject p_286674_, Optional<ContextAwarePredicate> p_299181_, DeserializationContext p_286778_) KilledTrigger.createInstance
(com.google.gson.JsonObject p_286846_, Optional<ContextAwarePredicate> p_298055_, DeserializationContext p_286257_) LevitationTrigger.createInstance
(com.google.gson.JsonObject p_286359_, Optional<ContextAwarePredicate> p_301100_, DeserializationContext p_286241_) LightningStrikeTrigger.createInstance
(com.google.gson.JsonObject p_286889_, Optional<ContextAwarePredicate> p_301355_, DeserializationContext p_286384_) protected LootTableTrigger.TriggerInstance
LootTableTrigger.createInstance
(com.google.gson.JsonObject p_286915_, Optional<ContextAwarePredicate> p_301229_, DeserializationContext p_286891_) protected PickedUpItemTrigger.TriggerInstance
PickedUpItemTrigger.createInstance
(com.google.gson.JsonObject p_286503_, Optional<ContextAwarePredicate> p_299166_, DeserializationContext p_286658_) PlayerHurtEntityTrigger.createInstance
(com.google.gson.JsonObject p_286442_, Optional<ContextAwarePredicate> p_300807_, DeserializationContext p_286750_) protected PlayerInteractTrigger.TriggerInstance
PlayerInteractTrigger.createInstance
(com.google.gson.JsonObject p_286758_, Optional<ContextAwarePredicate> p_299829_, DeserializationContext p_286859_) PlayerTrigger.createInstance
(com.google.gson.JsonObject p_286911_, Optional<ContextAwarePredicate> p_301362_, DeserializationContext p_286261_) protected RecipeCraftedTrigger.TriggerInstance
RecipeCraftedTrigger.createInstance
(com.google.gson.JsonObject p_286751_, Optional<ContextAwarePredicate> p_298511_, DeserializationContext p_286668_) RecipeUnlockedTrigger.createInstance
(com.google.gson.JsonObject p_286387_, Optional<ContextAwarePredicate> p_297944_, DeserializationContext p_286649_) ShotCrossbowTrigger.createInstance
(com.google.gson.JsonObject p_286726_, Optional<ContextAwarePredicate> p_300212_, DeserializationContext p_286701_) protected abstract T
SimpleCriterionTrigger.createInstance
(com.google.gson.JsonObject p_66248_, Optional<ContextAwarePredicate> p_297533_, DeserializationContext p_66250_) SlideDownBlockTrigger.createInstance
(com.google.gson.JsonObject p_286879_, Optional<ContextAwarePredicate> p_299674_, DeserializationContext p_286581_) StartRidingTrigger.createInstance
(com.google.gson.JsonObject p_286869_, Optional<ContextAwarePredicate> p_297674_, DeserializationContext p_286559_) SummonedEntityTrigger.createInstance
(com.google.gson.JsonObject p_286898_, Optional<ContextAwarePredicate> p_301005_, DeserializationContext p_286829_) TameAnimalTrigger.createInstance
(com.google.gson.JsonObject p_286910_, Optional<ContextAwarePredicate> p_300230_, DeserializationContext p_286732_) TargetBlockTrigger.createInstance
(com.google.gson.JsonObject p_286796_, Optional<ContextAwarePredicate> p_301053_, DeserializationContext p_286418_) TradeTrigger.createInstance
(com.google.gson.JsonObject p_286654_, Optional<ContextAwarePredicate> p_298851_, DeserializationContext p_286772_) UsedEnderEyeTrigger.createInstance
(com.google.gson.JsonObject p_286861_, Optional<ContextAwarePredicate> p_300695_, DeserializationContext p_286916_) UsedTotemTrigger.createInstance
(com.google.gson.JsonObject p_286841_, Optional<ContextAwarePredicate> p_299653_, DeserializationContext p_286414_) UsingItemTrigger.createInstance
(com.google.gson.JsonObject p_286642_, Optional<ContextAwarePredicate> p_300027_, DeserializationContext p_286897_) PlayerInteractTrigger.TriggerInstance.itemUsedOnEntity
(Optional<ContextAwarePredicate> p_297673_, ItemPredicate.Builder p_286235_, Optional<ContextAwarePredicate> p_301321_) PlayerInteractTrigger.TriggerInstance.itemUsedOnEntity
(ItemPredicate.Builder p_286289_, Optional<ContextAwarePredicate> p_297754_) private static boolean
BredAnimalsTrigger.TriggerInstance.matches
(Optional<ContextAwarePredicate> p_300266_, LootContext p_300903_) TargetBlockTrigger.TriggerInstance.targetHit
(MinMaxBounds.Ints p_286700_, Optional<ContextAwarePredicate> p_299065_) PickedUpItemTrigger.TriggerInstance.thrownItemPickedUpByPlayer
(Optional<ContextAwarePredicate> p_299013_, Optional<ItemPredicate> p_299788_, Optional<ContextAwarePredicate> p_299814_) static com.google.gson.JsonElement
ContextAwarePredicate.toJson
(List<ContextAwarePredicate> p_298375_) ModifierConstructorDescriptionTriggerInstance
(Optional<ContextAwarePredicate> p_299887_, Block p_286264_, Optional<ItemPredicate> p_300755_, MinMaxBounds.Ints p_286574_) TriggerInstance
(Optional<ContextAwarePredicate> p_300648_, Optional<ContextAwarePredicate> p_299824_, Optional<ContextAwarePredicate> p_299138_, Optional<ContextAwarePredicate> p_297646_) TriggerInstance
(Optional<ContextAwarePredicate> p_297968_, Potion p_286830_) TriggerInstance
(Optional<ContextAwarePredicate> p_297290_, ResourceKey<Level> p_286585_, ResourceKey<Level> p_286666_) TriggerInstance
(Optional<ContextAwarePredicate> p_301216_, List<ContextAwarePredicate> p_299482_) TriggerInstance
(Optional<ContextAwarePredicate> p_301216_, List<ContextAwarePredicate> p_299482_) TriggerInstance
(Optional<ContextAwarePredicate> p_297785_, MinMaxBounds.Ints p_286272_) TriggerInstance
(Optional<ContextAwarePredicate> p_297633_, Optional<ItemPredicate> p_298856_) TriggerInstance
(Optional<ContextAwarePredicate> p_300542_, Optional<ContextAwarePredicate> p_298691_, Optional<ContextAwarePredicate> p_301026_) TriggerInstance
(Optional<ContextAwarePredicate> p_299242_, Optional<LocationPredicate> p_300746_, Optional<DistancePredicate> p_300813_) TriggerInstance
(Optional<ContextAwarePredicate> p_297502_, Optional<MobEffectsPredicate> p_298484_, Optional<ContextAwarePredicate> p_298058_) TriggerInstance
(Optional<ContextAwarePredicate> p_299804_, Optional<ItemPredicate> p_297635_, MinMaxBounds.Ints p_286367_) TriggerInstance
(Optional<ContextAwarePredicate> p_300383_, Block p_286517_, Optional<StatePropertiesPredicate> p_299345_) TriggerInstance
(Optional<ContextAwarePredicate> p_300601_, Optional<DamagePredicate> p_300289_) TriggerInstance
(Optional<ContextAwarePredicate> p_298716_, Optional<ItemPredicate> p_300324_) TriggerInstance
(Optional<ContextAwarePredicate> p_297705_, Optional<ItemPredicate> p_298398_, Optional<ContextAwarePredicate> p_297250_, Optional<ItemPredicate> p_298108_) TriggerInstance
(Optional<ContextAwarePredicate> p_300026_, MinMaxBounds.Ints p_286313_, MinMaxBounds.Ints p_286767_, MinMaxBounds.Ints p_286601_, List<ItemPredicate> p_297907_) TriggerInstance
(Optional<ContextAwarePredicate> p_300271_, Optional<ItemPredicate> p_297485_, MinMaxBounds.Ints p_286431_, MinMaxBounds.Ints p_286460_) TriggerInstance
(Optional<ContextAwarePredicate> p_298608_, Optional<ContextAwarePredicate> p_297399_) TriggerInstance
(Optional<ContextAwarePredicate> p_297734_, List<ContextAwarePredicate> p_299724_, MinMaxBounds.Ints p_286571_) TriggerInstance
(Optional<ContextAwarePredicate> p_297734_, List<ContextAwarePredicate> p_299724_, MinMaxBounds.Ints p_286571_) TriggerInstance
(Optional<ContextAwarePredicate> p_300998_, Optional<ContextAwarePredicate> p_300514_, Optional<DamageSourcePredicate> p_297546_) TriggerInstance
(Optional<ContextAwarePredicate> p_298212_, Optional<DistancePredicate> p_301220_, MinMaxBounds.Ints p_286676_) TriggerInstance
(Optional<ContextAwarePredicate> p_299191_, Optional<ContextAwarePredicate> p_297442_, Optional<ContextAwarePredicate> p_299715_) TriggerInstance
(Optional<ContextAwarePredicate> p_299470_, ResourceLocation p_286434_) TriggerInstance
(Optional<ContextAwarePredicate> p_301295_, Optional<ItemPredicate> p_299626_, Optional<ContextAwarePredicate> p_299252_) TriggerInstance
(Optional<ContextAwarePredicate> p_300113_, Optional<DamagePredicate> p_298656_, Optional<ContextAwarePredicate> p_298604_) TriggerInstance
(Optional<ContextAwarePredicate> p_298930_, Optional<ItemPredicate> p_300805_, Optional<ContextAwarePredicate> p_299935_) TriggerInstance
(Optional<ContextAwarePredicate> p_298732_) TriggerInstance
(Optional<ContextAwarePredicate> p_300694_, ResourceLocation p_286906_, List<ItemPredicate> p_286302_) TriggerInstance
(Optional<ContextAwarePredicate> p_298222_, ResourceLocation p_286775_) TriggerInstance
(Optional<ContextAwarePredicate> p_297452_, Optional<ItemPredicate> p_301333_) TriggerInstance
(Optional<ContextAwarePredicate> p_298687_, Block p_286622_, Optional<StatePropertiesPredicate> p_297865_) TriggerInstance
(Optional<ContextAwarePredicate> p_300369_) TriggerInstance
(Optional<ContextAwarePredicate> p_298549_, Optional<ContextAwarePredicate> p_297625_) TriggerInstance
(Optional<ContextAwarePredicate> p_298799_, Optional<ContextAwarePredicate> p_299073_) TriggerInstance
(Optional<ContextAwarePredicate> p_300415_, MinMaxBounds.Ints p_286505_, Optional<ContextAwarePredicate> p_297232_) TriggerInstance
(Optional<ContextAwarePredicate> p_300551_, Optional<ContextAwarePredicate> p_298281_, Optional<ItemPredicate> p_297475_) TriggerInstance
(Optional<ContextAwarePredicate> p_298303_, MinMaxBounds.Doubles p_286810_) TriggerInstance
(Optional<ContextAwarePredicate> p_297919_, Optional<ItemPredicate> p_297826_) TriggerInstance
(Optional<ContextAwarePredicate> p_297819_, Optional<ItemPredicate> p_300680_) -
Uses of ContextAwarePredicate in net.minecraft.data.advancements.packs
Modifier and TypeFieldDescriptionprivate static final ContextAwarePredicate
VanillaNetherAdvancements.DISTRACT_PIGLIN_PLAYER_ARMOR_PREDICATE