java.lang.Object
java.lang.Enum<GameEvent>
org.geysermc.mcprotocollib.protocol.data.game.level.notify.GameEvent
All Implemented Interfaces:
Serializable, Comparable<GameEvent>, Constable

public enum GameEvent extends Enum<GameEvent>
  • Enum Constant Details

    • INVALID_BED

      public static final GameEvent INVALID_BED
    • START_RAIN

      public static final GameEvent START_RAIN
    • STOP_RAIN

      public static final GameEvent STOP_RAIN
    • CHANGE_GAMEMODE

      public static final GameEvent CHANGE_GAMEMODE
    • ENTER_CREDITS

      public static final GameEvent ENTER_CREDITS
    • DEMO_MESSAGE

      public static final GameEvent DEMO_MESSAGE
    • ARROW_HIT_PLAYER

      public static final GameEvent ARROW_HIT_PLAYER
    • RAIN_STRENGTH

      public static final GameEvent RAIN_STRENGTH
    • THUNDER_STRENGTH

      public static final GameEvent THUNDER_STRENGTH
    • PUFFERFISH_STING_SOUND

      public static final GameEvent PUFFERFISH_STING_SOUND
    • AFFECTED_BY_ELDER_GUARDIAN

      public static final GameEvent AFFECTED_BY_ELDER_GUARDIAN
    • ENABLE_RESPAWN_SCREEN

      public static final GameEvent ENABLE_RESPAWN_SCREEN
    • LIMITED_CRAFTING

      public static final GameEvent LIMITED_CRAFTING
    • LEVEL_CHUNKS_LOAD_START

      public static final GameEvent LEVEL_CHUNKS_LOAD_START
  • Method Details

    • values

      public static GameEvent[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static GameEvent valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • from

      public static GameEvent from(int id)