Class PokeballEffectEvent
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.PokeballEffectEvent
- Direct Known Subclasses:
PokeballEffectEvent.SentOutEffect,PokeballEffectEvent.StartCaptureEffect,PokeballEffectEvent.SuccessfullCaptureEffect
public abstract class PokeballEffectEvent
extends net.neoforged.bus.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 ClassesModifier and TypeClassDescriptionstatic classEvent fired before the particles on a Pokémon breaking from a Pokéball.static classEvent fired upon Pokéball close at the beginning of capturing a Pokémon, prior to the effect.static classEvent fired upon successful capture of a Pokémon, prior to the effect. -
Field Summary
Fields -
Method Summary
-
Field Details
-
pokeBall
The Pokéball whose effect this relates too
-