Package org.bukkit
Class GameEvent
java.lang.Object
org.bukkit.GameEvent
- All Implemented Interfaces:
Keyed
Represents a generic Mojang game event.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEventstatic GameEvent -
Method Summary
Modifier and TypeMethodDescriptionstatic GameEventgetByKey(NamespacedKey namespacedKey)Returns aGameEventby aNamespacedKey.getKey()Return the namespaced identifier for this object.static Collection<GameEvent>values()Returns the set of all GameEvents.
-
Field Details
-
BLOCK_ATTACH
-
BLOCK_CHANGE
-
BLOCK_CLOSE
-
BLOCK_DESTROY
-
BLOCK_DETACH
-
BLOCK_OPEN
-
BLOCK_PLACE
-
BLOCK_PRESS
-
BLOCK_SWITCH
-
BLOCK_UNPRESS
-
BLOCK_UNSWITCH
-
CONTAINER_CLOSE
-
CONTAINER_OPEN
-
DISPENSE_FAIL
-
DRINKING_FINISH
-
EAT
-
ELYTRA_FREE_FALL
-
ENTITY_DAMAGED
-
ENTITY_KILLED
-
ENTITY_PLACE
-
EQUIP
-
EXPLODE
-
FISHING_ROD_CAST
-
FISHING_ROD_REEL_IN
-
FLAP
-
FLUID_PICKUP
-
FLUID_PLACE
-
HIT_GROUND
-
LIGHTNING_STRIKE
-
MINECART_MOVING
-
MOB_INTERACT
-
PISTON_CONTRACT
-
PISTON_EXTEND
-
PRIME_FUSE
-
PROJECTILE_LAND
-
PROJECTILE_SHOOT
-
RAVAGER_ROAR
-
RING_BELL
-
SHEAR
-
SHULKER_CLOSE
-
SHULKER_OPEN
-
SPLASH
-
STEP
-
SWIM
-
WOLF_SHAKING
-
-
Method Details
-
getKey
Description copied from interface:KeyedReturn the namespaced identifier for this object. -
getByKey
Returns aGameEventby aNamespacedKey.- Parameters:
namespacedKey- the key- Returns:
- the event or null
-
values
Returns the set of all GameEvents.- Returns:
- the memoryKeys
-