net.minecraft.advancements.critereon

public class TradeTrigger$TriggerInstance

extends AbstractCriterionTriggerInstance

All mapped superinterfaces:

SimpleCriterionTrigger$SimpleInstance, CriterionTriggerInstance

df$a
net.minecraft.advancements.critereon.TradeTrigger$TriggerInstance
net.minecraft.class_2140$class_2142
net.minecraft.unmapped.C_yddyhqpp$C_roruwsnz
net.minecraft.advancement.criterion.VillagerTradeCriterion$Conditions
net.minecraft.advancement.criterion.VillagerTradeCriterion$Conditions
net.minecraft.src.C_2476_$C_2477_
net.minecraft.advancements.critereon.CriterionTriggerVillagerTrade$a

Field summary

Modifier and TypeField
private final Optional<ContextAwarePredicate>
a
villager
field_9767
f_bdcnndjx
villager
villager
f_70976_
private final Optional<ItemPredicate>
b
item
field_9766
f_ctaaopnz
item
item
f_70977_

Constructor summary

ModifierConstructor
public (Optional<ContextAwarePredicate> playerPredicate, Optional<ContextAwarePredicate> villager, Optional<ItemPredicate> item)

Method summary

Modifier and TypeMethod
public static Criterion<TradeTrigger$TriggerInstance>
c()
tradedWithVillager()
method_9153()
m_omysqoyn()
any()
m_70987_()
public static Criterion<TradeTrigger$TriggerInstance>
a(bq$a arg0)
tradedWithVillager(EntityPredicate$Builder arg0)
method_38914(class_2048$class_2049 arg0)
m_zwpwphkq(C_kvkvpjlm$C_fnhnavbg arg0)
create(EntityPredicate$Builder playerPredicate)
m_191436_(C_1147_$C_1149_ p_191437_)
public boolean
a(ecq arg0, cjf arg1)
matches(LootContext arg0, ItemStack arg1)
method_9154(class_47 arg0, class_1799 arg1)
m_ejngplad(C_iakykpgh arg0, C_sddaxwyk arg1)
matches(LootContext villager, ItemStack stack)
matches(LootContext merchantContext, ItemStack stack)
m_70984_(C_2811_ p_70986_, C_1391_ arg1)
public com.google.gson.JsonObject
a()
serializeToJson()
method_807()
m_ptcoipmh()
toJson()
toJson()
m_7683_()