Class BallCaptureTrigger

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

public class BallCaptureTrigger extends net.minecraft.advancements.critereon.SimpleCriterionTrigger<BallCaptureTrigger.Instance>
Created by MoeBoy76 on 27/12/2017.
  • 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 context)
     
    void
    trigger(net.minecraft.server.level.ServerPlayer player, PokeBall pokeball)
     

    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

    • BallCaptureTrigger

      public BallCaptureTrigger()
  • Method Details

    • createInstance

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

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