package io.papermc.paper.registry.keys; import static net.kyori.adventure.key.Key.key; import io.papermc.paper.generated.GeneratedFrom; import io.papermc.paper.registry.RegistryKey; import io.papermc.paper.registry.TypedKey; import net.kyori.adventure.key.Key; import org.bukkit.GameEvent; import org.checkerframework.checker.nullness.qual.NonNull; import org.jetbrains.annotations.ApiStatus; /** * Vanilla keys for {@link RegistryKey#GAME_EVENT}. * * @apiNote 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. */ @SuppressWarnings({ "unused", "SpellCheckingInspection" }) @GeneratedFrom("1.21.3") @ApiStatus.Experimental public final class GameEventKeys { /** * {@code minecraft:block_activate} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey BLOCK_ACTIVATE = create(key("block_activate")); /** * {@code minecraft:block_attach} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey BLOCK_ATTACH = create(key("block_attach")); /** * {@code minecraft:block_change} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey BLOCK_CHANGE = create(key("block_change")); /** * {@code minecraft:block_close} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey BLOCK_CLOSE = create(key("block_close")); /** * {@code minecraft:block_deactivate} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey BLOCK_DEACTIVATE = create(key("block_deactivate")); /** * {@code minecraft:block_destroy} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey BLOCK_DESTROY = create(key("block_destroy")); /** * {@code minecraft:block_detach} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey BLOCK_DETACH = create(key("block_detach")); /** * {@code minecraft:block_open} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey BLOCK_OPEN = create(key("block_open")); /** * {@code minecraft:block_place} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey BLOCK_PLACE = create(key("block_place")); /** * {@code minecraft:container_close} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey CONTAINER_CLOSE = create(key("container_close")); /** * {@code minecraft:container_open} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey CONTAINER_OPEN = create(key("container_open")); /** * {@code minecraft:drink} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey DRINK = create(key("drink")); /** * {@code minecraft:eat} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey EAT = create(key("eat")); /** * {@code minecraft:elytra_glide} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey ELYTRA_GLIDE = create(key("elytra_glide")); /** * {@code minecraft:entity_action} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey ENTITY_ACTION = create(key("entity_action")); /** * {@code minecraft:entity_damage} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey ENTITY_DAMAGE = create(key("entity_damage")); /** * {@code minecraft:entity_die} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey ENTITY_DIE = create(key("entity_die")); /** * {@code minecraft:entity_dismount} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey ENTITY_DISMOUNT = create(key("entity_dismount")); /** * {@code minecraft:entity_interact} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey ENTITY_INTERACT = create(key("entity_interact")); /** * {@code minecraft:entity_mount} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey ENTITY_MOUNT = create(key("entity_mount")); /** * {@code minecraft:entity_place} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey ENTITY_PLACE = create(key("entity_place")); /** * {@code minecraft:equip} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey EQUIP = create(key("equip")); /** * {@code minecraft:explode} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey EXPLODE = create(key("explode")); /** * {@code minecraft:flap} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey FLAP = create(key("flap")); /** * {@code minecraft:fluid_pickup} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey FLUID_PICKUP = create(key("fluid_pickup")); /** * {@code minecraft:fluid_place} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey FLUID_PLACE = create(key("fluid_place")); /** * {@code minecraft:hit_ground} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey HIT_GROUND = create(key("hit_ground")); /** * {@code minecraft:instrument_play} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey INSTRUMENT_PLAY = create(key("instrument_play")); /** * {@code minecraft:item_interact_finish} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey ITEM_INTERACT_FINISH = create(key("item_interact_finish")); /** * {@code minecraft:item_interact_start} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey ITEM_INTERACT_START = create(key("item_interact_start")); /** * {@code minecraft:jukebox_play} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey JUKEBOX_PLAY = create(key("jukebox_play")); /** * {@code minecraft:jukebox_stop_play} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey JUKEBOX_STOP_PLAY = create(key("jukebox_stop_play")); /** * {@code minecraft:lightning_strike} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey LIGHTNING_STRIKE = create(key("lightning_strike")); /** * {@code minecraft:note_block_play} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey NOTE_BLOCK_PLAY = create(key("note_block_play")); /** * {@code minecraft:prime_fuse} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey PRIME_FUSE = create(key("prime_fuse")); /** * {@code minecraft:projectile_land} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey PROJECTILE_LAND = create(key("projectile_land")); /** * {@code minecraft:projectile_shoot} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey PROJECTILE_SHOOT = create(key("projectile_shoot")); /** * {@code minecraft:resonate_1} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey RESONATE_1 = create(key("resonate_1")); /** * {@code minecraft:resonate_2} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey RESONATE_2 = create(key("resonate_2")); /** * {@code minecraft:resonate_3} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey RESONATE_3 = create(key("resonate_3")); /** * {@code minecraft:resonate_4} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey RESONATE_4 = create(key("resonate_4")); /** * {@code minecraft:resonate_5} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey RESONATE_5 = create(key("resonate_5")); /** * {@code minecraft:resonate_6} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey RESONATE_6 = create(key("resonate_6")); /** * {@code minecraft:resonate_7} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey RESONATE_7 = create(key("resonate_7")); /** * {@code minecraft:resonate_8} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey RESONATE_8 = create(key("resonate_8")); /** * {@code minecraft:resonate_9} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey RESONATE_9 = create(key("resonate_9")); /** * {@code minecraft:resonate_10} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey RESONATE_10 = create(key("resonate_10")); /** * {@code minecraft:resonate_11} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey RESONATE_11 = create(key("resonate_11")); /** * {@code minecraft:resonate_12} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey RESONATE_12 = create(key("resonate_12")); /** * {@code minecraft:resonate_13} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey RESONATE_13 = create(key("resonate_13")); /** * {@code minecraft:resonate_14} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey RESONATE_14 = create(key("resonate_14")); /** * {@code minecraft:resonate_15} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey RESONATE_15 = create(key("resonate_15")); /** * {@code minecraft:sculk_sensor_tendrils_clicking} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey SCULK_SENSOR_TENDRILS_CLICKING = create(key("sculk_sensor_tendrils_clicking")); /** * {@code minecraft:shear} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey SHEAR = create(key("shear")); /** * {@code minecraft:shriek} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey SHRIEK = create(key("shriek")); /** * {@code minecraft:splash} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey SPLASH = create(key("splash")); /** * {@code minecraft:step} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey STEP = create(key("step")); /** * {@code minecraft:swim} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey SWIM = create(key("swim")); /** * {@code minecraft:teleport} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey TELEPORT = create(key("teleport")); /** * {@code minecraft:unequip} * * @apiNote This field is version-dependant and may be removed in future Minecraft versions */ public static final TypedKey UNEQUIP = create(key("unequip")); private GameEventKeys() { } /** * Creates a key for {@link GameEvent} in the registry {@code minecraft:game_event}. * * @param key the value's key in the registry * @return a new typed key */ @ApiStatus.Experimental public static @NonNull TypedKey create(final @NonNull Key key) { return TypedKey.create(RegistryKey.GAME_EVENT, key); } }