Enum Util.OperatingSystem

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

public static enum Util.OperatingSystem
extends Enum<Util.OperatingSystem>
Mappings:
Namespace Name
official x$b
intermediary net/minecraft/class_156$class_158
named net/minecraft/util/Util$OperatingSystem
  • Enum Constant Details

    • LINUX

      public static final Util.OperatingSystem LINUX
      Mappings:
      Namespace Name Mixin selector
      official a Lx$b;a:Lx$b;
      intermediary field_1135 Lnet/minecraft/class_156$class_158;field_1135:Lnet/minecraft/class_156$class_158;
      named LINUX Lnet/minecraft/util/Util$OperatingSystem;LINUX:Lnet/minecraft/util/Util$OperatingSystem;
    • SOLARIS

      public static final Util.OperatingSystem SOLARIS
      Mappings:
      Namespace Name Mixin selector
      official b Lx$b;b:Lx$b;
      intermediary field_1134 Lnet/minecraft/class_156$class_158;field_1134:Lnet/minecraft/class_156$class_158;
      named SOLARIS Lnet/minecraft/util/Util$OperatingSystem;SOLARIS:Lnet/minecraft/util/Util$OperatingSystem;
    • WINDOWS

      public static final Util.OperatingSystem WINDOWS
      Mappings:
      Namespace Name Mixin selector
      official c Lx$b;c:Lx$b;
      intermediary field_1133 Lnet/minecraft/class_156$class_158;field_1133:Lnet/minecraft/class_156$class_158;
      named WINDOWS Lnet/minecraft/util/Util$OperatingSystem;WINDOWS:Lnet/minecraft/util/Util$OperatingSystem;
    • OSX

      public static final Util.OperatingSystem OSX
      Mappings:
      Namespace Name Mixin selector
      official d Lx$b;d:Lx$b;
      intermediary field_1137 Lnet/minecraft/class_156$class_158;field_1137:Lnet/minecraft/class_156$class_158;
      named OSX Lnet/minecraft/util/Util$OperatingSystem;OSX:Lnet/minecraft/util/Util$OperatingSystem;
    • UNKNOWN

      public static final Util.OperatingSystem UNKNOWN
      Mappings:
      Namespace Name Mixin selector
      official e Lx$b;e:Lx$b;
      intermediary field_1132 Lnet/minecraft/class_156$class_158;field_1132:Lnet/minecraft/class_156$class_158;
      named UNKNOWN Lnet/minecraft/util/Util$OperatingSystem;UNKNOWN:Lnet/minecraft/util/Util$OperatingSystem;
  • Constructor Details

    • OperatingSystem

      private OperatingSystem()
  • Method Details

    • values

      public static Util.OperatingSystem[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Util.OperatingSystem valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • open

      @Environment(CLIENT) public void open​(URL url)
      Mappings:
      Namespace Name Mixin selector
      official a Lx$b;a(Ljava/net/URL;)V
      intermediary method_669 Lnet/minecraft/class_156$class_158;method_669(Ljava/net/URL;)V
      named open Lnet/minecraft/util/Util$OperatingSystem;open(Ljava/net/URL;)V
    • open

      @Environment(CLIENT) public void open​(URI uRI)
      Mappings:
      Namespace Name Mixin selector
      official a Lx$b;a(Ljava/net/URI;)V
      intermediary method_673 Lnet/minecraft/class_156$class_158;method_673(Ljava/net/URI;)V
      named open Lnet/minecraft/util/Util$OperatingSystem;open(Ljava/net/URI;)V
    • open

      @Environment(CLIENT) public void open​(File file)
      Mappings:
      Namespace Name Mixin selector
      official a Lx$b;a(Ljava/io/File;)V
      intermediary method_672 Lnet/minecraft/class_156$class_158;method_672(Ljava/io/File;)V
      named open Lnet/minecraft/util/Util$OperatingSystem;open(Ljava/io/File;)V
    • getURLOpenCommand

      @Environment(CLIENT) protected String[] getURLOpenCommand​(URL url)
      Mappings:
      Namespace Name Mixin selector
      official b Lx$b;b(Ljava/net/URL;)[Ljava/lang/String;
      intermediary method_674 Lnet/minecraft/class_156$class_158;method_674(Ljava/net/URL;)[Ljava/lang/String;
      named getURLOpenCommand Lnet/minecraft/util/Util$OperatingSystem;getURLOpenCommand(Ljava/net/URL;)[Ljava/lang/String;
    • open

      @Environment(CLIENT) public void open​(String string)
      Mappings:
      Namespace Name Mixin selector
      official a Lx$b;a(Ljava/lang/String;)V
      intermediary method_670 Lnet/minecraft/class_156$class_158;method_670(Ljava/lang/String;)V
      named open Lnet/minecraft/util/Util$OperatingSystem;open(Ljava/lang/String;)V