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

public static class EggBlockEvent.BeginFight extends EggBlockEvent
Event fired around when the fight begins Allows you to swap out the PixelmonEnity is desired
  • Field Details

  • 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