Class PokemonSendOutEvent.Pre

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.PokemonSendOutEvent
com.pixelmonmod.pixelmon.api.events.PokemonSendOutEvent.Pre
Enclosing class:
PokemonSendOutEvent

public static class PokemonSendOutEvent.Pre extends PokemonSendOutEvent
Event fired before the pokemon is sent out by the player Cancelling this will prevent the pokemon entity from appearing in the world
  • Constructor Details

    • Pre

      public Pre(net.minecraft.server.level.ServerPlayer player, Pokemon pokemon)
      Basic constructor
      Parameters:
      player - The player
      pokemon - The pokemon