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
  • Field Details

    • telemetryName

      private final String telemetryName
  • Constructor Details

    • OS

      private OS(String p_183998_)
  • 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
    • openUri

      public void openUri(URI p_137649_)
    • openFile

      public void openFile(File p_137645_)
    • openPath

      public void openPath(Path p_352210_)
    • getOpenUriArguments

      protected String[] getOpenUriArguments(URI p_352257_)
    • openUri

      public void openUri(String p_137647_)
    • telemetryName

      public String telemetryName()