Class TeachMoveEvent.CanLearnMove
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.npc.TeachMoveEvent
com.pixelmonmod.pixelmon.api.events.npc.TeachMoveEvent.CanLearnMove
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
TeachMoveEvent
public static class TeachMoveEvent.CanLearnMove
extends TeachMoveEvent
implements net.neoforged.bus.api.ICancellableEvent
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
-
Field Summary
FieldsFields inherited from class com.pixelmonmod.pixelmon.api.events.npc.TeachMoveEvent
player, pokemon
-
Constructor Summary
ConstructorsConstructorDescriptionCanLearnMove
(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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.neoforged.bus.api.ICancellableEvent
isCanceled, setCanceled
-
Field Details
-
attack
-
-
Constructor Details
-
CanLearnMove
public CanLearnMove(net.minecraft.world.entity.player.Player player, Pokemon pokemon, ImmutableAttack attack)
-
-
Method Details
-
getAttack
-