public class TeachMoveEvent
extends net.minecraftforge.eventbus.api.Event
Modifier and Type | Class and Description |
---|---|
static class |
TeachMoveEvent.CanLearnMove
Called when the
LearnMoveController.LearnMove is checking if a Pokemon
can learn the move presented |
static class |
TeachMoveEvent.MoveLearnt
Events relating to when a player's pokemon learns a move from the move tutor or move relearner
|
Modifier and Type | Field and Description |
---|---|
protected net.minecraft.entity.player.PlayerEntity |
player |
protected Pokemon |
pokemon |
Constructor and Description |
---|
TeachMoveEvent(net.minecraft.entity.player.PlayerEntity player,
Pokemon pokemon) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.entity.player.PlayerEntity |
getPlayer() |
Pokemon |
getPokemon() |
protected final net.minecraft.entity.player.PlayerEntity player
protected final Pokemon pokemon
public TeachMoveEvent(net.minecraft.entity.player.PlayerEntity player, Pokemon pokemon)
public net.minecraft.entity.player.PlayerEntity getPlayer()
public Pokemon getPokemon()