net.minecraft.advancements.critereon

public class TradeTrigger$TriggerInstance

extends AbstractCriterionTriggerInstance

All mapped superinterfaces:

CriterionTriggerInstance

cp$a
net.minecraft.advancements.critereon.TradeTrigger$TriggerInstance
net.minecraft.class_2140$class_2142
net.minecraft.advancement.criterion.VillagerTradeCriterion$Conditions
net.minecraft.advancements.criterion.VillagerTradeTrigger$Instance
net.minecraft.server.v1_16_R1.CriterionTriggerVillagerTrade$a

Field summary

Modifier and TypeField
private final EntityPredicate$Composite
a
villager
field_9767
villager
field_192286_a
private final ItemPredicate
b
item
field_9766
item
field_192287_b

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()
func_203939_c()
public boolean
a(dat arg0, bki arg1)
matches(LootContext arg0, ItemStack arg1)
method_9154(class_47 arg0, class_1799 arg1)
matches(LootContext traderContext, ItemStack stack)
func_236575_a_(LootContext arg0, ItemStack arg1)
public com.google.gson.JsonObject
a(cg arg0)
serializeToJson(SerializationContext arg0)
method_807(class_5267 arg0)
toJson(AdvancementEntityPredicateSerializer arg0)
func_230240_a_(ConditionArraySerializer arg0)