Class ApplyBonusStatsEvent.Pre
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
com.pixelmonmod.pixelmon.api.events.battles.ApplyBonusStatsEvent
com.pixelmonmod.pixelmon.api.events.battles.ApplyBonusStatsEvent.Pre
- Enclosing class:
- ApplyBonusStatsEvent
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
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.battles.BattleEvent
battleController
-
Constructor Summary
-
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 net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
Pre
-
-
Method Details
-
getBonusStats
-
setBonusStats
-