public abstract class Gen2BellEvent
extends net.minecraftforge.eventbus.api.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.ServerPlayerEntity |
getPlayer()
Gets the player based off
playerUUID . |
public final java.util.UUID playerUUID
@Nullable public net.minecraft.entity.player.ServerPlayerEntity getPlayer()
playerUUID
. Could be null in some cases where the player is offline.