com.mojang.blaze3d.platform

public final class Window

implements AutoCloseable

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

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public static String
a()
getPlatform()
method_60793()
m_dxtquvzd()
getGlfwPlatform()
getPlatform()
m_340634_()
public int
b()
getRefreshRate()
method_22092()
m_stjgevoo()
getRefreshRate()
getRefreshRate()
m_85377_()
public boolean
c()
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(asq arg0, fad arg1)
setIcon(PackResources arg0, IconSet arg1)
method_4491(class_3262 arg0, class_8518 arg1)
m_tmxadezh(C_tguinuvn arg0, C_xksdrgbg arg1)
setIcon(ResourcePack resourcePack, Icons icons)
setIcon(ResourcePack pack, WindowIcons icon)
m_280655_(C_50_ p_282155_, C_279509_ arg1)
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
v()
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
d()
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
w()
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
e()
getFramerateLimit()
method_16000()
m_jjklszue()
getFramerateLimit()
getFramerateLimit()
m_85434_()
public void
f()
updateDisplay()
method_15998()
m_ugdhvupv()
swapBuffers()
swapBuffers()
m_85435_()
public Optional<VideoMode>
g()
getPreferredFullscreenVideoMode()
method_4511()
m_jtnvwpep()
getFullscreenVideoMode()
getVideoMode()
m_85436_()
public void
a(Optional<fal> arg0)
setPreferredFullscreenVideoMode(Optional<VideoMode> arg0)
method_4505(Optional<class_319> arg0)
m_iwfsswut(Optional<C_oyiohbge> arg0)
setFullscreenVideoMode(Optional<VideoMode> fullscreenVideoMode)
setVideoMode(Optional<VideoMode> videoMode)
m_85405_(Optional<C_3160_> arg0)
public void
h()
changeFullscreenVideoMode()
method_4475()
m_lggogwiv()
applyFullscreenVideoMode()
applyVideoMode()
m_85437_()
private void
x()
setMode()
method_4479()
m_cndxkiao()
updateWindowRegion()
updateWindowRegion()
m_85453_()
public void
i()
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
j()
getWindow()
method_4490()
m_xgopikcl()
getHandle()
getHandle()
m_85439_()
public boolean
k()
isFullscreen()
method_4498()
m_yaeczawc()
isFullscreen()
isFullscreen()
m_85440_()
public int
l()
getWidth()
method_4489()
m_ouvyvjrq()
getFramebufferWidth()
getFramebufferWidth()
m_85441_()
public int
m()
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
n()
getScreenWidth()
method_4480()
m_txiqdyhu()
getWidth()
getWidth()
m_85443_()
public int
o()
getScreenHeight()
method_4507()
m_edfmlinr()
getHeight()
getHeight()
m_85444_()
public int
p()
getGuiScaledWidth()
method_4486()
m_pzishyge()
getScaledWidth()
getScaledWidth()
m_85445_()
public int
q()
getGuiScaledHeight()
method_4502()
m_jzybmjbc()
getScaledHeight()
getScaledHeight()
m_85446_()
public int
r()
getX()
method_4499()
m_sqduowee()
getX()
getX()
m_85447_()
public int
s()
getY()
method_4477()
m_qtjitqig()
getY()
getY()
m_85448_()
public double
t()
getGuiScale()
method_4495()
m_lwnxjnta()
getScaleFactor()
getScaleFactor()
m_85449_()
public Monitor
u()
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)