Class EggBlockEvent.SelectSpecies.Pre

java.lang.Object
net.minecraftforge.eventbus.api.Event
Enclosing class:
EggBlockEvent.SelectSpecies

public static class EggBlockEvent.SelectSpecies.Pre extends EggBlockEvent.SelectSpecies
Fired before the species is decided - setting the species to null prevents the boss from spawning
  • Constructor Details

    • Pre

      public Pre(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos block, net.minecraft.world.level.block.state.BlockState state, @Nullable Species species)
  • Method Details

    • setSpecies

      public void setSpecies(@Nullable Species species)