net.minecraft.client.util

public final class VideoMode

com.mojang.blaze3d.platform.VideoMode
com.mojang.blaze3d.platform.VideoMode
net.minecraft.class_319
net.minecraft.client.util.VideoMode

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
LOGGER
field_1_8794
LOGGER
public static final com.mojang.serialization.Codec<VideoMode>
CODEC
CODEC
field_1_8792
CODEC
private static final com.google.gson.Gson
GSON
GSON
field_1_8793
GSON
private final int
width
width
field_1980
width
private final int
height
height
field_1979
height
private final int
redBits
redBits
field_1978
redBits
private final int
greenBits
greenBits
field_1977
greenBits
private final int
blueBits
blueBits
field_1976
blueBits
private final float
refreshRate
refreshRate
field_1975
refreshRate

Constructor summary

ModifierConstructor
public (int width, int height, int redBits, int greenBits, int blueBits, int refreshRate)
private (int width, int height, int redBits, int greenBits, int blueBits, float refreshRate)
public (org.lwjgl.sdl.SDL_DisplayMode sdlDisplayMode)

Method summary

Modifier and TypeMethod
public static Optional<VideoMode>
read(String s)
read(String s)
method_1665(String arg0)
fromString(String string)
public int
getWidth()
getWidth()
method_1668()
getWidth()
public int
getHeight()
getHeight()
method_1669()
getHeight()
public int
getRedBits()
getRedBits()
method_1666()
getRedBits()
public int
getGreenBits()
getGreenBits()
method_1667()
getGreenBits()
public int
getBlueBits()
getBlueBits()
method_1672()
getBlueBits()
public float
getRefreshRate()
getRefreshRate()
method_1671()
getRefreshRate()
public String
refreshRateLabel()
refreshRateLabel()
method_1_8467()
getFormattedRefreshRate()
public String
write()
write()
method_1670()
asString()