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()booleanvoidsetHyperTrained(boolean hyperTrained) voidsetStat(BattleStatsType stat) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-