java.lang.Object
net.minecraft.advancements.critereon.SimpleCriterionTrigger<PokedexTrigger.Instance>
com.pixelmonmod.pixelmon.api.advancements.triggers.PokedexTrigger
All Implemented Interfaces:
net.minecraft.advancements.CriterionTrigger<PokedexTrigger.Instance>

public class PokedexTrigger extends net.minecraft.advancements.critereon.SimpleCriterionTrigger<PokedexTrigger.Instance>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger

    net.minecraft.advancements.critereon.SimpleCriterionTrigger.SimpleInstance

    Nested classes/interfaces inherited from interface net.minecraft.advancements.CriterionTrigger

    net.minecraft.advancements.CriterionTrigger.Listener<T extends net.minecraft.advancements.CriterionTriggerInstance>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    createInstance(com.google.gson.JsonObject json, Optional<net.minecraft.advancements.critereon.ContextAwarePredicate> contextAwarePredicate, net.minecraft.advancements.critereon.DeserializationContext conditions)
     
    void
    trigger(net.minecraft.server.level.ServerPlayer player)
     

    Methods inherited from class net.minecraft.advancements.critereon.SimpleCriterionTrigger

    addPlayerListener, createInstance, removePlayerListener, removePlayerListeners, trigger

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.advancements.CriterionTrigger

    createCriterion
  • Constructor Details

    • PokedexTrigger

      public PokedexTrigger()
  • Method Details

    • createInstance

      public PokedexTrigger.Instance createInstance(com.google.gson.JsonObject json, Optional<net.minecraft.advancements.critereon.ContextAwarePredicate> contextAwarePredicate, net.minecraft.advancements.critereon.DeserializationContext conditions)
      Specified by:
      createInstance in class net.minecraft.advancements.critereon.SimpleCriterionTrigger<PokedexTrigger.Instance>
    • trigger

      public void trigger(net.minecraft.server.level.ServerPlayer player)