Class NPCTutorEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.npc.NPCTutorEvent
Direct Known Subclasses:
NPCTutorEvent.CollectLearnableMoves

public class NPCTutorEvent extends net.minecraftforge.eventbus.api.Event
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Events fired surrounding the client being sent what moves a tutor can teach

    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
    Modifier and Type
    Field
    Description
    protected final NPCTutor
     
    protected final net.minecraft.world.entity.player.Player
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    NPCTutorEvent(net.minecraft.world.entity.player.Player player, NPCTutor npc)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    net.minecraft.world.entity.player.Player
     

    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
  • Field Details

    • player

      protected final net.minecraft.world.entity.player.Player player
    • npc

      protected final NPCTutor npc
  • Constructor Details

    • NPCTutorEvent

      public NPCTutorEvent(net.minecraft.world.entity.player.Player player, NPCTutor npc)
  • Method Details

    • getPlayer

      public net.minecraft.world.entity.player.Player getPlayer()
    • getNpc

      public NPCTutor getNpc()