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
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
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.legendary.Gen2BellEvent
Gen2BellEvent.RollSuccessEvent, Gen2BellEvent.SummonLegendary
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.legendary.Gen2BellEvent
playerUUID
-
Constructor Summary
-
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.legendary.Gen2BellEvent
getPlayer
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
bell
-
chance
public double chance
-
-
Constructor Details
-
RollSuccessEvent
-