Class PixelmonKnockoutEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.PixelmonKnockoutEvent

public class PixelmonKnockoutEvent extends net.minecraftforge.eventbus.api.Event
Fires every time a Pokémon is knocked out
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    The Pokémon which is knocked out
    The Pokémon which caused the knock out
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • source

      public final PixelmonWrapper source
      The Pokémon which caused the knock out
    • pokemon

      public final PixelmonWrapper pokemon
      The Pokémon which is knocked out
  • Constructor Details