net.minecraft.advancements.critereon

public class TradeTrigger

extends SimpleCriterionTrigger<TradeTrigger$TriggerInstance>

All mapped superinterfaces:

CriterionTrigger

df
net.minecraft.advancements.critereon.TradeTrigger
net.minecraft.class_2140
net.minecraft.advancement.criterion.VillagerTradeCriterion
net.minecraft.src.C_2476_
net.minecraft.advancements.critereon.CriterionTriggerVillagerTrade

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public TradeTrigger$TriggerInstance
a(com.google.gson.JsonObject arg0, Optional<bc> arg1, bg arg2)
createInstance(com.google.gson.JsonObject arg0, Optional<ContextAwarePredicate> arg1, DeserializationContext arg2)
method_9148(com.google.gson.JsonObject arg0, Optional<class_5258> arg1, class_5257 arg2)
conditionsFromJson(com.google.gson.JsonObject arg0, Optional<LootContextPredicate> arg1, AdvancementEntityPredicateDeserializer arg2)
m_7214_(com.google.gson.JsonObject p_298851_, Optional<C_285556_> p_286772_, C_723_ arg2)
public void
a(akr arg0, cbc arg1, cjf arg2)
trigger(ServerPlayer arg0, AbstractVillager arg1, ItemStack arg2)
method_9146(class_3222 arg0, class_3988 arg1, class_1799 arg2)
trigger(ServerPlayerEntity player, MerchantEntity merchant, ItemStack stack)
m_70959_(C_13_ p_70961_, C_1114_ p_70962_, C_1391_ arg2)