com.mojang.blaze3d.platform

public final class Window

implements AutoCloseable

dew
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
eventHandler
field_5176
eventHandler
field_227797_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
windowedX
field_198120_g
private int
g
windowedY
field_5185
windowedY
field_198121_h
private int
h
windowedWidth
field_5174
windowedWidth
field_198122_i
private int
i
windowedHeight
field_5184
windowedHeight
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
currentFullscreen
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
videoModeDirty
field_198138_y
private int
x
framerateLimit
field_16238
framerateLimit
field_216532_z
private boolean
y
vsync
field_16517
vsync
field_216530_A

Constructor summary

ModifierConstructor
public (WindowEventHandler eventHandler, ScreenManager monitorTracker, DisplayData settings, String videoMode, String title)

Method summary

Modifier and TypeMethod
public int
a()
getRefreshRate()
method_22092()
getRefreshRate()
func_227798_a_()
public boolean
b()
shouldClose()
method_22093()
shouldClose()
func_227800_b_()
public static void
a(BiConsumer<Integer, String> arg0)
checkGlfwError(BiConsumer<Integer, String> arg0)
method_4492(BiConsumer<Integer, String> arg0)
acceptError(BiConsumer<Integer, String> consumer)
func_211162_a(BiConsumer<Integer, String> 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)
readImage(InputStream in, IntBuffer x, IntBuffer y, IntBuffer channels)
func_198111_a(InputStream arg0, IntBuffer arg1, IntBuffer arg2, IntBuffer arg3)
public void
a(String arg0)
setErrorSection(String arg0)
method_4474(String arg0)
setPhase(String phase)
func_227799_a_(String arg0)
private void
u()
setBootErrorCallback()
method_4481()
throwOnGlError()
func_227803_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
c()
setDefaultErrorCallback()
method_4513()
logOnGlError()
func_227801_c_()
public void
a(boolean arg0)
updateVsync(boolean arg0)
method_4497(boolean arg0)
setVsync(boolean vsync)
func_216523_b(boolean arg0)
public void
close()
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
v()
refreshFramebufferSize()
method_4483()
updateFramebufferSize()
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)
private void
b(long arg0, boolean arg1)
onEnter(long arg0, boolean arg1)
method_30132(long arg0, boolean arg1)
method_30132(long arg0, boolean arg1)
func_241553_b_(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
d()
getFramerateLimit()
method_16000()
getFramerateLimit()
func_198082_x()
public void
e()
updateDisplay()
method_15998()
swapBuffers()
func_227802_e_()
public Optional<VideoMode>
f()
getPreferredFullscreenVideoMode()
method_4511()
getVideoMode()
func_198106_d()
public void
a(Optional<dev> arg0)
setPreferredFullscreenVideoMode(Optional<VideoMode> arg0)
method_4505(Optional<class_319> arg0)
setVideoMode(Optional<VideoMode> videoMode)
func_224797_a(Optional<VideoMode> arg0)
public void
g()
changeFullscreenVideoMode()
method_4475()
applyVideoMode()
func_198097_f()
private void
w()
setMode()
method_4479()
updateWindowRegion()
func_198108_y()
public void
h()
toggleFullScreen()
method_4500()
toggleFullscreen()
func_198077_g()
private void
c(boolean arg0)
updateFullscreen(boolean arg0)
method_4485(boolean arg0)
updateFullscreen(boolean vsync)
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 void
b(String arg0)
setTitle(String arg0)
method_24286(String arg0)
setTitle(String arg0)
func_230148_b_(String arg0)
public long
i()
getWindow()
method_4490()
getHandle()
func_198092_i()
public boolean
j()
isFullscreen()
method_4498()
isFullscreen()
func_198113_j()
public int
k()
getWidth()
method_4489()
getFramebufferWidth()
func_198109_k()
public int
l()
getHeight()
method_4506()
getFramebufferHeight()
func_198091_l()
public int
m()
getScreenWidth()
method_4480()
getWidth()
func_198105_m()
public int
n()
getScreenHeight()
method_4507()
getHeight()
func_198083_n()
public int
o()
getGuiScaledWidth()
method_4486()
getScaledWidth()
func_198107_o()
public int
p()
getGuiScaledHeight()
method_4502()
getScaledHeight()
func_198087_p()
public int
q()
getX()
method_4499()
getX()
func_198099_q()
public int
r()
getY()
method_4477()
getY()
func_198079_r()
public double
s()
getGuiScale()
method_4495()
getScaleFactor()
func_198100_s()
public Monitor
t()
findBestMonitor()
method_20831()
getMonitor()
func_224796_s()
public void
b(boolean arg0)
updateRawMouseInput(boolean arg0)
method_21668(boolean arg0)
setRawMouseMotion(boolean rawMouseMotion)
func_224798_d(boolean arg0)