Class GameEventKeys

java.lang.Object
io.papermc.paper.registry.keys.GameEventKeys

@GeneratedFrom("1.21.3") @NullMarked @Experimental public final class GameEventKeys extends Object
Vanilla keys for RegistryKey.GAME_EVENT.
API Note:
The fields provided here are a direct representation of what is available from the vanilla game source. They may be changed (including removals) on any Minecraft version bump, so cross-version compatibility is not provided on the same level as it is on most of the other API.
  • Field Details

    • BLOCK_ACTIVATE

      public static final TypedKey<GameEvent> BLOCK_ACTIVATE
      minecraft:block_activate
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • BLOCK_ATTACH

      public static final TypedKey<GameEvent> BLOCK_ATTACH
      minecraft:block_attach
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • BLOCK_CHANGE

      public static final TypedKey<GameEvent> BLOCK_CHANGE
      minecraft:block_change
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • BLOCK_CLOSE

      public static final TypedKey<GameEvent> BLOCK_CLOSE
      minecraft:block_close
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • BLOCK_DEACTIVATE

      public static final TypedKey<GameEvent> BLOCK_DEACTIVATE
      minecraft:block_deactivate
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • BLOCK_DESTROY

      public static final TypedKey<GameEvent> BLOCK_DESTROY
      minecraft:block_destroy
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • BLOCK_DETACH

      public static final TypedKey<GameEvent> BLOCK_DETACH
      minecraft:block_detach
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • BLOCK_OPEN

      public static final TypedKey<GameEvent> BLOCK_OPEN
      minecraft:block_open
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • BLOCK_PLACE

      public static final TypedKey<GameEvent> BLOCK_PLACE
      minecraft:block_place
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • CONTAINER_CLOSE

      public static final TypedKey<GameEvent> CONTAINER_CLOSE
      minecraft:container_close
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • CONTAINER_OPEN

      public static final TypedKey<GameEvent> CONTAINER_OPEN
      minecraft:container_open
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • DRINK

      public static final TypedKey<GameEvent> DRINK
      minecraft:drink
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • EAT

      public static final TypedKey<GameEvent> EAT
      minecraft:eat
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • ELYTRA_GLIDE

      public static final TypedKey<GameEvent> ELYTRA_GLIDE
      minecraft:elytra_glide
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • ENTITY_ACTION

      public static final TypedKey<GameEvent> ENTITY_ACTION
      minecraft:entity_action
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • ENTITY_DAMAGE

      public static final TypedKey<GameEvent> ENTITY_DAMAGE
      minecraft:entity_damage
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • ENTITY_DIE

      public static final TypedKey<GameEvent> ENTITY_DIE
      minecraft:entity_die
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • ENTITY_DISMOUNT

      public static final TypedKey<GameEvent> ENTITY_DISMOUNT
      minecraft:entity_dismount
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • ENTITY_INTERACT

      public static final TypedKey<GameEvent> ENTITY_INTERACT
      minecraft:entity_interact
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • ENTITY_MOUNT

      public static final TypedKey<GameEvent> ENTITY_MOUNT
      minecraft:entity_mount
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • ENTITY_PLACE

      public static final TypedKey<GameEvent> ENTITY_PLACE
      minecraft:entity_place
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • EQUIP

      public static final TypedKey<GameEvent> EQUIP
      minecraft:equip
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • EXPLODE

      public static final TypedKey<GameEvent> EXPLODE
      minecraft:explode
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • FLAP

      public static final TypedKey<GameEvent> FLAP
      minecraft:flap
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • FLUID_PICKUP

      public static final TypedKey<GameEvent> FLUID_PICKUP
      minecraft:fluid_pickup
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • FLUID_PLACE

      public static final TypedKey<GameEvent> FLUID_PLACE
      minecraft:fluid_place
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • HIT_GROUND

      public static final TypedKey<GameEvent> HIT_GROUND
      minecraft:hit_ground
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • INSTRUMENT_PLAY

      public static final TypedKey<GameEvent> INSTRUMENT_PLAY
      minecraft:instrument_play
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • ITEM_INTERACT_FINISH

      public static final TypedKey<GameEvent> ITEM_INTERACT_FINISH
      minecraft:item_interact_finish
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • ITEM_INTERACT_START

      public static final TypedKey<GameEvent> ITEM_INTERACT_START
      minecraft:item_interact_start
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • JUKEBOX_PLAY

      public static final TypedKey<GameEvent> JUKEBOX_PLAY
      minecraft:jukebox_play
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • JUKEBOX_STOP_PLAY

      public static final TypedKey<GameEvent> JUKEBOX_STOP_PLAY
      minecraft:jukebox_stop_play
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • LIGHTNING_STRIKE

      public static final TypedKey<GameEvent> LIGHTNING_STRIKE
      minecraft:lightning_strike
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • NOTE_BLOCK_PLAY

      public static final TypedKey<GameEvent> NOTE_BLOCK_PLAY
      minecraft:note_block_play
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • PRIME_FUSE

      public static final TypedKey<GameEvent> PRIME_FUSE
      minecraft:prime_fuse
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • PROJECTILE_LAND

      public static final TypedKey<GameEvent> PROJECTILE_LAND
      minecraft:projectile_land
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • PROJECTILE_SHOOT

      public static final TypedKey<GameEvent> PROJECTILE_SHOOT
      minecraft:projectile_shoot
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • RESONATE_1

      public static final TypedKey<GameEvent> RESONATE_1
      minecraft:resonate_1
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • RESONATE_2

      public static final TypedKey<GameEvent> RESONATE_2
      minecraft:resonate_2
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • RESONATE_3

      public static final TypedKey<GameEvent> RESONATE_3
      minecraft:resonate_3
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • RESONATE_4

      public static final TypedKey<GameEvent> RESONATE_4
      minecraft:resonate_4
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • RESONATE_5

      public static final TypedKey<GameEvent> RESONATE_5
      minecraft:resonate_5
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • RESONATE_6

      public static final TypedKey<GameEvent> RESONATE_6
      minecraft:resonate_6
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • RESONATE_7

      public static final TypedKey<GameEvent> RESONATE_7
      minecraft:resonate_7
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • RESONATE_8

      public static final TypedKey<GameEvent> RESONATE_8
      minecraft:resonate_8
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • RESONATE_9

      public static final TypedKey<GameEvent> RESONATE_9
      minecraft:resonate_9
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • RESONATE_10

      public static final TypedKey<GameEvent> RESONATE_10
      minecraft:resonate_10
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • RESONATE_11

      public static final TypedKey<GameEvent> RESONATE_11
      minecraft:resonate_11
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • RESONATE_12

      public static final TypedKey<GameEvent> RESONATE_12
      minecraft:resonate_12
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • RESONATE_13

      public static final TypedKey<GameEvent> RESONATE_13
      minecraft:resonate_13
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • RESONATE_14

      public static final TypedKey<GameEvent> RESONATE_14
      minecraft:resonate_14
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • RESONATE_15

      public static final TypedKey<GameEvent> RESONATE_15
      minecraft:resonate_15
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • SCULK_SENSOR_TENDRILS_CLICKING

      public static final TypedKey<GameEvent> SCULK_SENSOR_TENDRILS_CLICKING
      minecraft:sculk_sensor_tendrils_clicking
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • SHEAR

      public static final TypedKey<GameEvent> SHEAR
      minecraft:shear
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • SHRIEK

      public static final TypedKey<GameEvent> SHRIEK
      minecraft:shriek
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • SPLASH

      public static final TypedKey<GameEvent> SPLASH
      minecraft:splash
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • STEP

      public static final TypedKey<GameEvent> STEP
      minecraft:step
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • SWIM

      public static final TypedKey<GameEvent> SWIM
      minecraft:swim
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • TELEPORT

      public static final TypedKey<GameEvent> TELEPORT
      minecraft:teleport
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • UNEQUIP

      public static final TypedKey<GameEvent> UNEQUIP
      minecraft:unequip
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
  • Method Details

    • create

      @Experimental public static TypedKey<GameEvent> create(Key key)
      Creates a key for GameEvent in the registry minecraft:game_event.
      Parameters:
      key - the value's key in the registry
      Returns:
      a new typed key