Package org.bukkit
Class GameEvent
java.lang.Object
org.bukkit.GameEvent
- All Implemented Interfaces:
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
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
static final GameEvent
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
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 TypeMethodDescriptionstatic GameEvent
getByKey
(NamespacedKey namespacedKey) Returns aGameEvent
by aNamespacedKey
.getKey()
Return the namespaced identifier for this object.static 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
-
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
-
PISTON_EXTEND
-
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.
-
-
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
-