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 GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
static GameEvent
-
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_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:Keyed
Return the namespaced identifier for this object. -
getByKey
@Nullable public static @Nullable GameEvent getByKey(@NotNull @NotNull NamespacedKey namespacedKey)Returns aGameEvent
by aNamespacedKey
.- Parameters:
namespacedKey
- the key- Returns:
- the event or null
-
values
Returns the set of all GameEvents.- Returns:
- the memoryKeys
-