Class TeachMoveEvent.MoveLearnt
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.npc.TeachMoveEvent
com.pixelmonmod.pixelmon.api.events.npc.TeachMoveEvent.MoveLearnt
- Direct Known Subclasses:
TeachMoveEvent.MoveLearnt.Post
,TeachMoveEvent.MoveLearnt.Pre
- Enclosing class:
- TeachMoveEvent
Events relating to when a player's pokemon learns a move from the move tutor or move relearner
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
After all costs are taken and move it taughtstatic class
Before any costs are taken or moves are taught Cancelling this will cancel the move being learntNested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.npc.TeachMoveEvent
TeachMoveEvent.CanLearnMove, TeachMoveEvent.MoveLearnt
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 inherited from class com.pixelmonmod.pixelmon.api.events.npc.TeachMoveEvent
player, pokemon
-
Constructor Summary
ConstructorDescriptionMoveLearnt
(net.minecraft.world.entity.player.Player player, Pokemon pokemon, NPC npc, ImmutableAttack attack) -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.npc.TeachMoveEvent
getPlayer, getPokemon
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
npc
-
attack
-
-
Constructor Details
-
MoveLearnt
public MoveLearnt(net.minecraft.world.entity.player.Player player, Pokemon pokemon, NPC npc, ImmutableAttack attack)
-
-
Method Details
-
getNpc
-
getAttack
-