Class Gen2BellEvent.RollSuccessEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.legendary.Gen2BellEvent
com.pixelmonmod.pixelmon.api.events.legendary.Gen2BellEvent.RollSuccessEvent
Enclosing class:
Gen2BellEvent

public static class Gen2BellEvent.RollSuccessEvent extends Gen2BellEvent
Gen2BellEvent Event fires whenever a bell spawn roll is about to be made.

The probability of the bell's success can be changed by modifying the chance field.

Cancelling this event will make the bell behave as if it failed.

Since:
May 27, 2018
  • Field Details

    • bell

      public final BellTileEntity bell
    • chance

      public double chance
  • Constructor Details