Class EggBlockEvent.BeginFight
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.block.EggBlockEvent
com.pixelmonmod.pixelmon.api.block.EggBlockEvent.BeginFight
- Direct Known Subclasses:
EggBlockEvent.BeginFight.Post
,EggBlockEvent.BeginFight.Pre
- Enclosing class:
- EggBlockEvent
Event fired around when the fight begins
Allows you to swap out the PixelmonEnity is desired
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.block.EggBlockEvent
EggBlockEvent.BeginFight, EggBlockEvent.SelectSpecies
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.block.EggBlockEvent
block, level, state
-
Constructor Summary
ConstructorDescriptionBeginFight
(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
getBlock, getLevel, getState
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
entity
-
-
Constructor Details
-
BeginFight
public BeginFight(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos block, net.minecraft.world.level.block.state.BlockState state, @Nonnull PixelmonEntity entity)
-
-
Method Details
-
getEntity
-