com.mojang.blaze3d.platform

public final class Window

implements AutoCloseable

dsr
com.mojang.blaze3d.platform.Window
net.minecraft.class_1041
net.minecraft.unmapped.C_snosbckc
net.minecraft.client.util.Window
net.minecraft.client.util.Window
net.minecraft.src.C_3161_

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_5178
f_sybspsfq
LOGGER
LOGGER
f_85345_
private final org.lwjgl.glfw.GLFWErrorCallback
b
defaultErrorCallback
field_5190
f_aqgyafzq
errorCallback
errorCallback
f_85346_
private final WindowEventHandler
c
eventHandler
field_5176
f_kghwbcrm
eventHandler
eventHandler
f_85347_
private final ScreenManager
d
screenManager
field_5195
f_flcmttvk
monitorTracker
monitorTracker
f_85348_
private final long
e
window
field_5187
f_lxoizzkt
handle
handle
f_85349_
private int
f
windowedX
field_5175
f_fiobfsrq
windowedX
windowedX
f_85350_
private int
g
windowedY
field_5185
f_tvzwznxl
windowedY
windowedY
f_85351_
private int
h
windowedWidth
field_5174
f_myqjgeex
windowedWidth
windowedWidth
f_85352_
private int
i
windowedHeight
field_5184
f_iptpuuif
windowedHeight
windowedHeight
f_85353_
private Optional<VideoMode>
j
preferredFullscreenVideoMode
field_5193
f_vmlprpnt
videoMode
videoMode
f_85354_
private boolean
k
fullscreen
field_5191
f_dzchgykj
fullscreen
fullscreen
f_85355_
private boolean
l
actuallyFullscreen
field_5177
f_tltxzwju
currentFullscreen
currentFullscreen
f_85356_
private int
m
x
field_5183
f_nhnmlenj
x
x
f_85357_
private int
n
y
field_5198
f_sqdduaqv
y
y
f_85358_
private int
o
width
field_5182
f_fiepgowd
width
width
f_85359_
private int
p
height
field_5197
f_yyjqqesy
height
height
f_85360_
private int
q
framebufferWidth
field_5181
f_eghjloig
framebufferWidth
framebufferWidth
f_85361_
private int
r
framebufferHeight
field_5196
f_bzhudpsh
framebufferHeight
framebufferHeight
f_85362_
private int
s
guiScaledWidth
field_5180
f_mfwlewkh
scaledWidth
scaledWidth
f_85363_
private int
t
guiScaledHeight
field_5194
f_twbsctgx
scaledHeight
scaledHeight
f_85364_
private double
u
guiScale
field_5179
f_wzqcezuf
scaleFactor
scaleFactor
f_85365_
private String
v
errorSection
field_5192
f_vyevthly
phase
phase
f_85366_
private boolean
w
dirty
field_5186
f_oizwxgpn
videoModeDirty
videoModeDirty
f_85367_
private int
x
framerateLimit
field_16238
f_vtlexuuw
framerateLimit
framerateLimit
f_85368_
private boolean
y
vsync
field_16517
f_gtahwemo
vsync
vsync
f_85369_

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()
m_stjgevoo()
getRefreshRate()
getRefreshRate()
m_85377_()
public boolean
b()
shouldClose()
method_22093()
m_okaazrvb()
shouldClose()
shouldClose()
m_85411_()
public static void
a(BiConsumer<Integer, String> arg0)
checkGlfwError(BiConsumer<Integer, String> arg0)
method_4492(BiConsumer<Integer, String> arg0)
m_muwxghfm(BiConsumer<Integer, String> arg0)
acceptError(BiConsumer<Integer, String> consumer)
acceptError(BiConsumer<Integer, String> consumer)
m_85407_(BiConsumer<Integer, String> p_85408_)
public void
a(InputStream arg0, InputStream arg1)
setIcon(InputStream arg0, InputStream arg1)
method_4491(InputStream arg0, InputStream arg1)
m_tmxadezh(InputStream arg0, InputStream arg1)
setIcon(InputStream icon16, InputStream icon32)
setIcon(InputStream icon16, InputStream icon32)
m_85395_(InputStream p_85397_, 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)
m_bwxoittd(InputStream arg0, IntBuffer arg1, IntBuffer arg2, IntBuffer arg3)
readImage(InputStream in, IntBuffer x, IntBuffer y, IntBuffer channels)
readImage(InputStream in, IntBuffer x, IntBuffer y, IntBuffer channels)
m_85398_(InputStream p_85400_, IntBuffer p_85401_, IntBuffer p_85402_, IntBuffer arg3)
public void
a(String arg0)
setErrorSection(String arg0)
method_4474(String arg0)
m_kpldrisw(String arg0)
setPhase(String phase)
setPhase(String phase)
m_85403_(String arg0)
private void
u()
setBootErrorCallback()
method_4481()
m_rvobyfyc()
throwOnGlError()
throwOnGlError()
m_85451_()
private static void
b(int arg0, long arg1)
bootCrash(int arg0, long arg1)
method_4501(int arg0, long arg1)
m_wqvrengm(int arg0, long arg1)
throwGlError(int error, long description)
throwGlError(int error, long description)
m_85412_(int p_85413_, long p_85414_)
public void
a(int arg0, long arg1)
defaultErrorCallback(int arg0, long arg1)
method_4482(int arg0, long arg1)
m_tzsavrbr(int arg0, long arg1)
logGlError(int error, long description)
logGlError(int error, long description)
m_85382_(int p_85384_, long arg1)
public void
c()
setDefaultErrorCallback()
method_4513()
m_rtkaraiw()
logOnGlError()
logOnGlError()
m_85426_()
public void
a(boolean arg0)
updateVsync(boolean arg0)
method_4497(boolean arg0)
m_zmlagfnf(boolean arg0)
setVsync(boolean vsync)
setVsync(boolean vsync)
m_85409_(boolean arg0)
public void
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)
m_wnpdlfct(long arg0, int arg1, int arg2)
onWindowPosChanged(long window, int x, int y)
onWindowPosChanged(long window, int x, int y)
m_85388_(long p_85390_, 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)
m_pfwayqtq(long arg0, int arg1, int arg2)
onFramebufferSizeChanged(long window, int width, int height)
onFramebufferSizeChanged(long window, int width, int height)
m_85415_(long p_85417_, int arg1, int arg2)
private void
v()
refreshFramebufferSize()
method_4483()
m_qdsbztcn()
updateFramebufferSize()
updateFramebufferSize()
m_85452_()
private void
c(long arg0, int arg1, int arg2)
onResize(long arg0, int arg1, int arg2)
method_4488(long arg0, int arg1, int arg2)
m_dugmawob(long arg0, int arg1, int arg2)
onWindowSizeChanged(long window, int width, int height)
onWindowSizeChanged(long window, int width, int height)
m_85427_(long p_85429_, int arg1, int arg2)
private void
a(long arg0, boolean arg1)
onFocus(long arg0, boolean arg1)
method_4494(long arg0, boolean arg1)
m_gskauyqn(long arg0, boolean arg1)
onWindowFocusChanged(long window, boolean focused)
onWindowFocusChanged(long window, boolean focused)
m_85392_(long p_85394_, boolean arg1)
private void
b(long arg0, boolean arg1)
onEnter(long arg0, boolean arg1)
method_30132(long arg0, boolean arg1)
m_lwljqdda(long arg0, boolean arg1)
onCursorEnterChanged(long window, boolean entered)
onCursorEnterChanged(long window, boolean entered)
m_85419_(long p_85421_, boolean arg1)
public void
a(int arg0)
setFramerateLimit(int arg0)
method_15999(int arg0)
m_lguejkxu(int arg0)
setFramerateLimit(int framerateLimit)
setFramerateLimit(int framerateLimit)
m_85380_(int arg0)
public int
d()
getFramerateLimit()
method_16000()
m_jjklszue()
getFramerateLimit()
getFramerateLimit()
m_85434_()
public void
e()
updateDisplay()
method_15998()
m_ugdhvupv()
swapBuffers()
swapBuffers()
m_85435_()
public Optional<VideoMode>
f()
getPreferredFullscreenVideoMode()
method_4511()
m_jtnvwpep()
getVideoMode()
getVideoMode()
m_85436_()
public void
a(Optional<dsq> arg0)
setPreferredFullscreenVideoMode(Optional<VideoMode> arg0)
method_4505(Optional<class_319> arg0)
m_iwfsswut(Optional<C_oyiohbge> arg0)
setVideoMode(Optional<VideoMode> videoMode)
setVideoMode(Optional<VideoMode> videoMode)
m_85405_(Optional<C_3160_> arg0)
public void
g()
changeFullscreenVideoMode()
method_4475()
m_lggogwiv()
applyVideoMode()
applyVideoMode()
m_85437_()
private void
w()
setMode()
method_4479()
m_cndxkiao()
updateWindowRegion()
updateWindowRegion()
m_85453_()
public void
h()
toggleFullScreen()
method_4500()
m_kjuqydhv()
toggleFullscreen()
toggleFullscreen()
m_85438_()
public void
a(int arg0, int arg1)
setWindowed(int arg0, int arg1)
method_36813(int arg0, int arg1)
m_epqhgokp(int arg0, int arg1)
setWindowedSize(int width, int height)
setWindowedSize(int width, int height)
m_166447_(int p_166449_, int arg1)
private void
c(boolean arg0)
updateFullscreen(boolean arg0)
method_4485(boolean arg0)
m_czlmnfjn(boolean arg0)
updateFullscreen(boolean vsync)
updateFullscreen(boolean vsync)
m_85431_(boolean arg0)
public int
a(int arg0, boolean arg1)
calculateScale(int arg0, boolean arg1)
method_4476(int arg0, boolean arg1)
m_bvgeocso(int arg0, boolean arg1)
calculateScaleFactor(int guiScale, boolean forceUnicodeFont)
calculateScaleFactor(int guiScale, boolean forceUnicodeFont)
m_85385_(int p_85387_, boolean arg1)
public void
a(double arg0)
setGuiScale(double arg0)
method_15997(double arg0)
m_djoeuiuz(double arg0)
setScaleFactor(double scaleFactor)
setScaleFactor(double scaleFactor)
m_85378_(double arg0)
public void
b(String arg0)
setTitle(String arg0)
method_24286(String arg0)
m_kgkrpadq(String arg0)
setTitle(String title)
setTitle(String title)
m_85422_(String arg0)
public long
i()
getWindow()
method_4490()
m_xgopikcl()
getHandle()
getHandle()
m_85439_()
public boolean
j()
isFullscreen()
method_4498()
m_yaeczawc()
isFullscreen()
isFullscreen()
m_85440_()
public int
k()
getWidth()
method_4489()
m_ouvyvjrq()
getFramebufferWidth()
getFramebufferWidth()
m_85441_()
public int
l()
getHeight()
method_4506()
m_ngtidyhy()
getFramebufferHeight()
getFramebufferHeight()
m_85442_()
public void
b(int arg0)
setWidth(int arg0)
method_35642(int arg0)
m_gbvgpuak(int arg0)
setFramebufferWidth(int framebufferWidth)
setFramebufferWidth(int framebufferWidth)
m_166450_(int arg0)
public void
c(int arg0)
setHeight(int arg0)
method_35643(int arg0)
m_vijmoelu(int arg0)
setFramebufferHeight(int framebufferHeight)
setFramebufferHeight(int framebufferHeight)
m_166452_(int arg0)
public int
m()
getScreenWidth()
method_4480()
m_txiqdyhu()
getWidth()
getWidth()
m_85443_()
public int
n()
getScreenHeight()
method_4507()
m_edfmlinr()
getHeight()
getHeight()
m_85444_()
public int
o()
getGuiScaledWidth()
method_4486()
m_pzishyge()
getScaledWidth()
getScaledWidth()
m_85445_()
public int
p()
getGuiScaledHeight()
method_4502()
m_jzybmjbc()
getScaledHeight()
getScaledHeight()
m_85446_()
public int
q()
getX()
method_4499()
m_sqduowee()
getX()
getX()
m_85447_()
public int
r()
getY()
method_4477()
m_qtjitqig()
getY()
getY()
m_85448_()
public double
s()
getGuiScale()
method_4495()
m_lwnxjnta()
getScaleFactor()
getScaleFactor()
m_85449_()
public Monitor
t()
findBestMonitor()
method_20831()
m_wkxqajfd()
getMonitor()
getMonitor()
m_85450_()
public void
b(boolean arg0)
updateRawMouseInput(boolean arg0)
method_21668(boolean arg0)
m_swknsuot(boolean arg0)
setRawMouseMotion(boolean rawMouseMotion)
setRawMouseMotion(boolean rawMouseMotion)
m_85424_(boolean arg0)