Enum Class WorldType

java.lang.Object
java.lang.Enum<WorldType>
com.github.retrooper.packetevents.protocol.world.WorldType
All Implemented Interfaces:
Serializable, Comparable<WorldType>, Constable

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

    • DEFAULT

      public static final WorldType DEFAULT
    • FLAT

      public static final WorldType FLAT
    • LARGE_BIOMES

      public static final WorldType LARGE_BIOMES
    • AMPLIFIED

      public static final WorldType AMPLIFIED
    • CUSTOMIZED

      public static final WorldType CUSTOMIZED
    • BUFFET

      public static final WorldType BUFFET
    • DEBUG_ALL_BLOCK_STATES

      public static final WorldType DEBUG_ALL_BLOCK_STATES
    • DEFAULT_1_1

      public static final WorldType DEFAULT_1_1
  • Method Details

    • values

      public static WorldType[] 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 WorldType 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
    • getName

      public String getName()
    • getByName

      @Nullable public static @Nullable WorldType getByName(String name)