Class VideoMode

java.lang.Object
net.minecraft.client.util.VideoMode

@Environment(CLIENT) public final class VideoMode extends Object
Mappings:
Namespace Name
named net/minecraft/client/util/VideoMode
intermediary net/minecraft/class_319
official fft
  • Field Details

    • PATTERN

      private static final Pattern PATTERN
      Mappings:
      Namespace Name Mixin selector
      named PATTERN Lnet/minecraft/client/util/VideoMode;PATTERN:Ljava/util/regex/Pattern;
      intermediary field_1981 Lnet/minecraft/class_319;field_1981:Ljava/util/regex/Pattern;
      official g Lfft;g:Ljava/util/regex/Pattern;
    • width

      private final int width
      Mappings:
      Namespace Name Mixin selector
      named width Lnet/minecraft/client/util/VideoMode;width:I
      intermediary field_1980 Lnet/minecraft/class_319;field_1980:I
      official a Lfft;a:I
    • height

      private final int height
      Mappings:
      Namespace Name Mixin selector
      named height Lnet/minecraft/client/util/VideoMode;height:I
      intermediary field_1979 Lnet/minecraft/class_319;field_1979:I
      official b Lfft;b:I
    • redBits

      private final int redBits
      Mappings:
      Namespace Name Mixin selector
      named redBits Lnet/minecraft/client/util/VideoMode;redBits:I
      intermediary field_1978 Lnet/minecraft/class_319;field_1978:I
      official c Lfft;c:I
    • greenBits

      private final int greenBits
      Mappings:
      Namespace Name Mixin selector
      named greenBits Lnet/minecraft/client/util/VideoMode;greenBits:I
      intermediary field_1977 Lnet/minecraft/class_319;field_1977:I
      official d Lfft;d:I
    • blueBits

      private final int blueBits
      Mappings:
      Namespace Name Mixin selector
      named blueBits Lnet/minecraft/client/util/VideoMode;blueBits:I
      intermediary field_1976 Lnet/minecraft/class_319;field_1976:I
      official e Lfft;e:I
    • refreshRate

      private final int refreshRate
      Mappings:
      Namespace Name Mixin selector
      named refreshRate Lnet/minecraft/client/util/VideoMode;refreshRate:I
      intermediary field_1975 Lnet/minecraft/class_319;field_1975:I
      official f Lfft;f:I
  • Constructor Details

    • VideoMode

      public VideoMode(int width, int height, int redBits, int greenBits, int blueBits, int refreshRate)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/util/VideoMode;<init>(IIIIII)V
      intermediary <init> Lnet/minecraft/class_319;<init>(IIIIII)V
      official <init> Lfft;<init>(IIIIII)V
    • VideoMode

      public VideoMode(GLFWVidMode.Buffer buffer)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/util/VideoMode;<init>(Lorg/lwjgl/glfw/GLFWVidMode$Buffer;)V
      intermediary <init> Lnet/minecraft/class_319;<init>(Lorg/lwjgl/glfw/GLFWVidMode$Buffer;)V
      official <init> Lfft;<init>(Lorg/lwjgl/glfw/GLFWVidMode$Buffer;)V
    • VideoMode

      public VideoMode(GLFWVidMode vidMode)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/util/VideoMode;<init>(Lorg/lwjgl/glfw/GLFWVidMode;)V
      intermediary <init> Lnet/minecraft/class_319;<init>(Lorg/lwjgl/glfw/GLFWVidMode;)V
      official <init> Lfft;<init>(Lorg/lwjgl/glfw/GLFWVidMode;)V
  • Method Details

    • getWidth

      public int getWidth()
      Mappings:
      Namespace Name Mixin selector
      named getWidth Lnet/minecraft/client/util/VideoMode;getWidth()I
      intermediary method_1668 Lnet/minecraft/class_319;method_1668()I
      official a Lfft;a()I
    • getHeight

      public int getHeight()
      Mappings:
      Namespace Name Mixin selector
      named getHeight Lnet/minecraft/client/util/VideoMode;getHeight()I
      intermediary method_1669 Lnet/minecraft/class_319;method_1669()I
      official b Lfft;b()I
    • getRedBits

      public int getRedBits()
      Mappings:
      Namespace Name Mixin selector
      named getRedBits Lnet/minecraft/client/util/VideoMode;getRedBits()I
      intermediary method_1666 Lnet/minecraft/class_319;method_1666()I
      official c Lfft;c()I
    • getGreenBits

      public int getGreenBits()
      Mappings:
      Namespace Name Mixin selector
      named getGreenBits Lnet/minecraft/client/util/VideoMode;getGreenBits()I
      intermediary method_1667 Lnet/minecraft/class_319;method_1667()I
      official d Lfft;d()I
    • getBlueBits

      public int getBlueBits()
      Mappings:
      Namespace Name Mixin selector
      named getBlueBits Lnet/minecraft/client/util/VideoMode;getBlueBits()I
      intermediary method_1672 Lnet/minecraft/class_319;method_1672()I
      official e Lfft;e()I
    • getRefreshRate

      public int getRefreshRate()
      Mappings:
      Namespace Name Mixin selector
      named getRefreshRate Lnet/minecraft/client/util/VideoMode;getRefreshRate()I
      intermediary method_1671 Lnet/minecraft/class_319;method_1671()I
      official f Lfft;f()I
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      named equals Lnet/minecraft/client/util/VideoMode;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_319;equals(Ljava/lang/Object;)Z
      official equals Lfft;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • fromString

      public static Optional<VideoMode> fromString(@Nullable @Nullable String string)
      Mappings:
      Namespace Name Mixin selector
      named fromString Lnet/minecraft/client/util/VideoMode;fromString(Ljava/lang/String;)Ljava/util/Optional;
      intermediary method_1665 Lnet/minecraft/class_319;method_1665(Ljava/lang/String;)Ljava/util/Optional;
      official a Lfft;a(Ljava/lang/String;)Ljava/util/Optional;
    • asString

      public String asString()
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/client/util/VideoMode;asString()Ljava/lang/String;
      intermediary method_1670 Lnet/minecraft/class_319;method_1670()Ljava/lang/String;
      official g Lfft;g()Ljava/lang/String;