Class SpawnPixelmonEntityForBattleEvent
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
com.pixelmonmod.pixelmon.api.events.SpawnPixelmonEntityForBattleEvent
- Direct Known Subclasses:
SpawnPixelmonEntityForBattleEvent.Post
,SpawnPixelmonEntityForBattleEvent.Pre
Fires around the Pokémon spawning for fighting a battle.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Event fired after the Pokémon entity has spawned for battle.static class
Event fired before the Pokémon entity is spawned for battle. -
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
battleController
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SpawnPixelmonEntityForBattleEvent
(BattleController bc, Pokemon pokemon) -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
getBattleController
-
Constructor Details
-
SpawnPixelmonEntityForBattleEvent
-
-
Method Details
-
getPokemon
Gets the Pokémon being sent out- Returns:
- Sent out Pokémon
-