Class RandomizeRaidEvent.RollChance
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.raids.RandomizeRaidEvent
com.pixelmonmod.pixelmon.api.events.raids.RandomizeRaidEvent.RollChance
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
RandomizeRaidEvent
public static class RandomizeRaidEvent.RollChance
extends RandomizeRaidEvent
implements net.neoforged.bus.api.ICancellableEvent
Event fired when the raid is about to be spawned.
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
-
RollChance
-
-
Method Details
-
getChance
public float getChance() -
setChance
public void setChance(float chance)
-