Class MovesetEvent.ForgotMoveEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.pokemon.MovesetEvent
com.pixelmonmod.pixelmon.api.events.pokemon.MovesetEvent.ForgotMoveEvent
Enclosing class:
MovesetEvent

public static class MovesetEvent.ForgotMoveEvent extends MovesetEvent
Subclass of MovesetEvent fired when a move is forgotten or replaced. This differs from MovesetEvent.LearntMoveEvent only in that it will fire even if no move is replacing the old one.

This is a notifying event and therefore does not support cancellation.

  • Field Details

    • forgottenAttack

      public final Attack forgottenAttack
      The move that was forgotten.
  • Constructor Details

    • ForgotMoveEvent

      public ForgotMoveEvent(Pokemon pokemon, Moveset moveset, Attack forgottenAttack)