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 classEvent fired after the Pokémon entity has spawned for battle.static classEvent 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
ConstructorsModifierConstructorDescriptionprotectedSpawnPixelmonEntityForBattleEvent(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
-