net.minecraft.advancements.critereon

public class TradeTrigger$TriggerInstance

extends AbstractCriterionTriggerInstance

All mapped superinterfaces:

CriterionTriggerInstance

da$a
net.minecraft.advancements.critereon.TradeTrigger$TriggerInstance
net.minecraft.class_2140$class_2142
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 EntityPredicate$Composite
a
villager
field_9767
villager
f_70976_
private final ItemPredicate
b
item
field_9766
item
f_70977_

Constructor summary

ModifierConstructor
public (EntityPredicate$Composite player, EntityPredicate$Composite villager, ItemPredicate item)

Method summary

Modifier and TypeMethod
public static TradeTrigger$TriggerInstance
c()
tradedWithVillager()
method_9153()
any()
m_70987_()
public boolean
a(dip arg0, bqp arg1)
matches(LootContext arg0, ItemStack arg1)
method_9154(class_47 arg0, class_1799 arg1)
matches(LootContext merchantContext, ItemStack stack)
m_70984_(C_2811_ p_70986_, C_1391_ arg1)
public com.google.gson.JsonObject
a(cq arg0)
serializeToJson(SerializationContext arg0)
method_807(class_5267 arg0)
toJson(AdvancementEntityPredicateSerializer arg0)
m_7683_(C_2205_ arg0)