Class TeachMoveEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.npc.TeachMoveEvent
- Direct Known Subclasses:
TeachMoveEvent.CanLearnMove
,TeachMoveEvent.MoveLearnt
public class TeachMoveEvent
extends net.minecraftforge.eventbus.api.Event
All events relating to the npc tutor and relearner teaching a move
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Called when theLearnMoveController.LearnMove
is checking if a Pokemon can learn the move presentedstatic class
Events relating to when a player's pokemon learns a move from the move tutor or move relearnerNested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTeachMoveEvent
(net.minecraft.world.entity.player.Player player, Pokemon pokemon) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.entity.player.Player
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
player
protected final net.minecraft.world.entity.player.Player player -
pokemon
-
-
Constructor Details
-
TeachMoveEvent
-
-
Method Details
-
getPlayer
public net.minecraft.world.entity.player.Player getPlayer() -
getPokemon
-