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 |
addPlayerListener(net.minecraft.advancements.PlayerAdvancements player,
net.minecraft.advancements.ICriterionTrigger.Listener<LegendaryCaptureTrigger.Instance> listener) |
LegendaryCaptureTrigger.Instance |
createInstance(com.google.gson.JsonObject json,
net.minecraft.loot.ConditionArrayParser conditions) |
net.minecraft.util.ResourceLocation |
getId() |
void |
removePlayerListener(net.minecraft.advancements.PlayerAdvancements playerAdvancementsIn,
net.minecraft.advancements.ICriterionTrigger.Listener<LegendaryCaptureTrigger.Instance> listener) |
void |
removePlayerListeners(net.minecraft.advancements.PlayerAdvancements playerAdvancementsIn) |
void |
trigger(net.minecraft.entity.player.ServerPlayerEntity player,
Pokemon pokemon) |
public net.minecraft.util.ResourceLocation getId()
getId
in interface net.minecraft.advancements.ICriterionTrigger<LegendaryCaptureTrigger.Instance>
public void addPlayerListener(net.minecraft.advancements.PlayerAdvancements player, net.minecraft.advancements.ICriterionTrigger.Listener<LegendaryCaptureTrigger.Instance> listener)
addPlayerListener
in interface net.minecraft.advancements.ICriterionTrigger<LegendaryCaptureTrigger.Instance>
public void removePlayerListener(net.minecraft.advancements.PlayerAdvancements playerAdvancementsIn, net.minecraft.advancements.ICriterionTrigger.Listener<LegendaryCaptureTrigger.Instance> listener)
removePlayerListener
in interface net.minecraft.advancements.ICriterionTrigger<LegendaryCaptureTrigger.Instance>
public void removePlayerListeners(net.minecraft.advancements.PlayerAdvancements playerAdvancementsIn)
removePlayerListeners
in interface net.minecraft.advancements.ICriterionTrigger<LegendaryCaptureTrigger.Instance>
public LegendaryCaptureTrigger.Instance createInstance(com.google.gson.JsonObject json, net.minecraft.loot.ConditionArrayParser conditions)
createInstance
in interface net.minecraft.advancements.ICriterionTrigger<LegendaryCaptureTrigger.Instance>
public void trigger(net.minecraft.entity.player.ServerPlayerEntity player, Pokemon pokemon)