Class PokemonSendOutEvent.Pre
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.PokemonSendOutEvent
com.pixelmonmod.pixelmon.api.events.PokemonSendOutEvent.Pre
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
PokemonSendOutEvent
public static class PokemonSendOutEvent.Pre
extends PokemonSendOutEvent
implements net.neoforged.bus.api.ICancellableEvent
Event fired before the pokemon is sent out by the player
Cancelling this will prevent the pokemon entity from appearing in the world
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.PokemonSendOutEvent
PokemonSendOutEvent.Post, PokemonSendOutEvent.Pre
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.PokemonSendOutEvent
getPlayer, getPokemon
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.neoforged.bus.api.ICancellableEvent
isCanceled, setCanceled
-
Constructor Details
-
Pre
Basic constructor- Parameters:
player
- The playerpokemon
- The pokemon
-