net.minecraft.client.gui.screen

public abstract class Screen

extends AbstractParentElement implements Drawable

All mapped superinterfaces:

ParentElement, Element, Navigable, Drawable

gsb
net.minecraft.client.gui.screens.Screen
net.minecraft.class_437
net.minecraft.client.gui.screen.Screen
net.minecraft.unmapped.C_wrmtlwqx
net.minecraft.client.gui.screen.Screen
net.minecraft.src.C_3583_

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_22782
LOGGER
f_fnsnmohs
LOGGER
f_96536_
private static final Text
b
USAGE_NARRATION
field_33814
SCREEN_USAGE_TEXT
f_bjnksoor
SCREEN_USAGE
f_169367_
public static final Identifier
g
MENU_BACKGROUND
field_49511
MENU_BACKGROUND_TEXTURE
f_sektkmdw
MENU_BACKGROUND
f_315252_
public static final Identifier
h
HEADER_SEPARATOR
field_49895
HEADER_SEPARATOR_TEXTURE
f_erfyrjld
HEADER_SEPARATOR
f_316769_
public static final Identifier
i
FOOTER_SEPARATOR
field_49896
FOOTER_SEPARATOR_TEXTURE
f_dnkxkbyx
FOOTER_SEPARATOR
f_316966_
private static final Identifier
c
INWORLD_MENU_BACKGROUND
field_49894
INWORLD_MENU_BACKGROUND_TEXTURE
f_bvobnjsr
INWORLD_MENU_BACKGROUND
f_315794_
public static final Identifier
j
INWORLD_HEADER_SEPARATOR
field_49897
INWORLD_HEADER_SEPARATOR_TEXTURE
f_quytvjxb
INWORLD_HEADER_SEPARATOR
f_314458_
public static final Identifier
k
INWORLD_FOOTER_SEPARATOR
field_49898
INWORLD_FOOTER_SEPARATOR_TEXTURE
f_ojzzsrar
INWORLD_FOOTER_SEPARATOR
f_316128_
protected static final float
l
FADE_IN_TIME
field_60460
field_60460
f_idimyqlg
f_400526_
protected final Text
m
title
field_22785
title
f_htifmqlv
title
f_96539_
private final List<Element>
d
children
field_22786
children
f_kreiluct
children
f_96540_
private final List<Selectable>
e
narratables
field_33815
selectables
f_oeooblbi
selectables
f_169368_
protected final MinecraftClient
n
minecraft
field_22787
client
f_psnbmvaj
client
f_96541_
private boolean
f
initialized
field_42156
screenInitialized
f_dapowlyi
initialized
f_267454_
public int
o
width
field_22789
width
f_kmcqeiie
width
f_96543_
public int
p
height
field_22790
height
f_vsuqlruk
height
f_96544_
private final List<Drawable>
t
renderables
field_33816
drawables
f_rjdvwvyp
drawables
f_169369_
protected final TextRenderer
q
font
field_22793
textRenderer
f_bpxgxhlg
textRenderer
f_96547_
private static final long
u
NARRATE_SUPPRESS_AFTER_INIT_TIME
field_33817
SCREEN_INIT_NARRATION_DELAY
f_ywhydtya
SCREEN_INIT_NARRATION_DELAY
f_169370_
private static final long
v
NARRATE_DELAY_NARRATOR_ENABLED
field_33818
NARRATOR_MODE_CHANGE_DELAY
f_ofcdwhxy
NARRATOR_MODE_CHANGE_DELAY
f_169371_
private static final long
w
NARRATE_DELAY_MOUSE_MOVE
field_33819
MOUSE_MOVE_NARRATION_DELAY
f_mvugfdtw
MOUSE_MOVE_NARRATION_DELAY
f_169372_
private static final long
x
NARRATE_DELAY_MOUSE_ACTION
field_33820
MOUSE_PRESS_SCROLL_NARRATION_DELAY
f_rwuipbpc
MOUSE_ACTION_NARRATION_DELAY
f_169373_
private static final long
y
NARRATE_DELAY_KEYBOARD_ACTION
field_33821
KEY_PRESS_NARRATION_DELAY
f_qqbyyhim
KEYBOARD_ACTION_NARRATION_DELAY
f_169374_
private final ScreenNarrator
z
narrationState
field_33822
narrator
f_qdzbfdgb
narrator
f_169375_
private long
A
narrationSuppressTime
field_33823
elementNarrationStartTime
f_szwvjynq
elementNarrationStartTime
f_169376_
private long
B
nextNarrationTime
field_33824
screenNarrationStartTime
f_xypkugwe
screenNarrationStartTime
f_169377_
protected CyclingButtonWidget<NarratorMode>
r
narratorButton
field_52252
narratorToggleButton
f_npzkmprn
narratorModeButton
f_337633_
private Selectable
C
lastNarratable
field_33813
selected
f_enzwkzjs
selected
f_169365_
protected final Executor
s
screenExecutor
field_44944
executor
f_zjysrtvv
screenExecutor
f_289574_

Constructor summary

ModifierConstructor
protected (Text title)
protected (MinecraftClient client, TextRenderer textRenderer, Text title)

Method summary

Modifier and TypeMethod
public Text
q()
getTitle()
method_25440()
getTitle()
m_fggwkeeq()
getTitle()
m_96636_()
public Text
i()
getNarrationMessage()
method_25435()
getNarratedTitle()
m_nvnfplud()
getNarratedTitle()
m_142562_()
public final void
c(gir o, int o, int o, float arg3)
renderWithTooltipAndSubtitles(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_47413(class_332 arg0, int arg1, int arg2, float arg3)
renderWithTooltip(DrawContext context, int mouseX, int mouseY, float deltaTicks)
m_pjhkypjv(C_sedilmty arg0, int arg1, int arg2, float arg3)
m_pjhkypjv(GuiGraphics graphics, int arg1, int arg2, float arg3)
m_419058_(C_279497_ p_430834_, int p_428863_, int p_429482_, float arg3)
public void
a(gir o, int o, int o, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
m_ljhpujrm(C_sedilmty arg0, int arg1, int arg2, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
m_88315_(C_279497_ p_281550_, int p_282878_, int p_282465_, float arg3)
public boolean
a(gzb arg0)
keyPressed(KeyEvent arg0)
method_25404(class_11908 arg0)
keyPressed(KeyInput arg0)
m_qwrbtcbl(C_tuexkjlb arg0)
keyPressed(KeyEvent arg0)
m_7933_(C_411099_ arg0)
private GuiNavigation$Tab
c(boolean arg0)
createTabEvent(boolean arg0)
method_48266(boolean arg0)
getTabNavigation(boolean arg0)
m_ljtwkmmk(boolean arg0)
createArrowNavigation(boolean forward)
m_264442_(boolean arg0)
private GuiNavigation$Arrow
b(gpk arg0)
createArrowEvent(ScreenDirection arg0)
method_48264(class_8028 arg0)
getArrowNavigation(NavigationDirection direction)
m_ckkbzfqx(C_veciqgge arg0)
createTabNavigation(NavigationDirection direction)
m_264409_(C_263621_ arg0)
protected void
aI_()
setInitialFocus()
method_56131()
setInitialFocus()
m_uzikfrgi()
setInitialFocus()
m_318615_()
protected void
b(gmm arg0)
setInitialFocus(GuiEventListener arg0)
method_48265(class_364 arg0)
setInitialFocus(Element element)
m_owcmbtvl(C_fxiqpxaf arg0)
setInitialFocus(Element element)
m_264313_(C_3495_ arg0)
public void
r()
clearFocus()
method_48267()
blur()
m_fogjthpz()
focusCurrentPath()
m_264131_()
protected void
a(gin arg0)
changeFocus(ComponentPath arg0)
method_48263(class_8016 arg0)
switchFocus(GuiNavigationPath path)
m_vsopnzlx(C_ballifpu arg0)
focusCurrentPath(ElementPath path)
m_264158_(C_263634_ arg0)
public boolean
aY_()
shouldCloseOnEsc()
method_25422()
shouldCloseOnEsc()
m_snvbpxot()
shouldCloseOnEsc()
m_6913_()
public void
aX_()
onClose()
method_25419()
close()
m_tevgoglb()
closeScreen()
m_7379_()
protected <T extends Element, Drawable, Selectable> T
c(T arg0)
addRenderableWidget(T arg0)
method_37063(T arg0)
addDrawableChild(T drawableElement)
m_vsdrypvi(T arg0)
addDrawableSelectableElement(T drawableElement)
m_142416_(T arg0)
protected <T extends Drawable> T
a(T arg0)
addRenderableOnly(T arg0)
method_37060(T arg0)
addDrawable(T drawable)
m_wjyrnuws(T arg0)
addDrawable(T drawable)
m_169394_(T arg0)
protected <T extends Element, Selectable> T
d(T arg0)
addWidget(T arg0)
method_25429(T arg0)
addSelectableChild(T child)
m_lkrokqto(T arg0)
addSelectableElement(T child)
m_7787_(T arg0)
protected void
e(gmm arg0)
removeWidget(GuiEventListener arg0)
method_37066(class_364 arg0)
remove(Element child)
m_tvprcwgv(C_fxiqpxaf arg0)
remove(Element child)
m_169411_(C_3495_ arg0)
protected void
t()
clearWidgets()
method_37067()
clearChildren()
m_zatdgejs()
clearChildren()
m_169413_()
public static List<Text>
a(gfj o, dlt o)
getTooltipFromItem(Minecraft arg0, ItemStack arg1)
method_25408(class_310 arg0, class_1799 arg1)
getTooltipFromItem(MinecraftClient client, ItemStack stack)
m_gqwpvknz(C_ayfeobid arg0, C_sddaxwyk arg1)
getTooltipFromItem(MinecraftClient client, ItemStack stack)
m_280152_(C_3391_ p_281881_, C_1391_ p_282833_)
protected void
a_(String o, boolean arg1)
insertText(String arg0, boolean arg1)
method_25415(String arg0, boolean arg1)
insertText(String text, boolean override)
m_liiadbzl(String arg0, boolean arg1)
insertText(String text, boolean override)
m_6697_(String p_96588_, boolean arg1)
protected static void
a(yf o, gfj o, gsb o)
defaultHandleGameClickEvent(ClickEvent arg0, Minecraft arg1, Screen arg2)
method_71999(class_2558 arg0, class_310 arg1, class_437 arg2)
handleClickEvent(ClickEvent clickEvent, MinecraftClient client, Screen screenAfterRun)
m_noinrufd(C_djywfbme arg0, C_ayfeobid arg1, C_wrmtlwqx arg2)
m_noinrufd(ClickEvent arg0, MinecraftClient client, Screen arg2)
m_401746_(C_4993_ p_408337_, C_3391_ p_407842_, C_3583_ p_407429_)
protected static void
b(yf o, gfj o, gsb o)
defaultHandleClickEvent(ClickEvent arg0, Minecraft arg1, Screen arg2)
method_71847(class_2558 arg0, class_310 arg1, class_437 arg2)
handleBasicClickEvent(ClickEvent clickEvent, MinecraftClient client, Screen screenAfterRun)
m_ljssrgbs(C_djywfbme arg0, C_ayfeobid arg1, C_wrmtlwqx arg2)
m_ljssrgbs(ClickEvent arg0, MinecraftClient client, Screen arg2)
m_403955_(C_4993_ p_407893_, C_3391_ p_410530_, C_3583_ p_407004_)
protected static boolean
a(gfj o, gsb o, URI o)
clickUrlAction(Minecraft arg0, Screen arg1, URI arg2)
method_71843(class_310 arg0, class_437 arg1, URI arg2)
handleOpenUri(MinecraftClient client, Screen screen, URI uri)
m_hvpzkcmv(C_ayfeobid arg0, C_wrmtlwqx arg1, URI arg2)
m_hvpzkcmv(MinecraftClient client, Screen arg1, URI uri)
m_404009_(C_3391_ p_406192_, C_3583_ p_408543_, URI p_408598_)
protected static void
a(hnh o, String o, gsb o)
clickCommandAction(LocalPlayer arg0, String arg1, Screen arg2)
method_71844(class_746 arg0, String arg1, class_437 arg2)
handleRunCommand(ClientPlayerEntity player, String command, Screen screenAfterRun)
m_jrdpqutl(C_jlopmfei arg0, String arg1, C_wrmtlwqx arg2)
m_jrdpqutl(ClientPlayerEntity player, String arg1, Screen arg2)
m_401065_(C_4105_ p_409065_, String p_408291_, C_3583_ p_409951_)
public final void
b(int o, int arg1)
init(int arg0, int arg1)
method_25423(int arg0, int arg1)
init(int width, int height)
m_euioamnr(int arg0, int arg1)
m_6575_(int p_96609_, int arg1)
protected void
u()
rebuildWidgets()
method_41843()
clearAndInit()
m_yikydyxb()
clearAndInit()
m_232761_()
protected void
a(float arg0)
fadeWidgets(float arg0)
method_71536(float arg0)
setWidgetAlpha(float alpha)
m_rmrjrlty(float arg0)
m_404593_(float arg0)
public List<? extends Element>
aJ_()
children()
method_25396()
children()
m_soldxolv()
children()
m_6702_()
protected void
bg_()
init()
method_25426()
init()
m_xaqeivsh()
init()
m_7856_()
public void
e()
tick()
method_25393()
tick()
m_ndigxngy()
tick()
m_86600_()
public void
aZ_()
removed()
method_25432()
removed()
m_awpofqnh()
removed()
m_7861_()
public void
aK_()
added()
method_49589()
onDisplayed()
m_efvbcpbf()
onDisplayed()
m_274333_()
public void
b(gir o, int o, int o, float arg3)
renderBackground(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_25420(class_332 arg0, int arg1, int arg2, float arg3)
renderBackground(DrawContext context, int mouseX, int mouseY, float deltaTicks)
m_qfxudleh(C_sedilmty arg0, int arg1, int arg2, float arg3)
renderBackground(GuiGraphics graphics, int mouseX, int mouseY, float delta)
m_280273_(C_279497_ p_299421_, int p_298679_, int p_297268_, float arg3)
protected void
b(gir arg0)
renderBlurredBackground(GuiGraphics arg0)
method_57734(class_332 arg0)
applyBlur(DrawContext context)
m_bncrkgkz(C_sedilmty arg0)
renderBlur(GuiGraphics graphics)
m_324436_(C_279497_ arg0)
protected void
a(gir o, float arg1)
renderPanorama(GuiGraphics arg0, float arg1)
method_57728(class_332 arg0, float arg1)
renderPanoramaBackground(DrawContext context, float deltaTicks)
m_bovegipe(C_sedilmty arg0, float arg1)
renderPanorama(GuiGraphics graphics, float tickDelta)
m_320189_(C_279497_ p_335227_, float arg1)
protected void
a(gir arg0)
renderMenuBackground(GuiGraphics arg0)
method_57735(class_332 arg0)
renderDarkening(DrawContext context)
m_bplrnryk(C_sedilmty arg0)
renderMenuBackground(GuiGraphics graphics)
m_323963_(C_279497_ arg0)
protected void
a(gir o, int o, int o, int o, int arg4)
renderMenuBackground(GuiGraphics arg0, int arg1, int arg2, int arg3, int arg4)
method_57736(class_332 arg0, int arg1, int arg2, int arg3, int arg4)
renderDarkening(DrawContext context, int x, int y, int width, int height)
m_wvbxumwq(C_sedilmty arg0, int arg1, int arg2, int arg3, int arg4)
renderMenuBackground(GuiGraphics graphics, int x, int y, int width, int height)
m_320284_(C_279497_ p_328355_, int p_328091_, int p_332954_, int p_331811_, int arg4)
public static void
a(gir o, amo o, int o, int o, float o, float o, int o, int o)
renderMenuBackgroundTexture(GuiGraphics arg0, Identifier arg1, int arg2, int arg3, float arg4, float arg5, int arg6, int arg7)
method_57737(class_332 arg0, class_2960 arg1, int arg2, int arg3, float arg4, float arg5, int arg6, int arg7)
renderBackgroundTexture(DrawContext context, Identifier texture, int x, int y, float u, float v, int width, int height)
m_hjitkdkn(C_sedilmty arg0, C_dbqpwypu arg1, int arg2, int arg3, float arg4, float arg5, int arg6, int arg7)
renderMenuBackgroundTexture(GuiGraphics graphics, Identifier arg1, int x, int y, float u, float v, int width, int height)
m_323099_(C_279497_ p_331670_, C_432211_ p_458732_, int p_332491_, int p_335034_, float p_330279_, float p_334888_, int p_331386_, int p_330145_)
public void
c(gir arg0)
renderTransparentBackground(GuiGraphics arg0)
method_52752(class_332 arg0)
renderInGameBackground(DrawContext context)
m_psfweybj(C_sedilmty arg0)
renderWorldOverlayBackground(GuiGraphics graphics)
m_293900_(C_279497_ arg0)
public boolean
ba_()
isPauseScreen()
method_25421()
shouldPause()
m_acdaclus()
isPauseScreen()
m_7043_()
public boolean
v()
isInGameUi()
method_73150()
deferSubtitles()
m_uqaxpqwf()
m_415625_()
protected boolean
aL_()
panoramaShouldSpin()
method_72798()
allowRotatingPanorama()
m_diwwaycl()
m_416669_()
public boolean
bb_()
isAllowedInPortal()
method_73217()
keepOpenThroughPortal()
m_kxslsatg()
m_415775_()
protected void
c()
repositionElements()
method_48640()
refreshWidgetPositions()
m_htvzhlss()
repositionElements()
m_267719_()
public void
a(int o, int arg1)
resize(int arg0, int arg1)
method_25410(int arg0, int arg1)
resize(int width, int height)
m_frxoqyrs(int arg0, int arg1)
resize(int width, int height)
m_6574_(int p_96577_, int arg1)
public void
a(m arg0)
fillCrashDetails(CrashReport arg0)
method_65027(class_128 arg0)
addCrashReportSection(CrashReport report)
m_ksugvstw(C_bkefkbum arg0)
m_357382_(C_4883_ arg0)
protected boolean
a(String o, int o, int arg2)
isValidCharacterForName(String arg0, int arg1, int arg2)
method_25414(String arg0, int arg1, int arg2)
isValidCharacterForName(String name, int codepoint, int cursorPos)
m_tvpyexnb(String arg0, int arg1, int arg2)
isValidCharacterForName(String name, int cursorPos, int arg2)
m_96583_(String p_96586_, int p_422770_, int arg2)
public boolean
a_(double o, double arg1)
isMouseOver(double arg0, double arg1)
method_25405(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
m_nxrnpxyk(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
m_5953_(double p_96596_, double arg1)
public void
a(List<Path> arg0)
onFilesDrop(List<Path> arg0)
method_29638(List<Path> arg0)
onFilesDropped(List<Path> paths)
m_sktirqkj(List<Path> arg0)
filesDragged(List<Path> paths)
m_7400_(List<Path> arg0)
private void
a(long o, boolean arg1)
scheduleNarration(long arg0, boolean arg1)
method_37059(long arg0, boolean arg1)
setScreenNarrationDelay(long delayMs, boolean restartElementNarration)
m_erlymyto(long arg0, boolean arg1)
setScreenNarrationDelay(long delayMs, boolean restartElementNarration)
m_169380_(long p_169382_, boolean arg1)
private void
a(long arg0)
suppressNarration(long arg0)
method_37058(long arg0)
setElementNarrationDelay(long delayMs)
m_mnimqwok(long arg0)
setElementNarrationDelay(long delayMs)
m_169378_(long arg0)
private void
b(long arg0)
setNarrationSuppressTime(long arg0)
method_72802(long arg0)
setElementNarrationStartTime(long startTimeMs)
m_xmwhbzvr(long arg0)
m_415035_(long arg0)
public void
w()
afterMouseMove()
method_37068()
applyMouseMoveNarratorDelay()
m_iytoanop()
applyMouseMoveNarratorDelay()
m_169414_()
public void
x()
afterMouseAction()
method_37069()
applyMousePressScrollNarratorDelay()
m_wcypszzy()
applyMousePressScrollNarratorDelay()
m_169415_()
public void
y()
afterKeyboardAction()
method_37070()
applyKeyPressNarratorDelay()
m_pfjlkadm()
applyKeyPressNarratorDelay()
m_169416_()
private boolean
o()
shouldRunNarration()
method_37073()
isNarratorActive()
m_kuxewqdw()
isNarratorActive()
m_169419_()
public void
z()
handleDelayedNarration()
method_37071()
updateNarrator()
m_relyixry()
updateNarrator()
m_169417_()
public void
d(boolean arg0)
triggerImmediateNarration(boolean arg0)
method_37064(boolean arg0)
narrateScreenIfNarrationEnabled(boolean onlyChangedNarrations)
m_zycsispl(boolean arg0)
narrateScreenIfNarrationEnabled(boolean useTranslationsCache)
m_169407_(boolean arg0)
private void
f(boolean arg0)
runNarration(boolean arg0)
method_37065(boolean arg0)
narrateScreen(boolean onlyChangedNarrations)
m_iugdsrhk(boolean arg0)
narrateScreen(boolean useTranslationsCache)
m_169409_(boolean arg0)
protected boolean
bc_()
shouldNarrateNavigation()
method_48262()
hasUsageText()
m_keapshqu()
shouldNarrateNavigation()
m_264396_()
protected void
a(gpd arg0)
updateNarrationState(NarrationElementOutput arg0)
method_37062(class_6382 arg0)
addScreenNarrations(NarrationMessageBuilder messageBuilder)
m_klvwxtca(C_pofrkllk arg0)
addScreenNarrations(NarrationMessageBuilder builder)
m_142228_(C_141608_ arg0)
protected void
b(gpd arg0)
updateNarratedWidget(NarrationElementOutput arg0)
method_37056(class_6382 arg0)
addElementNarrations(NarrationMessageBuilder builder)
m_lknkyvhl(C_pofrkllk arg0)
addElementNarrations(NarrationMessageBuilder builder)
m_142227_(C_141608_ arg0)
protected Text
B()
getUsageNarration()
method_53870()
getUsageNarrationText()
m_snicuexz()
navigationUsageText()
m_301494_()
public static Screen$SelectedElementNarrationData
a(List<? extends gpb> o, gpb o)
findNarratableWidget(List<? extends NarratableEntry> arg0, NarratableEntry arg1)
method_37061(List<? extends class_6379> arg0, class_6379 arg1)
findSelectedElementData(List<? extends Selectable> selectables, Selectable selectable)
m_qrphnkdt(List<? extends C_womhzmwc> arg0, C_womhzmwc arg1)
findSelectedElementData(List<? extends Selectable> selectables, Selectable selectable)
m_169400_(List<? extends C_141605_> p_169401_, C_141605_ p_169402_)
public void
e(boolean arg0)
updateNarratorStatus(boolean arg0)
method_61040(boolean arg0)
refreshNarrator(boolean previouslyDisabled)
m_kwqejrhl(boolean arg0)
updateNarratorState(boolean narratorOff)
m_340185_(boolean arg0)
public TextRenderer
C()
getFont()
method_64506()
getTextRenderer()
m_jjrfxwfr()
m_355070_()
public boolean
D()
showsActiveEffects()
method_64507()
showsStatusEffects()
m_gphbivix()
m_351562_()
public boolean
aM_()
canInterruptWithAnotherScreen()
method_73339()
canInterruptOtherScreen()
m_geewfmfo()
m_415810_()
public ScreenRect
aV_()
getRectangle()
method_48202()
getNavigationFocus()
m_duvbqmml()
getArea()
m_264198_()
public MusicSound
E()
getBackgroundMusic()
method_50024()
getMusic()
m_qstvimvy()
getMusic()
m_278176_()