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 dkwintermediary net/minecraft/class_313named net/minecraft/client/util/Monitor
-
Field Summary
Fields Modifier and Type Field Description private VideoModecurrentVideoModeprivate longhandleprivate List<VideoMode>videoModesprivate intxprivate inty -
Constructor Summary
Constructors Constructor Description Monitor(long long2) -
Method Summary
Modifier and Type Method Description VideoModefindClosestVideoMode(Optional<VideoMode> optional)intfindClosestVideoModeIndex(VideoMode videoMode)VideoModegetCurrentVideoMode()longgetHandle()VideoModegetVideoMode(int int2)intgetVideoModeCount()intgetViewportX()intgetViewportY()voidpopulateVideoModes()StringtoString()
-
Field Details
-
handle
private final long handle- Mappings:
Namespace Name Mixin selector official aLdkw;a:Jintermediary field_1800Lnet/minecraft/class_313;field_1800:Jnamed handleLnet/minecraft/client/util/Monitor;handle:J
-
videoModes
- Mappings:
Namespace Name Mixin selector official bLdkw;b:Ljava/util/List;intermediary field_1797Lnet/minecraft/class_313;field_1797:Ljava/util/List;named videoModesLnet/minecraft/client/util/Monitor;videoModes:Ljava/util/List;
-
currentVideoMode
- Mappings:
Namespace Name Mixin selector official cLdkw;c:Ldld;intermediary field_1802Lnet/minecraft/class_313;field_1802:Lnet/minecraft/class_319;named currentVideoModeLnet/minecraft/client/util/Monitor;currentVideoMode:Lnet/minecraft/client/util/VideoMode;
-
x
private int x- Mappings:
Namespace Name Mixin selector official dLdkw;d:Iintermediary field_1799Lnet/minecraft/class_313;field_1799:Inamed xLnet/minecraft/client/util/Monitor;x:I
-
y
private int y- Mappings:
Namespace Name Mixin selector official eLdkw;e:Iintermediary field_1798Lnet/minecraft/class_313;field_1798:Inamed yLnet/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 aLdkw;a()Vintermediary method_1615Lnet/minecraft/class_313;method_1615()Vnamed populateVideoModesLnet/minecraft/client/util/Monitor;populateVideoModes()V
-
findClosestVideoMode
- Mappings:
Namespace Name Mixin selector official aLdkw;a(Ljava/util/Optional;)Ldld;intermediary method_1614Lnet/minecraft/class_313;method_1614(Ljava/util/Optional;)Lnet/minecraft/class_319;named findClosestVideoModeLnet/minecraft/client/util/Monitor;findClosestVideoMode(Ljava/util/Optional;)Lnet/minecraft/client/util/VideoMode;
-
findClosestVideoModeIndex
- Mappings:
Namespace Name Mixin selector official aLdkw;a(Ldld;)Iintermediary method_1619Lnet/minecraft/class_313;method_1619(Lnet/minecraft/class_319;)Inamed findClosestVideoModeIndexLnet/minecraft/client/util/Monitor;findClosestVideoModeIndex(Lnet/minecraft/client/util/VideoMode;)I
-
getCurrentVideoMode
- Mappings:
Namespace Name Mixin selector official bLdkw;b()Ldld;intermediary method_1617Lnet/minecraft/class_313;method_1617()Lnet/minecraft/class_319;named getCurrentVideoModeLnet/minecraft/client/util/Monitor;getCurrentVideoMode()Lnet/minecraft/client/util/VideoMode;
-
getViewportX
public int getViewportX()- Mappings:
Namespace Name Mixin selector official cLdkw;c()Iintermediary method_1616Lnet/minecraft/class_313;method_1616()Inamed getViewportXLnet/minecraft/client/util/Monitor;getViewportX()I
-
getViewportY
public int getViewportY()- Mappings:
Namespace Name Mixin selector official dLdkw;d()Iintermediary method_1618Lnet/minecraft/class_313;method_1618()Inamed getViewportYLnet/minecraft/client/util/Monitor;getViewportY()I
-
getVideoMode
- Mappings:
Namespace Name Mixin selector official aLdkw;a(I)Ldld;intermediary method_1620Lnet/minecraft/class_313;method_1620(I)Lnet/minecraft/class_319;named getVideoModeLnet/minecraft/client/util/Monitor;getVideoMode(I)Lnet/minecraft/client/util/VideoMode;
-
getVideoModeCount
public int getVideoModeCount()- Mappings:
Namespace Name Mixin selector official eLdkw;e()Iintermediary method_1621Lnet/minecraft/class_313;method_1621()Inamed getVideoModeCountLnet/minecraft/client/util/Monitor;getVideoModeCount()I
-
getHandle
public long getHandle()- Mappings:
Namespace Name Mixin selector official fLdkw;f()Jintermediary method_1622Lnet/minecraft/class_313;method_1622()Jnamed getHandleLnet/minecraft/client/util/Monitor;getHandle()J
-
toString
-