Package net.minecraft

Enum Class Util.OS

java.lang.Object
java.lang.Enum<Util.OS>
net.minecraft.Util.OS
All Implemented Interfaces:
Serializable, Comparable<Util.OS>, Constable
Enclosing class:
Util

public static enum Util.OS extends Enum<Util.OS>
  • Enum Constant Details

    • LINUX

      public static final Util.OS LINUX
    • SOLARIS

      public static final Util.OS SOLARIS
    • WINDOWS

      public static final Util.OS WINDOWS
    • OSX

      public static final Util.OS OSX
    • UNKNOWN

      public static final Util.OS UNKNOWN
  • Constructor Details

    • OS

      private OS()
  • Method Details

    • values

      public static Util.OS[] 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 Util.OS 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
    • openUrl

      public void openUrl(URL p_137651_)
    • openUri

      public void openUri(URI p_137649_)
    • openFile

      public void openFile(File p_137645_)
    • getOpenUrlArguments

      protected String[] getOpenUrlArguments(URL p_137652_)
    • openUri

      public void openUri(String p_137647_)