Enum Class ColorEffect

java.lang.Object
java.lang.Enum<ColorEffect>
de.cech12.colorblindnessclient.client.ColorEffect
All Implemented Interfaces:
Serializable, Comparable<ColorEffect>, Constable

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

    • ACHROMATOMALY

      public static final ColorEffect ACHROMATOMALY
      ACHROMATOMALY effect
    • ACHROMATOPSIA

      public static final ColorEffect ACHROMATOPSIA
      ACHROMATOPSIA effect
    • DEUTERANOMALY

      public static final ColorEffect DEUTERANOMALY
      DEUTERANOMALY effect
    • DEUTERANOPIA

      public static final ColorEffect DEUTERANOPIA
      DEUTERANOPIA effect
    • PROTANOMALY

      public static final ColorEffect PROTANOMALY
      PROTANOMALY effect
    • PROTANOPIA

      public static final ColorEffect PROTANOPIA
      PROTANOPIA effect
    • TRITANOMALY

      public static final ColorEffect TRITANOMALY
      TRITANOMALY effect
    • TRITANOPIA

      public static final ColorEffect TRITANOPIA
      TRITANOPIA effect
  • Method Details

    • values

      public static ColorEffect[] 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 ColorEffect 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
    • generateKeyMapping

      public net.minecraft.client.KeyMapping generateKeyMapping()
    • buttonPressed

      public static void buttonPressed()