Package org.bukkit
Class GameEvent
java.lang.Object
org.bukkit.GameEvent
- All Implemented Interfaces:
net.kyori.adventure.key.Keyed
,Keyed
Represents a generic Mojang game event.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
Deprecated.static final GameEvent
Deprecated.static final GameEvent
Deprecated.static final GameEvent
Deprecated.static final GameEvent
static final GameEvent
static final GameEvent
Deprecated.static final GameEvent
static final GameEvent
Deprecated.static final GameEvent
static final GameEvent
Deprecated.static final GameEvent
static final GameEvent
static final GameEvent
Deprecated.static final GameEvent
static final GameEvent
static final GameEvent
Deprecated.static final GameEvent
static final GameEvent
Deprecated.static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
Deprecated.static final GameEvent
static final GameEvent
Deprecated.static final GameEvent
Deprecated.static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
Deprecated.static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
Deprecated.static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
Deprecated.static final GameEvent
Deprecated.static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
static final GameEvent
Deprecated. -
Method Summary
Modifier and TypeMethodDescriptiongetByKey
(@NotNull NamespacedKey namespacedKey) Returns aGameEvent
by aNamespacedKey
.getKey()
Return the namespaced identifier for this object.static @NotNull Collection<GameEvent>
values()
Returns the set of all GameEvents.
-
Field Details
-
BLOCK_ACTIVATE
-
BLOCK_ATTACH
-
BLOCK_CHANGE
-
BLOCK_CLOSE
-
BLOCK_DEACTIVATE
-
BLOCK_DESTROY
-
BLOCK_DETACH
-
BLOCK_OPEN
-
BLOCK_PLACE
-
BLOCK_PRESS
Deprecated. -
BLOCK_SWITCH
Deprecated. -
BLOCK_UNPRESS
Deprecated. -
BLOCK_UNSWITCH
Deprecated. -
CONTAINER_CLOSE
-
CONTAINER_OPEN
-
DISPENSE_FAIL
Deprecated. -
DRINK
-
DRINKING_FINISH
Deprecated. -
EAT
-
ELYTRA_FREE_FALL
Deprecated. -
ELYTRA_GLIDE
-
ENTITY_DAMAGE
-
ENTITY_DAMAGED
Deprecated. -
ENTITY_DIE
-
ENTITY_DISMOUNT
-
ENTITY_DYING
Deprecated. -
ENTITY_INTERACT
-
ENTITY_MOUNT
-
ENTITY_KILLED
Deprecated. -
ENTITY_PLACE
-
ENTITY_ROAR
-
ENTITY_SHAKE
-
EQUIP
-
EXPLODE
-
FLAP
-
FLUID_PICKUP
-
FLUID_PLACE
-
HIT_GROUND
-
INSTRUMENT_PLAY
-
ITEM_INTERACT_FINISH
-
ITEM_INTERACT_START
-
JUKEBOX_PLAY
-
JUKEBOX_STOP_PLAY
-
LIGHTNING_STRIKE
-
MOB_INTERACT
Deprecated. -
NOTE_BLOCK_PLAY
-
PISTON_CONTRACT
Deprecated. -
PISTON_EXTEND
Deprecated. -
PRIME_FUSE
-
PROJECTILE_LAND
-
PROJECTILE_SHOOT
-
RAVAGER_ROAR
Deprecated. -
RING_BELL
Deprecated. -
SCULK_SENSOR_TENDRILS_CLICKING
-
SHEAR
-
SHRIEK
-
SHULKER_CLOSE
Deprecated. -
SHULKER_OPEN
Deprecated. -
SPLASH
-
STEP
-
SWIM
-
TELEPORT
-
WOLF_SHAKING
Deprecated. -
RESONATE_1
-
RESONATE_2
-
RESONATE_3
-
RESONATE_4
-
RESONATE_5
-
RESONATE_6
-
RESONATE_7
-
RESONATE_8
-
RESONATE_9
-
RESONATE_10
-
RESONATE_11
-
RESONATE_12
-
RESONATE_13
-
RESONATE_14
-
RESONATE_15
-
-
Method Details
-
getKey
Description copied from interface:Keyed
Return the namespaced identifier for this object. -
getByKey
Returns aGameEvent
by aNamespacedKey
.- Parameters:
namespacedKey
- the key- Returns:
- the event or null
-
values
Returns the set of all GameEvents.- Returns:
- the memoryKeys
-