Package net.minecraft.client.renderer
Class VideoMode
- java.lang.Object
-
- net.minecraft.client.renderer.VideoMode
-
public final class VideoMode extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object p_equals_1_)
int
getBlueBits()
int
getGreenBits()
int
getHeight()
int
getRedBits()
int
getRefreshRate()
int
getWidth()
int
hashCode()
static java.util.Optional<VideoMode>
read(java.lang.String p_198061_0_)
java.lang.String
toString()
java.lang.String
write()
-
-
-
Method Detail
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
getRedBits
public int getRedBits()
-
getGreenBits
public int getGreenBits()
-
getBlueBits
public int getBlueBits()
-
getRefreshRate
public int getRefreshRate()
-
equals
public boolean equals(java.lang.Object p_equals_1_)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
read
public static java.util.Optional<VideoMode> read(@Nullable java.lang.String p_198061_0_)
-
write
public java.lang.String write()
-
-