Class SetLevellingEvent
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.pokemon.SetLevellingEvent
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
public class SetLevellingEvent
extends net.neoforged.bus.api.Event
implements net.neoforged.bus.api.ICancellableEvent
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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.neoforged.bus.api.ICancellableEvent
isCanceled, setCanceled
-
Field Details
-
pokemon
The Pokémon subject to this. -
doesLevel
public boolean doesLevelWhether levelling is going to be enabled or disabled.
-
-
Constructor Details
-
SetLevellingEvent
-