public class VillagerTradeTrigger extends AbstractCriterionTrigger<VillagerTradeTrigger.Instance>
| Modifier and Type | Class and Description |
|---|---|
static class |
VillagerTradeTrigger.Instance |
ICriterionTrigger.Listener<T extends ICriterionInstance>| Modifier and Type | Field and Description |
|---|---|
private static ResourceLocation |
ID |
| Constructor and Description |
|---|
VillagerTradeTrigger() |
| Modifier and Type | Method and Description |
|---|---|
VillagerTradeTrigger.Instance |
deserializeInstance(com.google.gson.JsonObject json,
com.google.gson.JsonDeserializationContext context) |
void |
func_215114_a(ServerPlayerEntity p_215114_1_,
AbstractVillagerEntity p_215114_2_,
ItemStack p_215114_3_) |
ResourceLocation |
getId() |
addListener, func_227070_a_, func_227071_b_, removeAllListeners, removeListenerprivate static final ResourceLocation ID
public ResourceLocation getId()
public VillagerTradeTrigger.Instance deserializeInstance(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)
public void func_215114_a(ServerPlayerEntity p_215114_1_, AbstractVillagerEntity p_215114_2_, ItemStack p_215114_3_)