net.minecraft.advancements.critereon

public class TradeTrigger

extends SimpleCriterionTrigger<TradeTrigger$TriggerInstance>

All mapped superinterfaces:

CriterionTrigger

eg
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 com.mojang.serialization.Codec<TradeTrigger$TriggerInstance>
a()
codec()
method_54937()
getConditionsCodec()
m_5868_()
public void
a(aqv arg0, cmf arg1, cuq 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)