Class ResearchCompleteEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.research.event.ResearchCompleteEvent

public class ResearchCompleteEvent extends net.minecraftforge.eventbus.api.Event
An event that is fired when a player completes a 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.
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    ResearchCompleteEvent(net.minecraft.server.level.ServerPlayer player, PlayerResearch research)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.server.level.ServerPlayer
     
     

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ResearchCompleteEvent

      public ResearchCompleteEvent(net.minecraft.server.level.ServerPlayer player, PlayerResearch research)
  • Method Details

    • getPlayer

      public net.minecraft.server.level.ServerPlayer getPlayer()
    • getResearch

      public PlayerResearch getResearch()