Class Monitor

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

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

    • handle

      private final long handle
      Mappings:
      Namespace Name Mixin selector
      named handle Lnet/minecraft/client/util/Monitor;handle:J
      intermediary field_1800 Lnet/minecraft/class_313;field_1800:J
      official a Lfah;a:J
    • videoModes

      private final List<VideoMode> videoModes
      Mappings:
      Namespace Name Mixin selector
      named videoModes Lnet/minecraft/client/util/Monitor;videoModes:Ljava/util/List;
      intermediary field_1797 Lnet/minecraft/class_313;field_1797:Ljava/util/List;
      official b Lfah;b:Ljava/util/List;
    • currentVideoMode

      private VideoMode currentVideoMode
      Mappings:
      Namespace Name Mixin selector
      named currentVideoMode Lnet/minecraft/client/util/Monitor;currentVideoMode:Lnet/minecraft/client/util/VideoMode;
      intermediary field_1802 Lnet/minecraft/class_313;field_1802:Lnet/minecraft/class_319;
      official c Lfah;c:Lfal;
    • x

      private int x
      Mappings:
      Namespace Name Mixin selector
      named x Lnet/minecraft/client/util/Monitor;x:I
      intermediary field_1799 Lnet/minecraft/class_313;field_1799:I
      official d Lfah;d:I
    • y

      private int y
      Mappings:
      Namespace Name Mixin selector
      named y Lnet/minecraft/client/util/Monitor;y:I
      intermediary field_1798 Lnet/minecraft/class_313;field_1798:I
      official e Lfah;e:I
  • Constructor Details

    • Monitor

      public Monitor(long handle)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/util/Monitor;<init>(J)V
      intermediary <init> Lnet/minecraft/class_313;<init>(J)V
      official <init> Lfah;<init>(J)V
  • Method Details

    • populateVideoModes

      public void populateVideoModes()
      Mappings:
      Namespace Name Mixin selector
      named populateVideoModes Lnet/minecraft/client/util/Monitor;populateVideoModes()V
      intermediary method_1615 Lnet/minecraft/class_313;method_1615()V
      official a Lfah;a()V
    • findClosestVideoMode

      public VideoMode findClosestVideoMode(Optional<VideoMode> videoMode)
      Mappings:
      Namespace Name Mixin selector
      named findClosestVideoMode Lnet/minecraft/client/util/Monitor;findClosestVideoMode(Ljava/util/Optional;)Lnet/minecraft/client/util/VideoMode;
      intermediary method_1614 Lnet/minecraft/class_313;method_1614(Ljava/util/Optional;)Lnet/minecraft/class_319;
      official a Lfah;a(Ljava/util/Optional;)Lfal;
    • findClosestVideoModeIndex

      public int findClosestVideoModeIndex(VideoMode videoMode)
      Mappings:
      Namespace Name Mixin selector
      named findClosestVideoModeIndex Lnet/minecraft/client/util/Monitor;findClosestVideoModeIndex(Lnet/minecraft/client/util/VideoMode;)I
      intermediary method_1619 Lnet/minecraft/class_313;method_1619(Lnet/minecraft/class_319;)I
      official a Lfah;a(Lfal;)I
    • getCurrentVideoMode

      public VideoMode getCurrentVideoMode()
      Mappings:
      Namespace Name Mixin selector
      named getCurrentVideoMode Lnet/minecraft/client/util/Monitor;getCurrentVideoMode()Lnet/minecraft/client/util/VideoMode;
      intermediary method_1617 Lnet/minecraft/class_313;method_1617()Lnet/minecraft/class_319;
      official b Lfah;b()Lfal;
    • getViewportX

      public int getViewportX()
      Mappings:
      Namespace Name Mixin selector
      named getViewportX Lnet/minecraft/client/util/Monitor;getViewportX()I
      intermediary method_1616 Lnet/minecraft/class_313;method_1616()I
      official c Lfah;c()I
    • getViewportY

      public int getViewportY()
      Mappings:
      Namespace Name Mixin selector
      named getViewportY Lnet/minecraft/client/util/Monitor;getViewportY()I
      intermediary method_1618 Lnet/minecraft/class_313;method_1618()I
      official d Lfah;d()I
    • getVideoMode

      public VideoMode getVideoMode(int index)
      Mappings:
      Namespace Name Mixin selector
      named getVideoMode Lnet/minecraft/client/util/Monitor;getVideoMode(I)Lnet/minecraft/client/util/VideoMode;
      intermediary method_1620 Lnet/minecraft/class_313;method_1620(I)Lnet/minecraft/class_319;
      official a Lfah;a(I)Lfal;
    • getVideoModeCount

      public int getVideoModeCount()
      Mappings:
      Namespace Name Mixin selector
      named getVideoModeCount Lnet/minecraft/client/util/Monitor;getVideoModeCount()I
      intermediary method_1621 Lnet/minecraft/class_313;method_1621()I
      official e Lfah;e()I
    • getHandle

      public long getHandle()
      Mappings:
      Namespace Name Mixin selector
      named getHandle Lnet/minecraft/client/util/Monitor;getHandle()J
      intermediary method_1622 Lnet/minecraft/class_313;method_1622()J
      official f Lfah;f()J
    • toString

      public String toString()
      Overrides:
      toString in class Object