Class ClaimResearchObjectiveEvent.Pre
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.research.event.ClaimResearchObjectiveEvent
com.pixelmonmod.pixelmon.api.research.event.ClaimResearchObjectiveEvent.Pre
- Enclosing class:
- ClaimResearchObjectiveEvent
This event is fired before the player claims the rewards for the objective.
This event is
If this event is canceled, the player will not claim the rewards for the objective.
This event is
Cancelable
.
If this event is canceled, the player will not claim the rewards for the objective.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.research.event.ClaimResearchObjectiveEvent
ClaimResearchObjectiveEvent.Post, ClaimResearchObjectiveEvent.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
Fields inherited from class com.pixelmonmod.pixelmon.api.research.event.ClaimResearchObjectiveEvent
objective, player, research, stage
-
Constructor Summary
ConstructorDescriptionPre
(net.minecraft.server.level.ServerPlayer player, PlayerResearch research, PlayerResearchStage stage, PlayerResearchObjective objective) -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.research.event.ClaimResearchObjectiveEvent
getObjective, getPlayer, getResearch, getStage
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)
-