Package net.minecraft.client.util
Class Monitor
java.lang.Object
net.minecraft.client.util.Monitor
@Environment(CLIENT) public final class Monitor extends Object
- Mappings:
Namespace Name official dkw
intermediary net/minecraft/class_313
named net/minecraft/client/util/Monitor
-
Field Summary
Fields Modifier and Type Field Description private VideoMode
currentVideoMode
private long
handle
private List<VideoMode>
videoModes
private int
x
private int
y
-
Constructor Summary
Constructors Constructor Description Monitor(long long2)
-
Method Summary
Modifier and Type Method Description VideoMode
findClosestVideoMode(Optional<VideoMode> optional)
int
findClosestVideoModeIndex(VideoMode videoMode)
VideoMode
getCurrentVideoMode()
long
getHandle()
VideoMode
getVideoMode(int int2)
int
getVideoModeCount()
int
getViewportX()
int
getViewportY()
void
populateVideoModes()
String
toString()
-
Field Details
-
handle
private final long handle- Mappings:
Namespace Name Mixin selector official a
Ldkw;a:J
intermediary field_1800
Lnet/minecraft/class_313;field_1800:J
named handle
Lnet/minecraft/client/util/Monitor;handle:J
-
videoModes
- Mappings:
Namespace Name Mixin selector official b
Ldkw;b:Ljava/util/List;
intermediary field_1797
Lnet/minecraft/class_313;field_1797:Ljava/util/List;
named videoModes
Lnet/minecraft/client/util/Monitor;videoModes:Ljava/util/List;
-
currentVideoMode
- Mappings:
Namespace Name Mixin selector official c
Ldkw;c:Ldld;
intermediary field_1802
Lnet/minecraft/class_313;field_1802:Lnet/minecraft/class_319;
named currentVideoMode
Lnet/minecraft/client/util/Monitor;currentVideoMode:Lnet/minecraft/client/util/VideoMode;
-
x
private int x- Mappings:
Namespace Name Mixin selector official d
Ldkw;d:I
intermediary field_1799
Lnet/minecraft/class_313;field_1799:I
named x
Lnet/minecraft/client/util/Monitor;x:I
-
y
private int y- Mappings:
Namespace Name Mixin selector official e
Ldkw;e:I
intermediary field_1798
Lnet/minecraft/class_313;field_1798:I
named y
Lnet/minecraft/client/util/Monitor;y:I
-
-
Constructor Details
-
Monitor
public Monitor(long long2)
-
-
Method Details
-
populateVideoModes
public void populateVideoModes()- Mappings:
Namespace Name Mixin selector official a
Ldkw;a()V
intermediary method_1615
Lnet/minecraft/class_313;method_1615()V
named populateVideoModes
Lnet/minecraft/client/util/Monitor;populateVideoModes()V
-
findClosestVideoMode
- Mappings:
Namespace Name Mixin selector official a
Ldkw;a(Ljava/util/Optional;)Ldld;
intermediary method_1614
Lnet/minecraft/class_313;method_1614(Ljava/util/Optional;)Lnet/minecraft/class_319;
named findClosestVideoMode
Lnet/minecraft/client/util/Monitor;findClosestVideoMode(Ljava/util/Optional;)Lnet/minecraft/client/util/VideoMode;
-
findClosestVideoModeIndex
- Mappings:
Namespace Name Mixin selector official a
Ldkw;a(Ldld;)I
intermediary method_1619
Lnet/minecraft/class_313;method_1619(Lnet/minecraft/class_319;)I
named findClosestVideoModeIndex
Lnet/minecraft/client/util/Monitor;findClosestVideoModeIndex(Lnet/minecraft/client/util/VideoMode;)I
-
getCurrentVideoMode
- Mappings:
Namespace Name Mixin selector official b
Ldkw;b()Ldld;
intermediary method_1617
Lnet/minecraft/class_313;method_1617()Lnet/minecraft/class_319;
named getCurrentVideoMode
Lnet/minecraft/client/util/Monitor;getCurrentVideoMode()Lnet/minecraft/client/util/VideoMode;
-
getViewportX
public int getViewportX()- Mappings:
Namespace Name Mixin selector official c
Ldkw;c()I
intermediary method_1616
Lnet/minecraft/class_313;method_1616()I
named getViewportX
Lnet/minecraft/client/util/Monitor;getViewportX()I
-
getViewportY
public int getViewportY()- Mappings:
Namespace Name Mixin selector official d
Ldkw;d()I
intermediary method_1618
Lnet/minecraft/class_313;method_1618()I
named getViewportY
Lnet/minecraft/client/util/Monitor;getViewportY()I
-
getVideoMode
- Mappings:
Namespace Name Mixin selector official a
Ldkw;a(I)Ldld;
intermediary method_1620
Lnet/minecraft/class_313;method_1620(I)Lnet/minecraft/class_319;
named getVideoMode
Lnet/minecraft/client/util/Monitor;getVideoMode(I)Lnet/minecraft/client/util/VideoMode;
-
getVideoModeCount
public int getVideoModeCount()- Mappings:
Namespace Name Mixin selector official e
Ldkw;e()I
intermediary method_1621
Lnet/minecraft/class_313;method_1621()I
named getVideoModeCount
Lnet/minecraft/client/util/Monitor;getVideoModeCount()I
-
getHandle
public long getHandle()- Mappings:
Namespace Name Mixin selector official f
Ldkw;f()J
intermediary method_1622
Lnet/minecraft/class_313;method_1622()J
named getHandle
Lnet/minecraft/client/util/Monitor;getHandle()J
-
toString
-