Class NPCTutorEvent.CollectLearnableMoves.Pre
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.npc.NPCTutorEvent
com.pixelmonmod.pixelmon.api.events.npc.NPCTutorEvent.CollectLearnableMoves
com.pixelmonmod.pixelmon.api.events.npc.NPCTutorEvent.CollectLearnableMoves.Pre
- Enclosing class:
- NPCTutorEvent.CollectLearnableMoves
public static class NPCTutorEvent.CollectLearnableMoves.Pre
extends NPCTutorEvent.CollectLearnableMoves
Fired 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 learn
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.npc.NPCTutorEvent.CollectLearnableMoves
NPCTutorEvent.CollectLearnableMoves.Post, NPCTutorEvent.CollectLearnableMoves.Pre
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.npc.NPCTutorEvent
NPCTutorEvent.CollectLearnableMoves
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.NPCTutorEvent.CollectLearnableMoves
learnableMoves, pokemon
Fields inherited from class com.pixelmonmod.pixelmon.api.events.npc.NPCTutorEvent
npc, player
-
Constructor Summary
ConstructorDescriptionPre
(net.minecraft.world.entity.player.Player player, NPC npc, Pokemon pokemon, List<LearnableMove> learnableMoves) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLearnableMoves
(LearnableMove... moves) void
setLearnableMoves
(List<LearnableMove> learnableMoves) Methods inherited from class com.pixelmonmod.pixelmon.api.events.npc.NPCTutorEvent.CollectLearnableMoves
getLearnableMoves, getPokemon
Methods inherited from class com.pixelmonmod.pixelmon.api.events.npc.NPCTutorEvent
getNpc, getPlayer
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, NPC npc, Pokemon pokemon, List<LearnableMove> learnableMoves)
-
-
Method Details
-
addLearnableMoves
-
setLearnableMoves
-