public static class TeachMoveEvent.CanLearnMove extends TeachMoveEvent
LearnMoveController.LearnMove is checking if a Pokemon
can learn the move presentedTeachMoveEvent.CanLearnMove, TeachMoveEvent.MoveLearnt| Modifier and Type | Field and Description |
|---|---|
protected ImmutableAttack |
attack |
player, pokemon| Constructor and Description |
|---|
CanLearnMove(net.minecraft.entity.player.PlayerEntity player,
Pokemon pokemon,
ImmutableAttack attack) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableAttack |
getAttack() |
getPlayer, getPokemonprotected final ImmutableAttack attack
public CanLearnMove(net.minecraft.entity.player.PlayerEntity player,
Pokemon pokemon,
ImmutableAttack attack)
public ImmutableAttack getAttack()