Class EggBlockEvent.BeginFight.Pre
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.block.EggBlockEvent
com.pixelmonmod.pixelmon.api.block.EggBlockEvent.BeginFight
com.pixelmonmod.pixelmon.api.block.EggBlockEvent.BeginFight.Pre
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
EggBlockEvent.BeginFight
public static class EggBlockEvent.BeginFight.Pre
extends EggBlockEvent.BeginFight
implements net.neoforged.bus.api.ICancellableEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.block.EggBlockEvent.BeginFight
EggBlockEvent.BeginFight.Post, EggBlockEvent.BeginFight.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.BeginFight
entity
Fields inherited from class com.pixelmonmod.pixelmon.api.block.EggBlockEvent
block, level, state
-
Constructor Summary
ConstructorsConstructorDescriptionPre
(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos block, net.minecraft.world.level.block.state.BlockState state, PixelmonEntity entity) -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.block.EggBlockEvent.BeginFight
getEntity
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, @Nonnull PixelmonEntity entity)
-
-
Method Details
-
setEntity
-