Class HyperTrainEvent
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.HyperTrainEvent
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
public class HyperTrainEvent
extends net.neoforged.bus.api.Event
implements net.neoforged.bus.api.ICancellableEvent
-
Constructor Summary
ConstructorsConstructorDescriptionHyperTrainEvent
(BattleStatsType stat, boolean hyperTrained, Pokemon pokemon) -
Method Summary
Modifier and TypeMethodDescriptiongetStat()
boolean
void
setHyperTrained
(boolean hyperTrained) void
setStat
(BattleStatsType stat) 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
-
HyperTrainEvent
- Parameters:
stat
- The stat to hypertrain. Null indicates all ivs to be adjusted (Gold Bottlecap)
-
-
Method Details
-
getStat
-
setStat
-
isHyperTrained
public boolean isHyperTrained() -
setHyperTrained
public void setHyperTrained(boolean hyperTrained) -
getPokemon
-