Class ApplyBonusStatsEvent.Pre
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
com.pixelmonmod.pixelmon.api.events.battles.ApplyBonusStatsEvent
com.pixelmonmod.pixelmon.api.events.battles.ApplyBonusStatsEvent.Pre
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
ApplyBonusStatsEvent
public static class ApplyBonusStatsEvent.Pre
extends ApplyBonusStatsEvent
implements net.neoforged.bus.api.ICancellableEvent
Fired when BonusStats are about to be applied to a Pokemon.
Cancelling will result in no stat changes.
Changing the BonusStats will change the stat changes without altering the BonusStats of the Pokemon.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.battles.ApplyBonusStatsEvent
ApplyBonusStatsEvent.Post, ApplyBonusStatsEvent.Pre
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
battleController
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.battles.ApplyBonusStatsEvent
getPokemon
Methods inherited from class com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
getBattleController
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
-
Constructor Details
-
Pre
-
-
Method Details
-
getBonusStats
-
setBonusStats
-