Class EggBlockEvent.SelectSpecies.Pre
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.block.EggBlockEvent
com.pixelmonmod.pixelmon.api.block.EggBlockEvent.SelectSpecies
com.pixelmonmod.pixelmon.api.block.EggBlockEvent.SelectSpecies.Pre
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
EggBlockEvent.SelectSpecies
public static class EggBlockEvent.SelectSpecies.Pre
extends EggBlockEvent.SelectSpecies
implements net.neoforged.bus.api.ICancellableEvent
Fired before the species is decided - setting the species to null prevents the boss from spawning
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.block.EggBlockEvent.SelectSpecies
EggBlockEvent.SelectSpecies.Post, EggBlockEvent.SelectSpecies.Pre
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.block.EggBlockEvent
EggBlockEvent.BeginFight, EggBlockEvent.SelectSpecies
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.block.EggBlockEvent.SelectSpecies
species
Fields inherited from class com.pixelmonmod.pixelmon.api.block.EggBlockEvent
block, level, state
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.block.EggBlockEvent.SelectSpecies
getSpecies
Methods inherited from class com.pixelmonmod.pixelmon.api.block.EggBlockEvent
getBlock, getLevel, getState
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.neoforged.bus.api.ICancellableEvent
isCanceled, setCanceled
-
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
-