Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
org.bukkit.event.block | |
org.bukkit.event.world |
Modifier and Type | Field and Description |
---|---|
static Registry<GameEvent> |
Registry.GAME_EVENT
Game events.
|
Modifier and Type | Method and Description |
---|---|
static GameEvent |
GameEvent.getByKey(NamespacedKey namespacedKey)
Returns a
GameEvent by a NamespacedKey . |
Modifier and Type | Method and Description |
---|---|
static Collection<GameEvent> |
GameEvent.values()
Returns the set of all GameEvents.
|
Modifier and Type | Method and Description |
---|---|
GameEvent |
BlockReceiveGameEvent.getEvent()
Get the underlying event.
|
Constructor and Description |
---|
BlockReceiveGameEvent(GameEvent event,
Block block,
Entity entity) |
Modifier and Type | Method and Description |
---|---|
GameEvent |
GenericGameEvent.getEvent()
Get the underlying event.
|
Constructor and Description |
---|
GenericGameEvent(GameEvent event,
Location location,
Entity entity,
int radius) |
Copyright © 2022. All rights reserved.