Class NPCTutorEvent.CollectLearnableMoves
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.npc.NPCTutorEvent
com.pixelmonmod.pixelmon.api.events.npc.NPCTutorEvent.CollectLearnableMoves
- Direct Known Subclasses:
NPCTutorEvent.CollectLearnableMoves.Post,NPCTutorEvent.CollectLearnableMoves.Pre
- Enclosing class:
- NPCTutorEvent
Events fired surrounding the client being sent what moves a tutor can teach
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFired after the screen is opened and packet is sentstatic classFired just before the packet is sent Cancelling this may cause some buggy behaviour Use this event for modifying the list of learnable moves that a Pokemon can learnNested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.npc.NPCTutorEvent
NPCTutorEvent.CollectLearnableMovesNested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result -
Field Summary
FieldsFields inherited from class com.pixelmonmod.pixelmon.api.events.npc.NPCTutorEvent
npc, player -
Constructor Summary
ConstructorsConstructorDescriptionCollectLearnableMoves(net.minecraft.world.entity.player.Player player, NPC npc, Pokemon pokemon, List<LearnableMove> learnableMoves) -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.npc.NPCTutorEvent
getNpc, getPlayerMethods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
pokemon
-
learnableMoves
-
-
Constructor Details
-
CollectLearnableMoves
public CollectLearnableMoves(net.minecraft.world.entity.player.Player player, NPC npc, Pokemon pokemon, List<LearnableMove> learnableMoves)
-
-
Method Details
-
getPokemon
-
getLearnableMoves
-