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.Pre
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.MoveLearnt
attack, npc
Fields inherited from class com.pixelmonmod.pixelmon.api.events.npc.TeachMoveEvent
player, pokemon
-
Constructor Summary
ConstructorDescriptionPre
(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, getNpc
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
-
Constructor Details
-
Pre
public Pre(net.minecraft.world.entity.player.Player player, Pokemon pokemon, NPC npc, ImmutableAttack attack)
-