Enum Class Gas

java.lang.Object
java.lang.Enum<Gas>
io.github.addoncommunity.galactifun.api.universe.attributes.atmosphere.Gas
All Implemented Interfaces:
Serializable, Comparable<Gas>, Constable

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

    • OXYGEN

      public static final Gas OXYGEN
    • NITROGEN

      public static final Gas NITROGEN
    • CARBON_DIOXIDE

      public static final Gas CARBON_DIOXIDE
    • WATER

      public static final Gas WATER
    • HELIUM

      public static final Gas HELIUM
    • ARGON

      public static final Gas ARGON
    • METHANE

      public static final Gas METHANE
    • HYDROCARBONS

      public static final Gas HYDROCARBONS
    • HYDROGEN

      public static final Gas HYDROGEN
    • AMMONIA

      public static final Gas AMMONIA
    • OTHER

      public static final Gas OTHER
  • Method Details

    • values

      public static Gas[] 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 Gas 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
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Enum<Gas>
    • setRecipes

      public static void setRecipes()
    • item

      public io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item()
    • slimefunItem

      public io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem slimefunItem()