public abstract class Gen2BellEvent
extends net.minecraftforge.fml.common.eventhandler.Event
Modifier and Type | Class and Description |
---|---|
static class |
Gen2BellEvent.RollSuccessEvent
Gen2BellEvent Event fires whenever a bell spawn roll is about to be made. |
static class |
Gen2BellEvent.SummonLegendary
Gen2BellEvent Event fires when a bell spawns a legendary. |
Modifier and Type | Field and Description |
---|---|
java.util.UUID |
playerUUID
The UUID of the player most relevant to the event.
|
Constructor and Description |
---|
Gen2BellEvent(java.util.UUID playerUUID) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.entity.player.EntityPlayerMP |
getPlayer()
Gets the player based off
playerUUID . |
public final java.util.UUID playerUUID
@Nullable public net.minecraft.entity.player.EntityPlayerMP getPlayer()
playerUUID
. Could be null in some cases where the player is offline.