Class GameEventTagKeys

java.lang.Object
io.papermc.paper.registry.keys.tags.GameEventTagKeys

@NullMarked @GeneratedFrom("1.21.8") public final class GameEventTagKeys extends Object
Vanilla tag 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

    • ALLAY_CAN_LISTEN

      public static final TagKey<GameEvent> ALLAY_CAN_LISTEN
      #minecraft:allay_can_listen
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • IGNORE_VIBRATIONS_SNEAKING

      public static final TagKey<GameEvent> IGNORE_VIBRATIONS_SNEAKING
      #minecraft:ignore_vibrations_sneaking
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • SHRIEKER_CAN_LISTEN

      public static final TagKey<GameEvent> SHRIEKER_CAN_LISTEN
      #minecraft:shrieker_can_listen
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • VIBRATIONS

      public static final TagKey<GameEvent> VIBRATIONS
      #minecraft:vibrations
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • WARDEN_CAN_LISTEN

      public static final TagKey<GameEvent> WARDEN_CAN_LISTEN
      #minecraft:warden_can_listen
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
  • Method Details

    • create

      public static TagKey<GameEvent> create(Key key)
      Creates a tag key for GameEvent in the registry minecraft:game_event.
      Parameters:
      key - the tag key's key
      Returns:
      a new tag key