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_298222_) 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_298349_, String p_298941_, DeserializationContext p_298425_) 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_298604_) static List<ContextAwarePredicate>
EntityPredicate.wrap
(EntityPredicate.Builder... p_298584_) Modifier and TypeMethodDescriptionPickedUpItemTrigger.TriggerInstance.thrownItemPickedUpByEntity
(ContextAwarePredicate p_286865_, Optional<ItemPredicate> p_299099_, Optional<ContextAwarePredicate> p_299117_) Modifier and TypeMethodDescriptionItemDurabilityTrigger.TriggerInstance.changedDurability
(Optional<ContextAwarePredicate> p_299196_, Optional<ItemPredicate> p_299039_, MinMaxBounds.Ints p_286730_) BeeNestDestroyedTrigger.createInstance
(com.google.gson.JsonObject p_286717_, Optional<ContextAwarePredicate> p_298838_, DeserializationContext p_286840_) BredAnimalsTrigger.createInstance
(com.google.gson.JsonObject p_286457_, Optional<ContextAwarePredicate> p_298342_, DeserializationContext p_286849_) BrewedPotionTrigger.createInstance
(com.google.gson.JsonObject p_286606_, Optional<ContextAwarePredicate> p_299076_, DeserializationContext p_286605_) ChangeDimensionTrigger.createInstance
(com.google.gson.JsonObject p_19762_, Optional<ContextAwarePredicate> p_298964_, DeserializationContext p_19764_) ChanneledLightningTrigger.createInstance
(com.google.gson.JsonObject p_286858_, Optional<ContextAwarePredicate> p_298267_, DeserializationContext p_286562_) ConstructBeaconTrigger.createInstance
(com.google.gson.JsonObject p_286576_, Optional<ContextAwarePredicate> p_298375_, DeserializationContext p_286224_) ConsumeItemTrigger.createInstance
(com.google.gson.JsonObject p_286724_, Optional<ContextAwarePredicate> p_298695_, DeserializationContext p_286887_) CuredZombieVillagerTrigger.createInstance
(com.google.gson.JsonObject p_286894_, Optional<ContextAwarePredicate> p_298530_, DeserializationContext p_286477_) DistanceTrigger.createInstance
(com.google.gson.JsonObject p_286540_, Optional<ContextAwarePredicate> p_299290_, DeserializationContext p_286709_) EffectsChangedTrigger.createInstance
(com.google.gson.JsonObject p_286892_, Optional<ContextAwarePredicate> p_298606_, DeserializationContext p_286271_) EnchantedItemTrigger.createInstance
(com.google.gson.JsonObject p_286360_, Optional<ContextAwarePredicate> p_298531_, DeserializationContext p_286441_) EnterBlockTrigger.createInstance
(com.google.gson.JsonObject p_286556_, Optional<ContextAwarePredicate> p_298573_, DeserializationContext p_286857_) EntityHurtPlayerTrigger.createInstance
(com.google.gson.JsonObject p_286430_, Optional<ContextAwarePredicate> p_298313_, DeserializationContext p_286648_) FilledBucketTrigger.createInstance
(com.google.gson.JsonObject p_286783_, Optional<ContextAwarePredicate> p_298781_, DeserializationContext p_286812_) FishingRodHookedTrigger.createInstance
(com.google.gson.JsonObject p_286600_, Optional<ContextAwarePredicate> p_299021_, DeserializationContext p_286299_) InventoryChangeTrigger.createInstance
(com.google.gson.JsonObject p_286555_, Optional<ContextAwarePredicate> p_298909_, DeserializationContext p_286270_) ItemDurabilityTrigger.createInstance
(com.google.gson.JsonObject p_286693_, Optional<ContextAwarePredicate> p_298839_, DeserializationContext p_286352_) ItemUsedOnLocationTrigger.createInstance
(com.google.gson.JsonObject p_286301_, Optional<ContextAwarePredicate> p_299015_, DeserializationContext p_286322_) KilledByCrossbowTrigger.createInstance
(com.google.gson.JsonObject p_286238_, Optional<ContextAwarePredicate> p_298978_, DeserializationContext p_286919_) KilledTrigger.createInstance
(com.google.gson.JsonObject p_286718_, Optional<ContextAwarePredicate> p_298211_, DeserializationContext p_286514_) LevitationTrigger.createInstance
(com.google.gson.JsonObject p_286359_, Optional<ContextAwarePredicate> p_298830_, DeserializationContext p_286241_) LightningStrikeTrigger.createInstance
(com.google.gson.JsonObject p_286546_, Optional<ContextAwarePredicate> p_299074_, DeserializationContext p_286393_) protected LootTableTrigger.TriggerInstance
LootTableTrigger.createInstance
(com.google.gson.JsonObject p_286915_, Optional<ContextAwarePredicate> p_298881_, DeserializationContext p_286891_) protected PickedUpItemTrigger.TriggerInstance
PickedUpItemTrigger.createInstance
(com.google.gson.JsonObject p_286503_, Optional<ContextAwarePredicate> p_298630_, DeserializationContext p_286658_) PlayerHurtEntityTrigger.createInstance
(com.google.gson.JsonObject p_286442_, Optional<ContextAwarePredicate> p_298694_, DeserializationContext p_286750_) protected PlayerInteractTrigger.TriggerInstance
PlayerInteractTrigger.createInstance
(com.google.gson.JsonObject p_286758_, Optional<ContextAwarePredicate> p_298524_, DeserializationContext p_286859_) PlayerTrigger.createInstance
(com.google.gson.JsonObject p_286310_, Optional<ContextAwarePredicate> p_298247_, DeserializationContext p_286901_) protected RecipeCraftedTrigger.TriggerInstance
RecipeCraftedTrigger.createInstance
(com.google.gson.JsonObject p_286751_, Optional<ContextAwarePredicate> p_298438_, DeserializationContext p_286668_) RecipeUnlockedTrigger.createInstance
(com.google.gson.JsonObject p_286387_, Optional<ContextAwarePredicate> p_298778_, DeserializationContext p_286649_) ShotCrossbowTrigger.createInstance
(com.google.gson.JsonObject p_286726_, Optional<ContextAwarePredicate> p_299289_, DeserializationContext p_286701_) protected abstract T
SimpleCriterionTrigger.createInstance
(com.google.gson.JsonObject p_66248_, Optional<ContextAwarePredicate> p_298709_, DeserializationContext p_66250_) SlideDownBlockTrigger.createInstance
(com.google.gson.JsonObject p_286879_, Optional<ContextAwarePredicate> p_298480_, DeserializationContext p_286581_) StartRidingTrigger.createInstance
(com.google.gson.JsonObject p_286869_, Optional<ContextAwarePredicate> p_298367_, DeserializationContext p_286559_) SummonedEntityTrigger.createInstance
(com.google.gson.JsonObject p_286898_, Optional<ContextAwarePredicate> p_299222_, DeserializationContext p_286829_) TameAnimalTrigger.createInstance
(com.google.gson.JsonObject p_286684_, Optional<ContextAwarePredicate> p_298911_, DeserializationContext p_286550_) TargetBlockTrigger.createInstance
(com.google.gson.JsonObject p_286796_, Optional<ContextAwarePredicate> p_299244_, DeserializationContext p_286418_) TradeTrigger.createInstance
(com.google.gson.JsonObject p_286317_, Optional<ContextAwarePredicate> p_299121_, DeserializationContext p_286251_) UsedEnderEyeTrigger.createInstance
(com.google.gson.JsonObject p_286292_, Optional<ContextAwarePredicate> p_299061_, DeserializationContext p_286702_) UsedTotemTrigger.createInstance
(com.google.gson.JsonObject p_286841_, Optional<ContextAwarePredicate> p_299247_, DeserializationContext p_286414_) UsingItemTrigger.createInstance
(com.google.gson.JsonObject p_286642_, Optional<ContextAwarePredicate> p_299230_, DeserializationContext p_286897_) 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_) static com.google.gson.JsonElement
ContextAwarePredicate.toJson
(List<ContextAwarePredicate> p_298324_) ModifierConstructorDescriptionTriggerInstance
(Optional<ContextAwarePredicate> p_298811_, Block p_286264_, Optional<ItemPredicate> p_299115_, MinMaxBounds.Ints p_286574_) TriggerInstance
(Optional<ContextAwarePredicate> p_299183_, Optional<ContextAwarePredicate> p_298219_, Optional<ContextAwarePredicate> p_298908_, Optional<ContextAwarePredicate> p_298435_) TriggerInstance
(Optional<ContextAwarePredicate> p_299023_, Potion p_286830_) TriggerInstance
(Optional<ContextAwarePredicate> p_299200_, ResourceKey<Level> p_286585_, ResourceKey<Level> p_286666_) TriggerInstance
(Optional<ContextAwarePredicate> p_299166_, List<ContextAwarePredicate> p_298268_) TriggerInstance
(Optional<ContextAwarePredicate> p_299166_, List<ContextAwarePredicate> p_298268_) TriggerInstance
(Optional<ContextAwarePredicate> p_298591_, MinMaxBounds.Ints p_286272_) TriggerInstance
(Optional<ContextAwarePredicate> p_299052_, Optional<ItemPredicate> p_298675_) TriggerInstance
(Optional<ContextAwarePredicate> p_298995_, Optional<ContextAwarePredicate> p_298745_, Optional<ContextAwarePredicate> p_299314_) TriggerInstance
(Optional<ContextAwarePredicate> p_299259_, Optional<LocationPredicate> p_299108_, Optional<DistancePredicate> p_298879_) TriggerInstance
(Optional<ContextAwarePredicate> p_299319_, Optional<MobEffectsPredicate> p_298712_, Optional<ContextAwarePredicate> p_299215_) TriggerInstance
(Optional<ContextAwarePredicate> p_298281_, Optional<ItemPredicate> p_299065_, MinMaxBounds.Ints p_286367_) TriggerInstance
(Optional<ContextAwarePredicate> p_298767_, Block p_286517_, Optional<StatePropertiesPredicate> p_299085_) TriggerInstance
(Optional<ContextAwarePredicate> p_298990_, Optional<DamagePredicate> p_299150_) TriggerInstance
(Optional<ContextAwarePredicate> p_299006_, Optional<ItemPredicate> p_299027_) TriggerInstance
(Optional<ContextAwarePredicate> p_299190_, Optional<ItemPredicate> p_298599_, Optional<ContextAwarePredicate> p_298872_, Optional<ItemPredicate> p_299028_) TriggerInstance
(Optional<ContextAwarePredicate> p_298662_, MinMaxBounds.Ints p_286313_, MinMaxBounds.Ints p_286767_, MinMaxBounds.Ints p_286601_, List<ItemPredicate> p_299143_) TriggerInstance
(Optional<ContextAwarePredicate> p_298655_, Optional<ItemPredicate> p_298552_, MinMaxBounds.Ints p_286431_, MinMaxBounds.Ints p_286460_) TriggerInstance
(Optional<ContextAwarePredicate> p_298789_, Optional<ContextAwarePredicate> p_298316_) TriggerInstance
(Optional<ContextAwarePredicate> p_299225_, List<ContextAwarePredicate> p_299137_, MinMaxBounds.Ints p_286571_) TriggerInstance
(Optional<ContextAwarePredicate> p_299225_, List<ContextAwarePredicate> p_299137_, MinMaxBounds.Ints p_286571_) TriggerInstance
(Optional<ContextAwarePredicate> p_298845_, Optional<ContextAwarePredicate> p_298602_, Optional<DamageSourcePredicate> p_298849_) TriggerInstance
(Optional<ContextAwarePredicate> p_299278_, Optional<DistancePredicate> p_299004_, MinMaxBounds.Ints p_286676_) TriggerInstance
(Optional<ContextAwarePredicate> p_298707_, Optional<ContextAwarePredicate> p_299016_, Optional<ContextAwarePredicate> p_298635_) TriggerInstance
(Optional<ContextAwarePredicate> p_298850_, ResourceLocation p_286434_) TriggerInstance
(Optional<ContextAwarePredicate> p_298259_, Optional<ItemPredicate> p_298561_, Optional<ContextAwarePredicate> p_298652_) TriggerInstance
(Optional<ContextAwarePredicate> p_299157_, Optional<DamagePredicate> p_298533_, Optional<ContextAwarePredicate> p_298308_) TriggerInstance
(Optional<ContextAwarePredicate> p_298364_, Optional<ItemPredicate> p_298687_, Optional<ContextAwarePredicate> p_298827_) TriggerInstance
(Optional<ContextAwarePredicate> p_298950_) TriggerInstance
(Optional<ContextAwarePredicate> p_298295_, ResourceLocation p_286906_, List<ItemPredicate> p_286302_) TriggerInstance
(Optional<ContextAwarePredicate> p_298891_, ResourceLocation p_286775_) TriggerInstance
(Optional<ContextAwarePredicate> p_298842_, Optional<ItemPredicate> p_298905_) TriggerInstance
(Optional<ContextAwarePredicate> p_298510_, Block p_286622_, Optional<StatePropertiesPredicate> p_299110_) TriggerInstance
(Optional<ContextAwarePredicate> p_299165_) TriggerInstance
(Optional<ContextAwarePredicate> p_298619_, Optional<ContextAwarePredicate> p_298329_) TriggerInstance
(Optional<ContextAwarePredicate> p_298796_, Optional<ContextAwarePredicate> p_298728_) TriggerInstance
(Optional<ContextAwarePredicate> p_299077_, MinMaxBounds.Ints p_286505_, Optional<ContextAwarePredicate> p_299328_) TriggerInstance
(Optional<ContextAwarePredicate> p_298800_, Optional<ContextAwarePredicate> p_299138_, Optional<ItemPredicate> p_298795_) TriggerInstance
(Optional<ContextAwarePredicate> p_298933_, MinMaxBounds.Doubles p_286810_) TriggerInstance
(Optional<ContextAwarePredicate> p_298823_, Optional<ItemPredicate> p_298900_) TriggerInstance
(Optional<ContextAwarePredicate> p_298803_, Optional<ItemPredicate> p_298750_) -
Uses of ContextAwarePredicate in net.minecraft.data.advancements.packs
Modifier and TypeFieldDescriptionprivate static final ContextAwarePredicate
VanillaNetherAdvancements.DISTRACT_PIGLIN_PLAYER_ARMOR_PREDICATE