Class TeachMoveEvent.CanLearnMove
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.npc.TeachMoveEvent
com.pixelmonmod.pixelmon.api.events.npc.TeachMoveEvent.CanLearnMove
- Enclosing class:
- TeachMoveEvent
Called when the
LearnMoveController.LearnMove
is checking if a Pokemon
can learn the move presented-
Nested Class Summary
Nested 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
ConstructorDescriptionCanLearnMove
(net.minecraft.world.entity.player.Player player, Pokemon pokemon, 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
-
attack
-
-
Constructor Details
-
CanLearnMove
public CanLearnMove(net.minecraft.world.entity.player.Player player, Pokemon pokemon, ImmutableAttack attack)
-
-
Method Details
-
getAttack
-