Class ResearchDiscardEvent.Pre
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.research.event.ResearchDiscardEvent
com.pixelmonmod.pixelmon.api.research.event.ResearchDiscardEvent.Pre
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
ResearchDiscardEvent
public static class ResearchDiscardEvent.Pre
extends ResearchDiscardEvent
implements net.neoforged.bus.api.ICancellableEvent
This event is fired before the research is discarded.
This event is
.
If this event is canceled, the research will not be discarded.
This event is
invalid reference
Cancelable
If this event is canceled, the research will not be discarded.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.research.event.ResearchDiscardEvent
ResearchDiscardEvent.Post, ResearchDiscardEvent.Pre
-
Constructor Summary
ConstructorsConstructorDescriptionPre
(net.minecraft.server.level.ServerPlayer player, PlayerResearch research) -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.research.event.ResearchDiscardEvent
getPlayer, getResearch
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
-