net.minecraft.advancements.critereon

public class TradeTrigger

extends SimpleCriterionTrigger<TradeTrigger$TriggerInstance>

All mapped superinterfaces:

CriterionTrigger

cr
net.minecraft.advancements.critereon.TradeTrigger
net.minecraft.class_2140
net.minecraft.advancement.criterion.VillagerTradeCriterion
net.minecraft.advancements.criterion.VillagerTradeTrigger
net.minecraft.server.v1_16_R2.CriterionTriggerVillagerTrade

Field summary

Modifier and TypeField
private static final ResourceLocation
a
ID
field_9762
ID
field_192237_a

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public ResourceLocation
a()
getId()
method_794()
getId()
func_192163_a()
public TradeTrigger$TriggerInstance
a(com.google.gson.JsonObject arg0, bg$b arg1, ax arg2)
createInstance(com.google.gson.JsonObject arg0, EntityPredicate$Composite arg1, DeserializationContext arg2)
method_9148(com.google.gson.JsonObject arg0, class_2048$class_5258 arg1, class_5257 arg2)
conditionsFromJson(com.google.gson.JsonObject arg0, EntityPredicate$Extended arg1, AdvancementEntityPredicateDeserializer arg2)
func_230241_b_(com.google.gson.JsonObject arg0, EntityPredicate$AndPredicate arg1, ConditionArrayParser arg2)
public void
a(aah arg0, bfb arg1, bly arg2)
trigger(ServerPlayer arg0, AbstractVillager arg1, ItemStack arg2)
method_9146(class_3222 arg0, class_3988 arg1, class_1799 arg2)
handle(ServerPlayerEntity player, MerchantEntity merchant, ItemStack stack)
func_215114_a(ServerPlayerEntity arg0, AbstractVillagerEntity arg1, ItemStack arg2)