2023-11-23 05:56:28 +01:00
|
|
|
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;
|
2024-08-11 00:11:57 +02:00
|
|
|
import org.checkerframework.checker.nullness.qual.NonNull;
|
2023-11-23 05:56:28 +01:00
|
|
|
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"
|
|
|
|
})
|
2024-08-10 12:43:24 +02:00
|
|
|
@GeneratedFrom("1.21.1")
|
2023-11-23 05:56:28 +01:00
|
|
|
@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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> ELYTRA_GLIDE = create(key("elytra_glide"));
|
|
|
|
|
2024-04-27 22:30:15 +02:00
|
|
|
/**
|
|
|
|
* {@code minecraft:entity_action}
|
|
|
|
*
|
|
|
|
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
|
|
|
|
*/
|
|
|
|
public static final TypedKey<GameEvent> ENTITY_ACTION = create(key("entity_action"));
|
|
|
|
|
2023-11-23 05:56:28 +01:00
|
|
|
/**
|
|
|
|
* {@code minecraft:entity_damage}
|
|
|
|
*
|
|
|
|
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
|
|
|
|
*/
|
|
|
|
public static final TypedKey<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> 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<GameEvent> PROJECTILE_SHOOT = create(key("projectile_shoot"));
|
|
|
|
|
|
|
|
/**
|
2024-04-27 22:30:15 +02:00
|
|
|
* {@code minecraft:resonate_1}
|
2023-11-23 05:56:28 +01:00
|
|
|
*
|
|
|
|
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
|
|
|
|
*/
|
2024-04-27 22:30:15 +02:00
|
|
|
public static final TypedKey<GameEvent> RESONATE_1 = create(key("resonate_1"));
|
2023-11-23 05:56:28 +01:00
|
|
|
|
|
|
|
/**
|
2024-04-27 22:30:15 +02:00
|
|
|
* {@code minecraft:resonate_2}
|
2023-11-23 05:56:28 +01:00
|
|
|
*
|
|
|
|
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
|
|
|
|
*/
|
2024-04-27 22:30:15 +02:00
|
|
|
public static final TypedKey<GameEvent> RESONATE_2 = create(key("resonate_2"));
|
2023-11-23 05:56:28 +01:00
|
|
|
|
|
|
|
/**
|
2024-04-27 22:30:15 +02:00
|
|
|
* {@code minecraft:resonate_3}
|
2023-11-23 05:56:28 +01:00
|
|
|
*
|
|
|
|
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
|
|
|
|
*/
|
2024-04-27 22:30:15 +02:00
|
|
|
public static final TypedKey<GameEvent> RESONATE_3 = create(key("resonate_3"));
|
2023-11-23 05:56:28 +01:00
|
|
|
|
|
|
|
/**
|
2024-04-27 22:30:15 +02:00
|
|
|
* {@code minecraft:resonate_4}
|
2023-11-23 05:56:28 +01:00
|
|
|
*
|
|
|
|
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
|
|
|
|
*/
|
2024-04-27 22:30:15 +02:00
|
|
|
public static final TypedKey<GameEvent> RESONATE_4 = create(key("resonate_4"));
|
2023-11-23 05:56:28 +01:00
|
|
|
|
|
|
|
/**
|
2024-04-27 22:30:15 +02:00
|
|
|
* {@code minecraft:resonate_5}
|
2023-11-23 05:56:28 +01:00
|
|
|
*
|
|
|
|
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
|
|
|
|
*/
|
2024-04-27 22:30:15 +02:00
|
|
|
public static final TypedKey<GameEvent> RESONATE_5 = create(key("resonate_5"));
|
2023-11-23 05:56:28 +01:00
|
|
|
|
|
|
|
/**
|
2024-04-27 22:30:15 +02:00
|
|
|
* {@code minecraft:resonate_6}
|
2023-11-23 05:56:28 +01:00
|
|
|
*
|
|
|
|
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
|
|
|
|
*/
|
2024-04-27 22:30:15 +02:00
|
|
|
public static final TypedKey<GameEvent> RESONATE_6 = create(key("resonate_6"));
|
2023-11-23 05:56:28 +01:00
|
|
|
|
|
|
|
/**
|
2024-04-27 22:30:15 +02:00
|
|
|
* {@code minecraft:resonate_7}
|
2023-11-23 05:56:28 +01:00
|
|
|
*
|
|
|
|
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
|
|
|
|
*/
|
2024-04-27 22:30:15 +02:00
|
|
|
public static final TypedKey<GameEvent> RESONATE_7 = create(key("resonate_7"));
|
2023-11-23 05:56:28 +01:00
|
|
|
|
|
|
|
/**
|
2024-04-27 22:30:15 +02:00
|
|
|
* {@code minecraft:resonate_8}
|
2023-11-23 05:56:28 +01:00
|
|
|
*
|
|
|
|
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
|
|
|
|
*/
|
2024-04-27 22:30:15 +02:00
|
|
|
public static final TypedKey<GameEvent> RESONATE_8 = create(key("resonate_8"));
|
2023-11-23 05:56:28 +01:00
|
|
|
|
|
|
|
/**
|
2024-04-27 22:30:15 +02:00
|
|
|
* {@code minecraft:resonate_9}
|
2023-11-23 05:56:28 +01:00
|
|
|
*
|
|
|
|
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
|
|
|
|
*/
|
2024-04-27 22:30:15 +02:00
|
|
|
public static final TypedKey<GameEvent> RESONATE_9 = create(key("resonate_9"));
|
2023-11-23 05:56:28 +01:00
|
|
|
|
|
|
|
/**
|
2024-04-27 22:30:15 +02:00
|
|
|
* {@code minecraft:resonate_10}
|
2023-11-23 05:56:28 +01:00
|
|
|
*
|
|
|
|
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
|
|
|
|
*/
|
2024-04-27 22:30:15 +02:00
|
|
|
public static final TypedKey<GameEvent> RESONATE_10 = create(key("resonate_10"));
|
2023-11-23 05:56:28 +01:00
|
|
|
|
|
|
|
/**
|
2024-04-27 22:30:15 +02:00
|
|
|
* {@code minecraft:resonate_11}
|
2023-11-23 05:56:28 +01:00
|
|
|
*
|
|
|
|
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
|
|
|
|
*/
|
2024-04-27 22:30:15 +02:00
|
|
|
public static final TypedKey<GameEvent> RESONATE_11 = create(key("resonate_11"));
|
2023-11-23 05:56:28 +01:00
|
|
|
|
|
|
|
/**
|
2024-04-27 22:30:15 +02:00
|
|
|
* {@code minecraft:resonate_12}
|
2023-11-23 05:56:28 +01:00
|
|
|
*
|
|
|
|
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
|
|
|
|
*/
|
2024-04-27 22:30:15 +02:00
|
|
|
public static final TypedKey<GameEvent> RESONATE_12 = create(key("resonate_12"));
|
2023-11-23 05:56:28 +01:00
|
|
|
|
|
|
|
/**
|
2024-04-27 22:30:15 +02:00
|
|
|
* {@code minecraft:resonate_13}
|
2023-11-23 05:56:28 +01:00
|
|
|
*
|
|
|
|
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
|
|
|
|
*/
|
2024-04-27 22:30:15 +02:00
|
|
|
public static final TypedKey<GameEvent> RESONATE_13 = create(key("resonate_13"));
|
2023-11-23 05:56:28 +01:00
|
|
|
|
|
|
|
/**
|
2024-04-27 22:30:15 +02:00
|
|
|
* {@code minecraft:resonate_14}
|
2023-11-23 05:56:28 +01:00
|
|
|
*
|
|
|
|
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
|
|
|
|
*/
|
2024-04-27 22:30:15 +02:00
|
|
|
public static final TypedKey<GameEvent> RESONATE_14 = create(key("resonate_14"));
|
2023-11-23 05:56:28 +01:00
|
|
|
|
|
|
|
/**
|
2024-04-27 22:30:15 +02:00
|
|
|
* {@code minecraft:resonate_15}
|
2023-11-23 05:56:28 +01:00
|
|
|
*
|
|
|
|
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
|
|
|
|
*/
|
2024-04-27 22:30:15 +02:00
|
|
|
public static final TypedKey<GameEvent> RESONATE_15 = create(key("resonate_15"));
|
2023-11-23 05:56:28 +01:00
|
|
|
|
|
|
|
/**
|
2024-04-27 22:30:15 +02:00
|
|
|
* {@code minecraft:sculk_sensor_tendrils_clicking}
|
2023-11-23 05:56:28 +01:00
|
|
|
*
|
|
|
|
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
|
|
|
|
*/
|
2024-04-27 22:30:15 +02:00
|
|
|
public static final TypedKey<GameEvent> SCULK_SENSOR_TENDRILS_CLICKING = create(key("sculk_sensor_tendrils_clicking"));
|
2023-11-23 05:56:28 +01:00
|
|
|
|
|
|
|
/**
|
2024-04-27 22:30:15 +02:00
|
|
|
* {@code minecraft:shear}
|
2023-11-23 05:56:28 +01:00
|
|
|
*
|
|
|
|
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
|
|
|
|
*/
|
2024-04-27 22:30:15 +02:00
|
|
|
public static final TypedKey<GameEvent> SHEAR = create(key("shear"));
|
2023-11-23 05:56:28 +01:00
|
|
|
|
|
|
|
/**
|
2024-04-27 22:30:15 +02:00
|
|
|
* {@code minecraft:shriek}
|
2023-11-23 05:56:28 +01:00
|
|
|
*
|
|
|
|
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
|
|
|
|
*/
|
2024-04-27 22:30:15 +02:00
|
|
|
public static final TypedKey<GameEvent> SHRIEK = create(key("shriek"));
|
2023-11-23 05:56:28 +01:00
|
|
|
|
|
|
|
/**
|
2024-04-27 22:30:15 +02:00
|
|
|
* {@code minecraft:splash}
|
2023-11-23 05:56:28 +01:00
|
|
|
*
|
|
|
|
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
|
|
|
|
*/
|
2024-04-27 22:30:15 +02:00
|
|
|
public static final TypedKey<GameEvent> SPLASH = create(key("splash"));
|
2023-11-23 05:56:28 +01:00
|
|
|
|
|
|
|
/**
|
2024-04-27 22:30:15 +02:00
|
|
|
* {@code minecraft:step}
|
2023-11-23 05:56:28 +01:00
|
|
|
*
|
|
|
|
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
|
|
|
|
*/
|
2024-04-27 22:30:15 +02:00
|
|
|
public static final TypedKey<GameEvent> STEP = create(key("step"));
|
2023-11-23 05:56:28 +01:00
|
|
|
|
|
|
|
/**
|
2024-04-27 22:30:15 +02:00
|
|
|
* {@code minecraft:swim}
|
2023-11-23 05:56:28 +01:00
|
|
|
*
|
|
|
|
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
|
|
|
|
*/
|
2024-04-27 22:30:15 +02:00
|
|
|
public static final TypedKey<GameEvent> SWIM = create(key("swim"));
|
2023-11-23 05:56:28 +01:00
|
|
|
|
|
|
|
/**
|
2024-04-27 22:30:15 +02:00
|
|
|
* {@code minecraft:teleport}
|
2023-11-23 05:56:28 +01:00
|
|
|
*
|
|
|
|
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
|
|
|
|
*/
|
2024-04-27 22:30:15 +02:00
|
|
|
public static final TypedKey<GameEvent> TELEPORT = create(key("teleport"));
|
2023-11-23 05:56:28 +01:00
|
|
|
|
|
|
|
/**
|
2024-04-27 22:30:15 +02:00
|
|
|
* {@code minecraft:unequip}
|
2023-11-23 05:56:28 +01:00
|
|
|
*
|
|
|
|
* @apiNote This field is version-dependant and may be removed in future Minecraft versions
|
|
|
|
*/
|
2024-04-27 22:30:15 +02:00
|
|
|
public static final TypedKey<GameEvent> UNEQUIP = create(key("unequip"));
|
2023-11-23 05:56:28 +01:00
|
|
|
|
|
|
|
private GameEventKeys() {
|
|
|
|
}
|
|
|
|
|
2024-08-11 00:11:57 +02:00
|
|
|
private static @NonNull TypedKey<GameEvent> create(final @NonNull Key key) {
|
2023-11-23 05:56:28 +01:00
|
|
|
return TypedKey.create(RegistryKey.GAME_EVENT, key);
|
|
|
|
}
|
|
|
|
}
|