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
Modifier and TypeClassDescriptionstatic 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
-
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
pokeBall
The Pokéball whose effect this relates too
-