Class ProgressResearchObjectiveEvent.Pre
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.research.event.ProgressResearchObjectiveEvent
com.pixelmonmod.pixelmon.api.research.event.ProgressResearchObjectiveEvent.Pre
- Enclosing class:
- ProgressResearchObjectiveEvent
This event is fired before the objective is progressed.
This event is
If this event is canceled, the objective will not be progressed.
This event is
Cancelable
.
If this event is canceled, the objective will not be progressed.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.research.event.ProgressResearchObjectiveEvent
ProgressResearchObjectiveEvent.Post, ProgressResearchObjectiveEvent.Pre
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPre
(net.minecraft.server.level.ServerPlayer player, PlayerResearch research, PlayerResearchStage stage, PlayerResearchObjective objective, InteractionEvent event, InteractionContext context) -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.research.event.ProgressResearchObjectiveEvent
getContext, getEvent, getObjective, getPlayer, getResearch, getStage, willComplete
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
Pre
public Pre(net.minecraft.server.level.ServerPlayer player, PlayerResearch research, PlayerResearchStage stage, PlayerResearchObjective objective, InteractionEvent event, InteractionContext context)
-