Enum Class GraphicsQuality

java.lang.Object
java.lang.Enum<GraphicsQuality>
xyz.gmitch215.socketmc.util.option.GraphicsQuality
All Implemented Interfaces:
Serializable, Comparable<GraphicsQuality>, Constable

public enum GraphicsQuality extends Enum<GraphicsQuality>
Represents the different graphics rendering options.
  • Enum Constant Details

    • FAST

      public static final GraphicsQuality FAST
      Graphics are rendered in the fastest way possible.
    • FANCY

      public static final GraphicsQuality FANCY
      Graphics are rendered in a medium quality way.
    • FABULOUS

      public static final GraphicsQuality FABULOUS
      Graphics are rendered in the highest quality possible.
  • Method Details

    • values

      public static GraphicsQuality[] 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 GraphicsQuality 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
    • byOrdinal

      @NotNull public static @NotNull GraphicsQuality byOrdinal(int ordinal)
      Gets the GraphicsRendering by its ordinal.
      Parameters:
      ordinal -
      Returns:
      GraphicsRendering by ordinal