Class LevelUpEvent.Post
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.LevelUpEvent
com.pixelmonmod.pixelmon.api.events.LevelUpEvent.Post
- Enclosing class:
- LevelUpEvent
Fired just after the pokemon's level changes
Cannot be cancelled
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.LevelUpEvent
LevelUpEvent.Post, LevelUpEvent.Pre
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.LevelUpEvent
afterLevel, beforeLevel, cause, player, pokemon
-
Constructor Summary
ConstructorDescriptionPost
(net.minecraft.server.level.ServerPlayer player, PokemonLink pokemon, ExperienceGainType cause, int beforeLevel, int afterLevel) -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.LevelUpEvent
getAfterLevel, getBeforeLevel, getCause, getLevelChange, getPlayer, getPokemon, getPokemonLink
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
Post
public Post(net.minecraft.server.level.ServerPlayer player, PokemonLink pokemon, ExperienceGainType cause, int beforeLevel, int afterLevel)
-