public static class NPCTutorEvent.CollectLearnableMoves extends NPCTutorEvent
Modifier and Type | Class and Description |
---|---|
static class |
NPCTutorEvent.CollectLearnableMoves.Post
Fired after the screen is opened and packet is sent
|
static class |
NPCTutorEvent.CollectLearnableMoves.Pre
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
|
NPCTutorEvent.CollectLearnableMoves
Modifier and Type | Field and Description |
---|---|
protected java.util.List<NPCTutor.LearnableMove> |
learnableMoves |
protected Pokemon |
pokemon |
npc, player
Constructor and Description |
---|
CollectLearnableMoves(net.minecraft.entity.player.PlayerEntity player,
NPCTutor npc,
Pokemon pokemon,
java.util.List<NPCTutor.LearnableMove> learnableMoves) |
Modifier and Type | Method and Description |
---|---|
java.util.List<NPCTutor.LearnableMove> |
getLearnableMoves() |
Pokemon |
getPokemon() |
getNpc, getPlayer
protected final Pokemon pokemon
protected java.util.List<NPCTutor.LearnableMove> learnableMoves
public CollectLearnableMoves(net.minecraft.entity.player.PlayerEntity player, NPCTutor npc, Pokemon pokemon, java.util.List<NPCTutor.LearnableMove> learnableMoves)
public Pokemon getPokemon()
public java.util.List<NPCTutor.LearnableMove> getLearnableMoves()