Class RandomizeRaidEvent.ChooseStarLevel
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.raids.RandomizeRaidEvent
com.pixelmonmod.pixelmon.api.events.raids.RandomizeRaidEvent.ChooseStarLevel
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
RandomizeRaidEvent
public static class RandomizeRaidEvent.ChooseStarLevel
extends RandomizeRaidEvent
implements net.neoforged.bus.api.ICancellableEvent
Event is fired when selecting the star level of the raid.
Cancelling this event will prevent the raid from spawning.
Cancelling this event will prevent the raid from spawning.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.raids.RandomizeRaidEvent
RandomizeRaidEvent.ChooseStarLevel, RandomizeRaidEvent.RollChance, RandomizeRaidEvent.SelectSpawnsEvent
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.raids.RandomizeRaidEvent
den
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.raids.RandomizeRaidEvent
getDen
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
-
ChooseStarLevel
-
-
Method Details
-
getStars
public int getStars() -
setStars
public void setStars(int stars)
-