Class PixelmonFaintEvent.Pre
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.PixelmonFaintEvent
com.pixelmonmod.pixelmon.api.events.PixelmonFaintEvent.Pre
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
PixelmonFaintEvent
public static class PixelmonFaintEvent.Pre
extends PixelmonFaintEvent
implements net.neoforged.bus.api.ICancellableEvent
Fired before the fainting occurs
Cancelling this will prevent the health going invalid input: '<'= 0
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.PixelmonFaintEvent
PixelmonFaintEvent.Post, PixelmonFaintEvent.Pre
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.PixelmonFaintEvent
player, pokemon
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.PixelmonFaintEvent
getPlayer, getPokemon
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
-