Enum Class OperatingSystem

java.lang.Object
java.lang.Enum<OperatingSystem>
net.minecraft.client.util.OperatingSystem
All Implemented Interfaces:
Serializable, Comparable<OperatingSystem>, Constable

@Environment(CLIENT) public enum OperatingSystem extends Enum<OperatingSystem>
Mappings:
Namespace Name
official x
intermediary net/minecraft/class_342
named net/minecraft/client/util/OperatingSystem
  • Enum Constant Details

    • LINUX

      public static final OperatingSystem LINUX
      Mappings:
      Namespace Name Mixin selector
      official a Lx;a:Lx;
      intermediary field_923 Lnet/minecraft/class_342;field_923:Lnet/minecraft/class_342;
      named LINUX Lnet/minecraft/client/util/OperatingSystem;LINUX:Lnet/minecraft/client/util/OperatingSystem;
    • SOLARIS

      public static final OperatingSystem SOLARIS
      Mappings:
      Namespace Name Mixin selector
      official b Lx;b:Lx;
      intermediary field_924 Lnet/minecraft/class_342;field_924:Lnet/minecraft/class_342;
      named SOLARIS Lnet/minecraft/client/util/OperatingSystem;SOLARIS:Lnet/minecraft/client/util/OperatingSystem;
    • WINDOWS

      public static final OperatingSystem WINDOWS
      Mappings:
      Namespace Name Mixin selector
      official c Lx;c:Lx;
      intermediary field_925 Lnet/minecraft/class_342;field_925:Lnet/minecraft/class_342;
      named WINDOWS Lnet/minecraft/client/util/OperatingSystem;WINDOWS:Lnet/minecraft/client/util/OperatingSystem;
    • OSX

      public static final OperatingSystem OSX
      Mappings:
      Namespace Name Mixin selector
      official d Lx;d:Lx;
      intermediary field_9090 Lnet/minecraft/class_342;field_9090:Lnet/minecraft/class_342;
      named OSX Lnet/minecraft/client/util/OperatingSystem;OSX:Lnet/minecraft/client/util/OperatingSystem;
    • UNKNOWN

      public static final OperatingSystem UNKNOWN
      Mappings:
      Namespace Name Mixin selector
      official e Lx;e:Lx;
      intermediary field_927 Lnet/minecraft/class_342;field_927:Lnet/minecraft/class_342;
      named UNKNOWN Lnet/minecraft/client/util/OperatingSystem;UNKNOWN:Lnet/minecraft/client/util/OperatingSystem;
  • Constructor Details

    • OperatingSystem

      private OperatingSystem()
  • Method Details

    • values

      public static OperatingSystem[] 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 OperatingSystem 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