Class TeachMoveEvent.MoveLearnt.Pre
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.npc.TeachMoveEvent
com.pixelmonmod.pixelmon.api.events.npc.TeachMoveEvent.MoveLearnt
com.pixelmonmod.pixelmon.api.events.npc.TeachMoveEvent.MoveLearnt.Pre
- Enclosing class:
- TeachMoveEvent.MoveLearnt
Before any costs are taken or moves are taught
Cancelling this will cancel the move being learnt
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.npc.TeachMoveEvent.MoveLearnt
TeachMoveEvent.MoveLearnt.Post, TeachMoveEvent.MoveLearnt.PreNested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.npc.TeachMoveEvent
TeachMoveEvent.CanLearnMove, TeachMoveEvent.MoveLearntNested 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.MoveLearnt
attack, npcFields inherited from class com.pixelmonmod.pixelmon.api.events.npc.TeachMoveEvent
player, pokemon -
Constructor Summary
ConstructorsConstructorDescriptionPre(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.MoveLearnt
getAttack, getNpcMethods inherited from class com.pixelmonmod.pixelmon.api.events.npc.TeachMoveEvent
getPlayer, getPokemonMethods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
Pre
public Pre(net.minecraft.world.entity.player.Player player, Pokemon pokemon, NPC npc, ImmutableAttack attack)
-