Package net.minecraft.client
Class Monitor
- java.lang.Object
-
- net.minecraft.client.Monitor
-
public final class Monitor extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private VideoMode
currentMode
private long
monitor
private java.util.List<VideoMode>
videoModes
private int
x
private int
y
-
Constructor Summary
Constructors Constructor Description Monitor(long p_i51795_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VideoMode
getCurrentMode()
VideoMode
getMode(int p_197991_1_)
int
getModeCount()
long
getMonitor()
VideoMode
getPreferredVidMode(java.util.Optional<VideoMode> p_197992_1_)
int
getVideoModeIndex(VideoMode p_224794_1_)
int
getX()
int
getY()
void
refreshVideoModes()
java.lang.String
toString()
-
-
-
Method Detail
-
refreshVideoModes
public void refreshVideoModes()
-
getPreferredVidMode
public VideoMode getPreferredVidMode(java.util.Optional<VideoMode> p_197992_1_)
-
getVideoModeIndex
public int getVideoModeIndex(VideoMode p_224794_1_)
-
getCurrentMode
public VideoMode getCurrentMode()
-
getX
public int getX()
-
getY
public int getY()
-
getMode
public VideoMode getMode(int p_197991_1_)
-
getModeCount
public int getModeCount()
-
getMonitor
public long getMonitor()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-