public static class MovesetEvent.LearntMoveEvent extends MovesetEvent
MovesetEventfired when a move is learnt. This will fire regardless of whether an existing move was replaced or not. The replacedAttack field, therefore, may quite possibly be null. If an existing attack was replaced, this event will be preceded by a
MovesetEvent.ForgotMoveEvent, but will still fire.
This is a notifying event and therefore does not support cancellation.
|Modifier and Type||Field and Description|
The attack being inserted into the moveset.
The attack that was replaced, if one was.
|Constructor and Description|
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
@Nullable public final Attack replacedAttack
public final Attack learntAttack