Package net.minecraft.util
Enum 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$bintermediary net/minecraft/class_156$class_158named net/minecraft/util/Util$OperatingSystem
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
-
Constructor Summary
Constructors Modifier Constructor Description privateOperatingSystem() -
Method Summary
Modifier and Type Method Description protected String[]getURLOpenCommand(URL url)voidopen(File file)voidopen(String string)voidopen(URI uRI)voidopen(URL url)static Util.OperatingSystemvalueOf(String name)Returns the enum constant of this type with the specified name.static Util.OperatingSystem[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LINUX
- Mappings:
Namespace Name Mixin selector official aLx$b;a:Lx$b;intermediary field_1135Lnet/minecraft/class_156$class_158;field_1135:Lnet/minecraft/class_156$class_158;named LINUXLnet/minecraft/util/Util$OperatingSystem;LINUX:Lnet/minecraft/util/Util$OperatingSystem;
-
SOLARIS
- Mappings:
Namespace Name Mixin selector official bLx$b;b:Lx$b;intermediary field_1134Lnet/minecraft/class_156$class_158;field_1134:Lnet/minecraft/class_156$class_158;named SOLARISLnet/minecraft/util/Util$OperatingSystem;SOLARIS:Lnet/minecraft/util/Util$OperatingSystem;
-
WINDOWS
- Mappings:
Namespace Name Mixin selector official cLx$b;c:Lx$b;intermediary field_1133Lnet/minecraft/class_156$class_158;field_1133:Lnet/minecraft/class_156$class_158;named WINDOWSLnet/minecraft/util/Util$OperatingSystem;WINDOWS:Lnet/minecraft/util/Util$OperatingSystem;
-
OSX
- Mappings:
Namespace Name Mixin selector official dLx$b;d:Lx$b;intermediary field_1137Lnet/minecraft/class_156$class_158;field_1137:Lnet/minecraft/class_156$class_158;named OSXLnet/minecraft/util/Util$OperatingSystem;OSX:Lnet/minecraft/util/Util$OperatingSystem;
-
UNKNOWN
- Mappings:
Namespace Name Mixin selector official eLx$b;e:Lx$b;intermediary field_1132Lnet/minecraft/class_156$class_158;field_1132:Lnet/minecraft/class_156$class_158;named UNKNOWNLnet/minecraft/util/Util$OperatingSystem;UNKNOWN:Lnet/minecraft/util/Util$OperatingSystem;
-
-
Constructor Details
-
OperatingSystem
private OperatingSystem()
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
open
- Mappings:
Namespace Name Mixin selector official aLx$b;a(Ljava/net/URL;)Vintermediary method_669Lnet/minecraft/class_156$class_158;method_669(Ljava/net/URL;)Vnamed openLnet/minecraft/util/Util$OperatingSystem;open(Ljava/net/URL;)V
-
open
- Mappings:
Namespace Name Mixin selector official aLx$b;a(Ljava/net/URI;)Vintermediary method_673Lnet/minecraft/class_156$class_158;method_673(Ljava/net/URI;)Vnamed openLnet/minecraft/util/Util$OperatingSystem;open(Ljava/net/URI;)V
-
open
- Mappings:
Namespace Name Mixin selector official aLx$b;a(Ljava/io/File;)Vintermediary method_672Lnet/minecraft/class_156$class_158;method_672(Ljava/io/File;)Vnamed openLnet/minecraft/util/Util$OperatingSystem;open(Ljava/io/File;)V
-
getURLOpenCommand
- Mappings:
Namespace Name Mixin selector official bLx$b;b(Ljava/net/URL;)[Ljava/lang/String;intermediary method_674Lnet/minecraft/class_156$class_158;method_674(Ljava/net/URL;)[Ljava/lang/String;named getURLOpenCommandLnet/minecraft/util/Util$OperatingSystem;getURLOpenCommand(Ljava/net/URL;)[Ljava/lang/String;
-
open
- Mappings:
Namespace Name Mixin selector official aLx$b;a(Ljava/lang/String;)Vintermediary method_670Lnet/minecraft/class_156$class_158;method_670(Ljava/lang/String;)Vnamed openLnet/minecraft/util/Util$OperatingSystem;open(Ljava/lang/String;)V
-