Enum Class NoiseType

java.lang.Object
java.lang.Enum<NoiseType>
com.hypixel.hytale.protocol.NoiseType
All Implemented Interfaces:
Serializable, Comparable<NoiseType>, Constable

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

    • Sin

      public static final NoiseType Sin
    • Cos

      public static final NoiseType Cos
    • Perlin_Linear

      public static final NoiseType Perlin_Linear
    • Perlin_Hermite

      public static final NoiseType Perlin_Hermite
    • Perlin_Quintic

      public static final NoiseType Perlin_Quintic
    • Random

      public static final NoiseType Random
  • Field Details

    • VALUES

      public static final NoiseType[] VALUES
    • value

      private final int value
  • Constructor Details

    • NoiseType

      private NoiseType(int value)
  • Method Details

    • values

      public static NoiseType[] 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 NoiseType 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
    • getValue

      public int getValue()
    • fromValue

      public static NoiseType fromValue(int value)