Class TeachMoveEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.npc.TeachMoveEvent
Direct Known Subclasses:
TeachMoveEvent.CanLearnMove, TeachMoveEvent.MoveLearnt

public class TeachMoveEvent extends net.minecraftforge.eventbus.api.Event
All events relating to the npc tutor and relearner teaching a move
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Called when the LearnMoveController.LearnMove is checking if a Pokemon can learn the move presented
    static class 
    Events relating to when a player's pokemon learns a move from the move tutor or move relearner

    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 net.minecraft.world.entity.player.Player
     
    protected final Pokemon
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    TeachMoveEvent(net.minecraft.world.entity.player.Player player, Pokemon pokemon)
     
  • 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
    • pokemon

      protected final Pokemon pokemon
  • Constructor Details

    • TeachMoveEvent

      public TeachMoveEvent(net.minecraft.world.entity.player.Player player, Pokemon pokemon)
  • Method Details

    • getPlayer

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

      public Pokemon getPokemon()