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

    • NO_RESPAWN_BLOCK_AVAILABLE

      public static final GameEvent NO_RESPAWN_BLOCK_AVAILABLE
    • START_RAINING

      public static final GameEvent START_RAINING
    • STOP_RAINING

      public static final GameEvent STOP_RAINING
    • CHANGE_GAME_MODE

      public static final GameEvent CHANGE_GAME_MODE
    • WIN_GAME

      public static final GameEvent WIN_GAME
    • DEMO_EVENT

      public static final GameEvent DEMO_EVENT
    • PLAY_ARROW_HIT_SOUND

      public static final GameEvent PLAY_ARROW_HIT_SOUND
    • RAIN_LEVEL_CHANGE

      public static final GameEvent RAIN_LEVEL_CHANGE
    • THUNDER_LEVEL_CHANGE

      public static final GameEvent THUNDER_LEVEL_CHANGE
    • PUFFER_FISH_STING

      public static final GameEvent PUFFER_FISH_STING
    • GUARDIAN_ELDER_EFFECT

      public static final GameEvent GUARDIAN_ELDER_EFFECT
    • IMMEDIATE_RESPAWN

      public static final GameEvent IMMEDIATE_RESPAWN
    • 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)