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
  • Field Details

  • Constructor Details

    • CanLearnMove

      public CanLearnMove(net.minecraft.world.entity.player.Player player, Pokemon pokemon, ImmutableAttack attack)
  • Method Details