public static class TeachMoveEvent.MoveLearnt extends TeachMoveEvent
Modifier and Type | Class and Description |
---|---|
static class |
TeachMoveEvent.MoveLearnt.Post
After all costs are taken and move it taught
|
static class |
TeachMoveEvent.MoveLearnt.Pre
Before any costs are taken or moves are taught
Cancelling this will cancel the move being learnt
|
TeachMoveEvent.CanLearnMove, TeachMoveEvent.MoveLearnt
Modifier and Type | Field and Description |
---|---|
protected ImmutableAttack |
attack |
protected NPCEntity |
npc |
player, pokemon
Constructor and Description |
---|
MoveLearnt(net.minecraft.entity.player.PlayerEntity player,
Pokemon pokemon,
NPCEntity npc,
ImmutableAttack attack) |
Modifier and Type | Method and Description |
---|---|
ImmutableAttack |
getAttack() |
NPCEntity |
getNpc() |
getPlayer, getPokemon
protected final NPCEntity npc
protected final ImmutableAttack attack
public MoveLearnt(net.minecraft.entity.player.PlayerEntity player, Pokemon pokemon, NPCEntity npc, ImmutableAttack attack)
public NPCEntity getNpc()
public ImmutableAttack getAttack()