Package net.minecraft.client.util
Enum Class OperatingSystem
- All Implemented Interfaces:
Serializable,Comparable<OperatingSystem>,Constable
- Mappings:
Namespace Name official xintermediary net/minecraft/class_342named net/minecraft/client/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 official aLx;a:Lx;intermediary field_923Lnet/minecraft/class_342;field_923:Lnet/minecraft/class_342;named LINUXLnet/minecraft/client/util/OperatingSystem;LINUX:Lnet/minecraft/client/util/OperatingSystem;
-
SOLARIS
- Mappings:
Namespace Name Mixin selector official bLx;b:Lx;intermediary field_924Lnet/minecraft/class_342;field_924:Lnet/minecraft/class_342;named SOLARISLnet/minecraft/client/util/OperatingSystem;SOLARIS:Lnet/minecraft/client/util/OperatingSystem;
-
WINDOWS
- Mappings:
Namespace Name Mixin selector official cLx;c:Lx;intermediary field_925Lnet/minecraft/class_342;field_925:Lnet/minecraft/class_342;named WINDOWSLnet/minecraft/client/util/OperatingSystem;WINDOWS:Lnet/minecraft/client/util/OperatingSystem;
-
OSX
- Mappings:
Namespace Name Mixin selector official dLx;d:Lx;intermediary field_9090Lnet/minecraft/class_342;field_9090:Lnet/minecraft/class_342;named OSXLnet/minecraft/client/util/OperatingSystem;OSX:Lnet/minecraft/client/util/OperatingSystem;
-
UNKNOWN
- Mappings:
Namespace Name Mixin selector official eLx;e:Lx;intermediary field_927Lnet/minecraft/class_342;field_927:Lnet/minecraft/class_342;named UNKNOWNLnet/minecraft/client/util/OperatingSystem;UNKNOWN:Lnet/minecraft/client/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
-