public static class PixelmonSpawnerEvent.Post extends PixelmonSpawnerEvent
PixelmonSpawnerEvent.Post, PixelmonSpawnerEvent.Pre
spawner, spawnPosition, spec
Constructor and Description |
---|
Post(PixelmonSpawnerTileEntity spawner,
PokemonSpecification spec,
net.minecraft.util.math.BlockPos spawnPosition,
PixelmonEntity entity) |
Modifier and Type | Method and Description |
---|---|
PixelmonEntity |
getEntity()
Gets the entity that has been spawned
|
Pokemon |
getPokemon()
Gets the Pokemon that has been spawned
|
getLevel, getSpawner, getSpawnerPosition, getSpawnerState, getSpawnPosition, getSpec
public Post(PixelmonSpawnerTileEntity spawner, PokemonSpecification spec, net.minecraft.util.math.BlockPos spawnPosition, PixelmonEntity entity)
public PixelmonEntity getEntity()
public Pokemon getPokemon()