public static class PixelmonSpawnerEvent.Pre extends PixelmonSpawnerEvent
PixelmonSpawnerEvent.Post, PixelmonSpawnerEvent.Prespawner, 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, getSpecpublic 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