net.minecraft.advancements.critereon

public class TradeTrigger$TriggerInstance

extends AbstractCriterionTriggerInstance

All mapped superinterfaces:

CriterionTriggerInstance

db$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 static TradeTrigger$TriggerInstance
a(bo$a arg0)
tradedWithVillager(EntityPredicate$Builder arg0)
method_38914(class_2048$class_2049 arg0)
create(EntityPredicate$Builder playerPredicate)
m_191436_(C_1147_$C_1149_ p_191437_)
public boolean
a(dlc arg0, buw 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(cr arg0)
serializeToJson(SerializationContext arg0)
method_807(class_5267 arg0)
toJson(AdvancementEntityPredicateSerializer arg0)
m_7683_(C_2205_ arg0)