public static class PixelmonSpawnerEvent.Pre extends PixelmonSpawnerEvent
PixelmonSpawnerEvent.Post, PixelmonSpawnerEvent.Pre
spawner, spawnPosition, spec
Constructor and Description |
---|
Pre(PixelmonSpawnerTileEntity spawner,
PokemonSpecification spec,
net.minecraft.util.math.BlockPos spawnPosition) |
Modifier and Type | Method and Description |
---|---|
void |
setSpawnPosition(net.minecraft.util.math.BlockPos spawnPosition)
Sets the spawn position of the pokemon about to spawn
|
void |
setSpec(PokemonSpecification spec)
Sets the specification of the pokemon about to spawn
|
getLevel, getSpawner, getSpawnerPosition, getSpawnerState, getSpawnPosition, getSpec
public Pre(PixelmonSpawnerTileEntity spawner, PokemonSpecification spec, net.minecraft.util.math.BlockPos spawnPosition)
public void setSpec(PokemonSpecification spec)
spec
- The new specificationpublic void setSpawnPosition(net.minecraft.util.math.BlockPos spawnPosition)
spawnPosition
- The new specification