public static class LevelUpEvent.Pre extends LevelUpEvent
LevelUpEvent.Post, LevelUpEvent.Pre
afterLevel, beforeLevel, cause, player, pokemon
Constructor and Description |
---|
Pre(net.minecraft.entity.player.ServerPlayerEntity player,
PokemonLink pokemon,
ExperienceGainType cause,
int beforeLevel,
int afterLevel) |
Modifier and Type | Method and Description |
---|---|
void |
setAfterLevel(int afterLevel)
Modifies the level the Pokemon will go to
|
getAfterLevel, getBeforeLevel, getCause, getLevelChange, getPlayer, getPokemon, getPokemonLink
public Pre(net.minecraft.entity.player.ServerPlayerEntity player, PokemonLink pokemon, ExperienceGainType cause, int beforeLevel, int afterLevel)