public class PixelmonSpawnerEvent
extends net.minecraftforge.fml.common.eventhandler.Event
PokemonSpec
could be handled by checking the spawned
Pokémon list of the spawner tile entity after this event. Alternatively but not advisably,
you could cancel the event then create your own entity using all the same information.
Either way, it is not the intention of this event. Modifier and Type | Field and Description |
---|---|
net.minecraft.util.math.BlockPos.MutableBlockPos |
pos
The location it will spawn.
|
TileEntityPixelmonSpawner |
spawner
The spawner tile entity that's doing the spawning.
|
PokemonSpec |
spec
The
PokemonSpec that will be used to create the entity. |
Constructor and Description |
---|
PixelmonSpawnerEvent(TileEntityPixelmonSpawner spawner,
PokemonSpec spec,
net.minecraft.util.math.BlockPos.MutableBlockPos pos) |
public final TileEntityPixelmonSpawner spawner
public final PokemonSpec spec
PokemonSpec
that will be used to create the entity.public final net.minecraft.util.math.BlockPos.MutableBlockPos pos
public PixelmonSpawnerEvent(TileEntityPixelmonSpawner spawner, PokemonSpec spec, net.minecraft.util.math.BlockPos.MutableBlockPos pos)