net.minecraft.advancements.critereon

public class TradeTrigger

extends SimpleCriterionTrigger<TradeTrigger$TriggerInstance>

All mapped superinterfaces:

CriterionTrigger

cg
net.minecraft.advancements.critereon.TradeTrigger
net.minecraft.class_2140
net.minecraft.advancement.criterion.VillagerTradeCriterion
net.minecraft.advancements.criterion.VillagerTradeTrigger
net.minecraft.server.v1_15_R1.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
b(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
createInstance(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
method_9148(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
conditionsFromJson(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
func_192166_a(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
public void
a(xe arg0, axs arg1, ben arg2)
trigger(ServerPlayer arg0, AbstractVillager arg1, ItemStack arg2)
method_9146(class_3222 arg0, class_3988 arg1, class_1799 arg2)
handle(ServerPlayerEntity player, AbstractTraderEntity trader, ItemStack stack)
func_215114_a(ServerPlayerEntity arg0, AbstractVillagerEntity arg1, ItemStack arg2)