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.
Gen2BellEvent.RollSuccessEvent, Gen2BellEvent.SummonLegendary| Modifier and Type | Field and Description |
|---|---|
TileEntityBell |
bell
The tile entity for the bell that passed the check.
|
double |
chance
The probability that the bell will spawn a legendary.
|
playerUUID| Constructor and Description |
|---|
RollSuccessEvent(java.util.UUID playerUUID,
TileEntityBell bell) |
getPlayerpublic final TileEntityBell bell
public double chance
PixelmonConfig.bellSuccessChance.public RollSuccessEvent(java.util.UUID playerUUID,
TileEntityBell bell)