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.
  • Constructor Details

    • RollChance

      public RollChance(DenEntity den, float chance)
  • Method Details

    • getChance

      public float getChance()
    • setChance

      public void setChance(float chance)