Class SpawnPixelmonEntityForBattleEvent.Pre
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.SpawnPixelmonEntityForBattleEvent
com.pixelmonmod.pixelmon.api.events.SpawnPixelmonEntityForBattleEvent.Pre
- Enclosing class:
- SpawnPixelmonEntityForBattleEvent
Event fired before the Pokémon entity is spawned for battle.
Cancelling this will prevent the Pokémon entity from appearing in the world.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.SpawnPixelmonEntityForBattleEvent
SpawnPixelmonEntityForBattleEvent.Post, SpawnPixelmonEntityForBattleEvent.Pre
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Constructor Summary
-
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.SpawnPixelmonEntityForBattleEvent
getPokemon
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
Pre
Basic constructor- Parameters:
pokemon
- The Pokémon
-