Package net.minecraft.util
Enum Class OperatingSystem
- All Implemented Interfaces:
Serializable,Comparable<OperatingSystem>,Constable
- Mappings:
Namespace Name intermediary net/minecraft/class_531glue class_588server net/minecraft/class_531client pdnamed net/minecraft/util/OperatingSystem
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OperatingSystemReturns the enum constant of this class with the specified name.static OperatingSystem[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LINUX
- Mappings:
Namespace Name Mixin selector intermediary field_2210Lnet/minecraft/class_531;field_2210:Lnet/minecraft/class_531;glue field_2403Lclass_588;field_2403:Lclass_588;server field_2210Lnet/minecraft/class_531;field_2210:Lnet/minecraft/class_531;client aLpd;a:Lpd;named LINUXLnet/minecraft/util/OperatingSystem;LINUX:Lnet/minecraft/util/OperatingSystem;
-
SOLARIS
- Mappings:
Namespace Name Mixin selector intermediary field_2211Lnet/minecraft/class_531;field_2211:Lnet/minecraft/class_531;glue field_2404Lclass_588;field_2404:Lclass_588;server field_2211Lnet/minecraft/class_531;field_2211:Lnet/minecraft/class_531;client bLpd;b:Lpd;named SOLARISLnet/minecraft/util/OperatingSystem;SOLARIS:Lnet/minecraft/util/OperatingSystem;
-
WINDOWS
- Mappings:
Namespace Name Mixin selector intermediary field_2212Lnet/minecraft/class_531;field_2212:Lnet/minecraft/class_531;glue field_2405Lclass_588;field_2405:Lclass_588;server field_2212Lnet/minecraft/class_531;field_2212:Lnet/minecraft/class_531;client cLpd;c:Lpd;named WINDOWSLnet/minecraft/util/OperatingSystem;WINDOWS:Lnet/minecraft/util/OperatingSystem;
-
MACOS
- Mappings:
Namespace Name Mixin selector intermediary field_2213Lnet/minecraft/class_531;field_2213:Lnet/minecraft/class_531;glue field_2406Lclass_588;field_2406:Lclass_588;server field_2213Lnet/minecraft/class_531;field_2213:Lnet/minecraft/class_531;client dLpd;d:Lpd;named MACOSLnet/minecraft/util/OperatingSystem;MACOS:Lnet/minecraft/util/OperatingSystem;
-
UNKNOWN
- Mappings:
Namespace Name Mixin selector intermediary field_2214Lnet/minecraft/class_531;field_2214:Lnet/minecraft/class_531;glue field_2407Lclass_588;field_2407:Lclass_588;server field_2214Lnet/minecraft/class_531;field_2214:Lnet/minecraft/class_531;client eLpd;e:Lpd;named UNKNOWNLnet/minecraft/util/OperatingSystem;UNKNOWN:Lnet/minecraft/util/OperatingSystem;
-
-
Constructor Details
-
OperatingSystem
private OperatingSystem()
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-