Enum GraphicsMode

java.lang.Object
java.lang.Enum<GraphicsMode>
net.minecraft.client.option.GraphicsMode
All Implemented Interfaces:
Serializable, Comparable<GraphicsMode>, java.lang.constant.Constable

@Environment(CLIENT)
public enum GraphicsMode
extends Enum<GraphicsMode>
Mappings:
Namespace Name
official dqe
intermediary net/minecraft/class_5365
named net/minecraft/client/option/GraphicsMode
  • Enum Constant Details

    • FAST

      public static final GraphicsMode FAST
      Mappings:
      Namespace Name Mixin selector
      official a Ldqe;a:Ldqe;
      intermediary field_25427 Lnet/minecraft/class_5365;field_25427:Lnet/minecraft/class_5365;
      named FAST Lnet/minecraft/client/option/GraphicsMode;FAST:Lnet/minecraft/client/option/GraphicsMode;
    • FANCY

      public static final GraphicsMode FANCY
      Mappings:
      Namespace Name Mixin selector
      official b Ldqe;b:Ldqe;
      intermediary field_25428 Lnet/minecraft/class_5365;field_25428:Lnet/minecraft/class_5365;
      named FANCY Lnet/minecraft/client/option/GraphicsMode;FANCY:Lnet/minecraft/client/option/GraphicsMode;
    • FABULOUS

      public static final GraphicsMode FABULOUS
      Mappings:
      Namespace Name Mixin selector
      official c Ldqe;c:Ldqe;
      intermediary field_25429 Lnet/minecraft/class_5365;field_25429:Lnet/minecraft/class_5365;
      named FABULOUS Lnet/minecraft/client/option/GraphicsMode;FABULOUS:Lnet/minecraft/client/option/GraphicsMode;
  • Field Details

    • VALUES

      private static final GraphicsMode[] VALUES
      Mappings:
      Namespace Name Mixin selector
      official d Ldqe;d:[Ldqe;
      intermediary field_25430 Lnet/minecraft/class_5365;field_25430:[Lnet/minecraft/class_5365;
      named VALUES Lnet/minecraft/client/option/GraphicsMode;VALUES:[Lnet/minecraft/client/option/GraphicsMode;
    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      official e Ldqe;e:I
      intermediary field_25431 Lnet/minecraft/class_5365;field_25431:I
      named id Lnet/minecraft/client/option/GraphicsMode;id:I
    • translationKey

      private final String translationKey
      Mappings:
      Namespace Name Mixin selector
      official f Ldqe;f:Ljava/lang/String;
      intermediary field_25432 Lnet/minecraft/class_5365;field_25432:Ljava/lang/String;
      named translationKey Lnet/minecraft/client/option/GraphicsMode;translationKey:Ljava/lang/String;
  • Constructor Details

    • GraphicsMode

      private GraphicsMode​(int id, String translationKey)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldqe;<init>(Ljava/lang/String;IILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_5365;<init>(Ljava/lang/String;IILjava/lang/String;)V
      named <init> Lnet/minecraft/client/option/GraphicsMode;<init>(Ljava/lang/String;IILjava/lang/String;)V
  • Method Details

    • values

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

      public static GraphicsMode valueOf​(String name)
      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 name
      NullPointerException - if the argument is null
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      official a Ldqe;a()I
      intermediary method_29591 Lnet/minecraft/class_5365;method_29591()I
      named getId Lnet/minecraft/client/option/GraphicsMode;getId()I
    • getTranslationKey

      public String getTranslationKey()
      Mappings:
      Namespace Name Mixin selector
      official b Ldqe;b()Ljava/lang/String;
      intermediary method_29593 Lnet/minecraft/class_5365;method_29593()Ljava/lang/String;
      named getTranslationKey Lnet/minecraft/client/option/GraphicsMode;getTranslationKey()Ljava/lang/String;
    • toString

      public String toString()
      Overrides:
      toString in class Enum<GraphicsMode>
      Mappings:
      Namespace Name Mixin selector
      official toString Ldqe;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_5365;toString()Ljava/lang/String;
      named toString Lnet/minecraft/client/option/GraphicsMode;toString()Ljava/lang/String;
    • byId

      public static GraphicsMode byId​(int id)
      Mappings:
      Namespace Name Mixin selector
      official a Ldqe;a(I)Ldqe;
      intermediary method_29592 Lnet/minecraft/class_5365;method_29592(I)Lnet/minecraft/class_5365;
      named byId Lnet/minecraft/client/option/GraphicsMode;byId(I)Lnet/minecraft/client/option/GraphicsMode;