public abstract class MovesetEvent
extends net.minecraftforge.fml.common.eventhandler.Event
Moveset
s for player-owned Pokémon. The two provided implementations
are MovesetEvent.LearntMoveEvent
and MovesetEvent.ForgotMoveEvent
. Both events hold final references to the PokemonLink
representation of the Moveset
owner and the Moveset
itself. Under no known circumstances,
as of writing, is the owner field or the moveset field null.
Both implementing events are very sensitive, and will fire for ALL modifications to movesets for player Pokémon.
Note that all implementations will fire AFTER the respective change, and all implementations are not cancellable.
Created January 3rd, 2018
Modifier and Type | Class and Description |
---|---|
static class |
MovesetEvent.ForgotMoveEvent
Subclass of
MovesetEvent fired when a move is forgotten or replaced. |
static class |
MovesetEvent.LearntMoveEvent
Subclass of
MovesetEvent fired when a move is learnt. |
Modifier and Type | Field and Description |
---|---|
Moveset |
moveset
The
Moveset that is changing. |
Pokemon |
pokemon |
Modifier | Constructor and Description |
---|---|
protected |
MovesetEvent(Pokemon pokemon,
Moveset moveset) |