Class PokeballEffectEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.PokeballEffectEvent
Direct Known Subclasses:
PokeballEffectEvent.SentOutEffect, PokeballEffectEvent.StartCaptureEffect, PokeballEffectEvent.SuccessfullCaptureEffect

public abstract class PokeballEffectEvent extends net.minecraftforge.eventbus.api.Event
The superclass for all graphical effects related to Pokéballs. Personally, I'm dubious of the usefulness. Cancellation of these events prevents the effect
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Event fired before the particles on a Pokémon breaking from a Pokéball.
    static class 
    Event fired upon Pokéball close at the beginning of capturing a Pokémon, prior to the effect.
    static class 
    Event fired upon successful capture of a Pokémon, prior to the effect.

    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éball whose effect this relates too
  • 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

    • pokeBall

      public final PokeBallEntity pokeBall
      The Pokéball whose effect this relates too