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