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 |
---|---|
BellTileEntity |
bell |
double |
chance |
playerUUID
Constructor and Description |
---|
RollSuccessEvent(java.util.UUID playerUUID,
BellTileEntity bell) |
getPlayer
public final BellTileEntity bell
public double chance
public RollSuccessEvent(java.util.UUID playerUUID, BellTileEntity bell)