net.minecraft.advancements.critereon

public record TradeTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

ej$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.VillagerTradeCriterionTrigger$Conditions
net.minecraft.src.C_2476_$C_2477_
net.minecraft.advancements.critereon.CriterionTriggerVillagerTrade$a

Field summary

Modifier and TypeField
private final Optional<ContextAwarePredicate>
b
player
comp_2029
f_fkrjyeut
player
player
f_302976_
private final Optional<ContextAwarePredicate>
c
villager
comp_2097
f_bdcnndjx
villager
villager
f_70976_
private final Optional<ItemPredicate>
d
item
comp_2098
f_ctaaopnz
item
item
f_70977_
public static final com.mojang.serialization.Codec<TradeTrigger$TriggerInstance>
a
CODEC
field_47347
f_pjgxklog
CODEC
CODEC
f_302548_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static Criterion<TradeTrigger$TriggerInstance>
b()
tradedWithVillager()
method_9153()
m_omysqoyn()
any()
create()
m_70987_()
public static Criterion<TradeTrigger$TriggerInstance>
a(bw$a arg0)
tradedWithVillager(EntityPredicate$Builder arg0)
method_38914(class_2048$class_2049 arg0)
m_zwpwphkq(C_kvkvpjlm$C_fnhnavbg arg0)
create(EntityPredicate$Builder playerPredicate)
create(EntityPredicate$Builder player)
m_191436_(C_1147_$C_1149_ p_191437_)
public boolean
a(ewo arg0, cxo 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 void
a(bi arg0)
validate(CriterionValidator arg0)
method_54938(class_8944 arg0)
m_mmotanow(C_zybjffid arg0)
validate(LootContextPredicateValidator arg0)
validate(CriterionValidator arg0)
m_7683_(C_302068_ arg0)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
m_klqamsnl()
player()
player()
m_295156_()
public Optional<ContextAwarePredicate>
c()
villager()
comp_2097()
m_tychtosa()
villager()
villager()
f_70976_()
public Optional<ItemPredicate>
d()
item()
comp_2098()
m_iwhkwglu()
item()
item()
f_70977_()