Class PixelmonFaintEvent.Pre

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.PixelmonFaintEvent
com.pixelmonmod.pixelmon.api.events.PixelmonFaintEvent.Pre
Enclosing class:
PixelmonFaintEvent

public static class PixelmonFaintEvent.Pre extends PixelmonFaintEvent
Fired before the fainting occurs Cancelling this will prevent the health going <= 0
  • Constructor Details

    • Pre

      public Pre(@Nullable net.minecraft.server.level.ServerPlayer player, Pokemon pokemon)