net.minecraft.advancements.critereon

public class TradeTrigger

implements CriterionTrigger<TradeTrigger$TriggerInstance>

bt
net.minecraft.advancements.critereon.TradeTrigger
net.minecraft.class_2140
net.minecraft.advancement.criterion.VillagerTradeCriterion
net.minecraft.advancements.criterion.VillagerTradeTrigger
net.minecraft.server.v1_14_R1.CriterionTriggerVillagerTrade

Field summary

Modifier and TypeField
private static final ResourceLocation
a
ID
field_9762
ID
field_192237_a
private final Map<PlayerAdvancements, TradeTrigger$PlayerListeners>
b
players
field_9763
handlers
field_192238_b

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public ResourceLocation
a()
getId()
method_794()
getId()
func_192163_a()
public void
a(re arg0, x$a<bt$b> arg1)
addPlayerListener(PlayerAdvancements arg0, CriterionTrigger$Listener<TradeTrigger$TriggerInstance> arg1)
method_792(class_2985 arg0, class_179$class_180<class_2140$class_2142> arg1)
beginTrackingCondition(PlayerAdvancementTracker arg0, Criterion$ConditionsContainer<VillagerTradeCriterion$Conditions> arg1)
func_192165_a(PlayerAdvancements arg0, ICriterionTrigger$Listener<VillagerTradeTrigger$Instance> arg1)
public void
b(re arg0, x$a<bt$b> arg1)
removePlayerListener(PlayerAdvancements arg0, CriterionTrigger$Listener<TradeTrigger$TriggerInstance> arg1)
method_793(class_2985 arg0, class_179$class_180<class_2140$class_2142> arg1)
endTrackingCondition(PlayerAdvancementTracker arg0, Criterion$ConditionsContainer<VillagerTradeCriterion$Conditions> arg1)
func_192164_b(PlayerAdvancements arg0, ICriterionTrigger$Listener<VillagerTradeTrigger$Instance> arg1)
public void
a(re arg0)
removePlayerListeners(PlayerAdvancements arg0)
method_791(class_2985 arg0)
endTracking(PlayerAdvancementTracker arg0)
func_192167_a(PlayerAdvancements arg0)
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(vl arg0, avp arg1, bcj 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)