Class SpawnPixelmonEntityForBattleEvent.Post
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
com.pixelmonmod.pixelmon.api.events.SpawnPixelmonEntityForBattleEvent
com.pixelmonmod.pixelmon.api.events.SpawnPixelmonEntityForBattleEvent.Post
- Enclosing class:
SpawnPixelmonEntityForBattleEvent
public static class SpawnPixelmonEntityForBattleEvent.Post
extends SpawnPixelmonEntityForBattleEvent
Event fired after the Pokémon entity has spawned for battle.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.SpawnPixelmonEntityForBattleEvent
SpawnPixelmonEntityForBattleEvent.Post, SpawnPixelmonEntityForBattleEvent.Pre
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
battleController
-
Constructor Summary
ConstructorsConstructorDescriptionPost
(BattleController controller, Pokemon pokemon, PixelmonEntity entity) The post constructor -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.SpawnPixelmonEntityForBattleEvent
getPokemon
Methods inherited from class com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
getBattleController
-
Constructor Details
-
Post
The post constructor- Parameters:
pokemon
- The Pokémonentity
- The entity in the world
-
-
Method Details
-
getEntity
Gets the spawned entity- Returns:
- The entity
-