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