public class SpecTrigger extends java.lang.Object implements net.minecraft.advancements.ICriterionTrigger<SpecTrigger.Instance>
Modifier and Type | Class and Description |
---|---|
static class |
SpecTrigger.Instance |
Constructor and Description |
---|
SpecTrigger() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(net.minecraft.advancements.PlayerAdvancements playerAdvancementsIn,
net.minecraft.advancements.ICriterionTrigger.Listener<SpecTrigger.Instance> listener) |
SpecTrigger.Instance |
deserializeInstance(com.google.gson.JsonObject json,
com.google.gson.JsonDeserializationContext context) |
net.minecraft.util.ResourceLocation |
getId() |
void |
removeAllListeners(net.minecraft.advancements.PlayerAdvancements playerAdvancementsIn) |
void |
removeListener(net.minecraft.advancements.PlayerAdvancements playerAdvancementsIn,
net.minecraft.advancements.ICriterionTrigger.Listener<SpecTrigger.Instance> listener) |
void |
trigger(net.minecraft.entity.player.EntityPlayerMP player,
Pokemon pokemon) |
public net.minecraft.util.ResourceLocation getId()
getId
in interface net.minecraft.advancements.ICriterionTrigger<SpecTrigger.Instance>
public void addListener(net.minecraft.advancements.PlayerAdvancements playerAdvancementsIn, net.minecraft.advancements.ICriterionTrigger.Listener<SpecTrigger.Instance> listener)
addListener
in interface net.minecraft.advancements.ICriterionTrigger<SpecTrigger.Instance>
public void removeListener(net.minecraft.advancements.PlayerAdvancements playerAdvancementsIn, net.minecraft.advancements.ICriterionTrigger.Listener<SpecTrigger.Instance> listener)
removeListener
in interface net.minecraft.advancements.ICriterionTrigger<SpecTrigger.Instance>
public void removeAllListeners(net.minecraft.advancements.PlayerAdvancements playerAdvancementsIn)
removeAllListeners
in interface net.minecraft.advancements.ICriterionTrigger<SpecTrigger.Instance>
public SpecTrigger.Instance deserializeInstance(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)
deserializeInstance
in interface net.minecraft.advancements.ICriterionTrigger<SpecTrigger.Instance>
public void trigger(net.minecraft.entity.player.EntityPlayerMP player, Pokemon pokemon)