Enum Class OS

java.lang.Object
java.lang.Enum<OS>
net.minecraft.isom.OS
All Implemented Interfaces:
Serializable, Comparable<OS>, Constable

@Environment(CLIENT) enum OS extends Enum<OS>
Mappings:
Namespace Name
intermediary net/minecraft/class_343
glue class_366
server net/minecraft/class_343
client jn
named net/minecraft/isom/OS
  • Enum Constant Details

    • LINUX

      public static final OS LINUX
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1303 Lnet/minecraft/class_343;field_1303:Lnet/minecraft/class_343;
      glue field_1483 Lclass_366;field_1483:Lclass_366;
      server field_1303 Lnet/minecraft/class_343;field_1303:Lnet/minecraft/class_343;
      client a Ljn;a:Ljn;
      named LINUX Lnet/minecraft/isom/OS;LINUX:Lnet/minecraft/isom/OS;
    • SOLARIS

      public static final OS SOLARIS
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1304 Lnet/minecraft/class_343;field_1304:Lnet/minecraft/class_343;
      glue field_1484 Lclass_366;field_1484:Lclass_366;
      server field_1304 Lnet/minecraft/class_343;field_1304:Lnet/minecraft/class_343;
      client b Ljn;b:Ljn;
      named SOLARIS Lnet/minecraft/isom/OS;SOLARIS:Lnet/minecraft/isom/OS;
    • WINDOWS

      public static final OS WINDOWS
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1305 Lnet/minecraft/class_343;field_1305:Lnet/minecraft/class_343;
      glue field_1485 Lclass_366;field_1485:Lclass_366;
      server field_1305 Lnet/minecraft/class_343;field_1305:Lnet/minecraft/class_343;
      client c Ljn;c:Ljn;
      named WINDOWS Lnet/minecraft/isom/OS;WINDOWS:Lnet/minecraft/isom/OS;
    • MACOS

      public static final OS MACOS
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1306 Lnet/minecraft/class_343;field_1306:Lnet/minecraft/class_343;
      glue field_1486 Lclass_366;field_1486:Lclass_366;
      server field_1306 Lnet/minecraft/class_343;field_1306:Lnet/minecraft/class_343;
      client d Ljn;d:Ljn;
      named MACOS Lnet/minecraft/isom/OS;MACOS:Lnet/minecraft/isom/OS;
    • UNKNOWN

      public static final OS UNKNOWN
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1307 Lnet/minecraft/class_343;field_1307:Lnet/minecraft/class_343;
      glue field_1487 Lclass_366;field_1487:Lclass_366;
      server field_1307 Lnet/minecraft/class_343;field_1307:Lnet/minecraft/class_343;
      client e Ljn;e:Ljn;
      named UNKNOWN Lnet/minecraft/isom/OS;UNKNOWN:Lnet/minecraft/isom/OS;
  • Constructor Details

    • OS

      private OS()
  • Method Details

    • values

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