Class NPCTutorEvent

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

public class NPCTutorEvent extends net.neoforged.bus.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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final NPC
     
    protected final net.minecraft.world.entity.player.Player
     
  • Constructor Summary

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

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

    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 NPC npc
  • Constructor Details

    • NPCTutorEvent

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

    • getPlayer

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

      public NPC getNpc()