com.mojang.blaze3d.platform

public final class Window

implements AutoCloseable

cuo
com.mojang.blaze3d.platform.Window
net.minecraft.class_1041
net.minecraft.client.util.Window
net.minecraft.client.MainWindow

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_5178
LOGGER
field_198114_a
private final org.lwjgl.glfw.GLFWErrorCallback
b
defaultErrorCallback
field_5190
errorCallback
field_198115_b
private final WindowEventHandler
c
minecraft
field_5176
eventHandler
field_198116_c
private final ScreenManager
d
screenManager
field_5195
monitorTracker
field_216531_d
private final long
e
window
field_5187
handle
field_198119_f
private int
f
windowedX
field_5175
field_198120_g
private int
g
windowedY
field_5185
field_198121_h
private int
h
windowedWidth
field_5174
field_198122_i
private int
i
windowedHeight
field_5184
field_198123_j
private Optional<VideoMode>
j
preferredFullscreenVideoMode
field_5193
videoMode
field_198124_k
private boolean
k
fullscreen
field_5191
fullscreen
field_198125_l
private boolean
l
actuallyFullscreen
field_5177
field_198126_m
private int
m
x
field_5183
x
field_198127_n
private int
n
y
field_5198
y
field_198128_o
private int
o
width
field_5182
width
field_198129_p
private int
p
height
field_5197
height
field_198130_q
private int
q
framebufferWidth
field_5181
framebufferWidth
field_198131_r
private int
r
framebufferHeight
field_5196
framebufferHeight
field_198132_s
private int
s
guiScaledWidth
field_5180
scaledWidth
field_198133_t
private int
t
guiScaledHeight
field_5194
scaledHeight
field_198134_u
private double
u
guiScale
field_5179
scaleFactor
field_198135_v
private String
v
errorSection
field_5192
phase
field_198136_w
private boolean
w
dirty
field_5186
field_198138_y
private double
x
lastDrawTime
field_5189
field_198139_z
private int
y
framerateLimit
field_16238
framerateLimit
field_216532_z
private boolean
z
vsync
field_16517
field_216530_A

Constructor summary

ModifierConstructor
public (WindowEventHandler arg0, ScreenManager arg1, DisplayData arg2, String arg3, String arg4)

Method summary

Modifier and TypeMethod
public static void
a(BiConsumer<Integer, String> arg0)
checkGlfwError(BiConsumer<Integer, String> arg0)
method_4492(BiConsumer<Integer, String> arg0)
func_211162_a(BiConsumer<Integer, String> arg0)
public void
a(boolean arg0)
setupGuiState(boolean arg0)
method_4493(boolean arg0)
func_216522_a(boolean arg0)
public void
a(InputStream arg0, InputStream arg1)
setIcon(InputStream arg0, InputStream arg1)
method_4491(InputStream arg0, InputStream arg1)
setIcon(InputStream icon16, InputStream icon32)
func_216529_a(InputStream arg0, InputStream arg1)
private ByteBuffer
a(InputStream arg0, IntBuffer arg1, IntBuffer arg2, IntBuffer arg3)
readIconPixels(InputStream arg0, IntBuffer arg1, IntBuffer arg2, IntBuffer arg3)
method_4510(InputStream arg0, IntBuffer arg1, IntBuffer arg2, IntBuffer arg3)
func_198111_a(InputStream arg0, IntBuffer arg1, IntBuffer arg2, IntBuffer arg3)
public void
a(String arg0)
setGlErrorSection(String arg0)
method_4474(String arg0)
setPhase(String phase)
func_198076_a(String arg0)
private void
t()
setBootGlErrorCallback()
method_4481()
throwOnGlError()
func_198093_u()
private static void
b(int arg0, long arg1)
bootCrash(int arg0, long arg1)
method_4501(int arg0, long arg1)
throwGlError(int error, long description)
func_208034_b(int arg0, long arg1)
public void
a(int arg0, long arg1)
defaultErrorCallback(int arg0, long arg1)
method_4482(int arg0, long arg1)
logGlError(int error, long description)
func_198084_a(int arg0, long arg1)
public void
a()
setDefaultGlErrorCallback()
method_4513()
logOnGlError()
func_198112_b()
public void
b(boolean arg0)
updateVsync(boolean arg0)
method_4497(boolean arg0)
setVsync(boolean vsync)
func_216523_b(boolean arg0)
public void
close()
close()
close()
close()
private void
a(long arg0, int arg1, int arg2)
onMove(long arg0, int arg1, int arg2)
method_4478(long arg0, int arg1, int arg2)
onWindowPosChanged(long window, int x, int y)
func_198080_a(long arg0, int arg1, int arg2)
private void
b(long arg0, int arg1, int arg2)
onFramebufferResize(long arg0, int arg1, int arg2)
method_4504(long arg0, int arg1, int arg2)
onFramebufferSizeChanged(long window, int width, int height)
func_198102_b(long arg0, int arg1, int arg2)
private void
u()
refreshFramebufferSize()
method_4483()
func_198103_w()
private void
c(long arg0, int arg1, int arg2)
onResize(long arg0, int arg1, int arg2)
method_4488(long arg0, int arg1, int arg2)
onWindowSizeChanged(long window, int width, int height)
func_198089_c(long arg0, int arg1, int arg2)
private void
a(long arg0, boolean arg1)
onFocus(long arg0, boolean arg1)
method_4494(long arg0, boolean arg1)
onWindowFocusChanged(long window, boolean focused)
func_198095_a(long arg0, boolean arg1)
public void
a(int arg0)
setFramerateLimit(int arg0)
method_15999(int arg0)
setFramerateLimit(int framerateLimit)
func_216526_a(int arg0)
public int
b()
getFramerateLimit()
method_16000()
getFramerateLimit()
func_198082_x()
public void
c(boolean arg0)
updateDisplay(boolean arg0)
method_15998(boolean arg0)
setFullscreen(boolean arg0)
func_198086_a(boolean arg0)
public void
c()
limitDisplayFPS()
method_15996()
waitForFramerateLimit()
func_216524_c()
public Optional<VideoMode>
d()
getPreferredFullscreenVideoMode()
method_4511()
getVideoMode()
func_198106_d()
public void
a(Optional<cun> arg0)
setPreferredFullscreenVideoMode(Optional<VideoMode> arg0)
method_4505(Optional<class_319> arg0)
setVideoMode(Optional<VideoMode> videoMode)
func_224797_a(Optional<VideoMode> arg0)
public void
e()
changeFullscreenVideoMode()
method_4475()
func_198097_f()
private void
v()
setMode()
method_4479()
func_198108_y()
public void
f()
toggleFullScreen()
method_4500()
toggleFullscreen()
func_198077_g()
private void
e(boolean arg0)
updateFullscreen(boolean arg0)
method_4485(boolean arg0)
func_216527_d(boolean arg0)
public int
a(int arg0, boolean arg1)
calculateScale(int arg0, boolean arg1)
method_4476(int arg0, boolean arg1)
calculateScaleFactor(int guiScale, boolean forceUnicodeFont)
func_216521_a(int arg0, boolean arg1)
public void
a(double arg0)
setGuiScale(double arg0)
method_15997(double arg0)
setScaleFactor(double scaleFactor)
func_216525_a(double arg0)
public long
g()
getWindow()
method_4490()
getHandle()
func_198092_i()
public boolean
h()
isFullscreen()
method_4498()
isFullscreen()
func_198113_j()
public int
i()
getWidth()
method_4489()
getFramebufferWidth()
func_198109_k()
public int
j()
getHeight()
method_4506()
getFramebufferHeight()
func_198091_l()
public static void
k()
pollEventQueue()
method_16001()
pollEvents()
func_216528_l()
public int
l()
getScreenWidth()
method_4480()
getWidth()
func_198105_m()
public int
m()
getScreenHeight()
method_4507()
getHeight()
func_198083_n()
public int
n()
getGuiScaledWidth()
method_4486()
getScaledWidth()
func_198107_o()
public int
o()
getGuiScaledHeight()
method_4502()
getScaledHeight()
func_198087_p()
public int
p()
getX()
method_4499()
getX()
func_198099_q()
public int
q()
getY()
method_4477()
getY()
func_198079_r()
public double
r()
getGuiScale()
method_4495()
getScaleFactor()
func_198100_s()
public Monitor
s()
findBestMonitor()
method_20831()
getMonitor()
func_224796_s()
public void
d(boolean arg0)
updateRawMouseInput(boolean arg0)
method_21668(boolean arg0)
func_224798_d(boolean arg0)