Class SetLevellingEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.pokemon.SetLevellingEvent
public class SetLevellingEvent
extends net.minecraftforge.eventbus.api.Event
Event fired when a Pokémon's levelling is toggled.
Cancelling this event will prevent the change from taking place. Setting the boolean will also modify what happens.
Created by Waterdude
- Since:
- April 29, 2021
-
Nested Class Summary
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
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
pokemon
The Pokémon subject to this. -
doesLevel
public boolean doesLevelWhether levelling is going to be enabled or disabled.
-
-
Constructor Details
-
SetLevellingEvent
-