Class ResearchCompleteEvent
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.research.event.ResearchCompleteEvent
public class ResearchCompleteEvent
extends net.neoforged.bus.api.Event
An event that is fired when a player completes a
This event is fired on the
This is only fired once the player claims the rewards for the last stage of the research through the user interface.
PlayerResearch
.
This event is fired on the
Pixelmon.EVENT_BUS
.
This is only fired once the player claims the rewards for the last stage of the research through the user interface.
-
Constructor Summary
ConstructorsConstructorDescriptionResearchCompleteEvent
(net.minecraft.server.level.ServerPlayer player, PlayerResearch research) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.server.level.ServerPlayer
-
Constructor Details
-
ResearchCompleteEvent
public ResearchCompleteEvent(net.minecraft.server.level.ServerPlayer player, PlayerResearch research)
-
-
Method Details
-
getPlayer
public net.minecraft.server.level.ServerPlayer getPlayer() -
getResearch
-