public static class EggBlockEvent.SelectSpecies extends EggBlockEvent
Modifier and Type | Class and Description |
---|---|
static class |
EggBlockEvent.SelectSpecies.Post
Fired after the species is selected
|
static class |
EggBlockEvent.SelectSpecies.Pre
Fired before the species is decided - setting the species to null prevents the boss from spawning
|
EggBlockEvent.BeginFight, EggBlockEvent.SelectSpecies
Modifier and Type | Field and Description |
---|---|
protected Species |
species |
block, level, state
Constructor and Description |
---|
SelectSpecies(net.minecraft.world.World level,
net.minecraft.util.math.BlockPos block,
net.minecraft.block.BlockState state,
Species species) |
Modifier and Type | Method and Description |
---|---|
Species |
getSpecies()
If this is null then it means the boss will not spawn
|
getBlock, getLevel, getState
protected Species species
public SelectSpecies(net.minecraft.world.World level, net.minecraft.util.math.BlockPos block, net.minecraft.block.BlockState state, @Nullable Species species)
public Species getSpecies()