net.minecraft.client.gui.screens

public abstract class Screen

extends AbstractContainerEventHandler implements Renderable

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

eyk
net.minecraft.client.gui.screens.Screen
net.minecraft.class_437
net.minecraft.unmapped.C_wrmtlwqx
net.minecraft.client.gui.screen.Screen
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
f_fnsnmohs
LOGGER
LOGGER
f_96536_
private static final Set<String>
b
ALLOWED_PROTOCOLS
field_22783
f_saroizas
ALLOWED_PROTOCOLS
ALLOWED_PROTOCOLS
f_96537_
private static final Component
c
USAGE_NARRATION
field_33814
f_bjnksoor
SCREEN_USAGE_TEXT
SCREEN_USAGE
f_169367_
public static final ResourceLocation
d
BACKGROUND_LOCATION
field_44669
f_xefkwmmw
OPTIONS_BACKGROUND_TEXTURE
OPTIONS_BACKGROUND_TEXTURE
f_279548_
protected final Component
e
title
field_22785
f_htifmqlv
title
title
f_96539_
private final List<GuiEventListener>
k
children
field_22786
f_kreiluct
children
children
f_96540_
private final List<NarratableEntry>
l
narratables
field_33815
f_oeooblbi
selectables
selectables
f_169368_
protected Minecraft
f
minecraft
field_22787
f_psnbmvaj
client
client
f_96541_
private boolean
m
initialized
field_42156
f_dapowlyi
screenInitialized
initialized
f_267454_
public int
g
width
field_22789
f_kmcqeiie
width
width
f_96543_
public int
h
height
field_22790
f_vsuqlruk
height
height
f_96544_
private final List<Renderable>
n
renderables
field_33816
f_rjdvwvyp
drawables
drawables
f_169369_
protected Font
i
font
field_22793
f_bpxgxhlg
textRenderer
textRenderer
f_96547_
private URI
o
clickedLink
field_22784
f_cfctryef
clickedLink
clickedLink
f_96538_
private static final long
p
NARRATE_SUPPRESS_AFTER_INIT_TIME
field_33817
f_ywhydtya
SCREEN_INIT_NARRATION_DELAY
SCREEN_INIT_NARRATION_DELAY
f_169370_
private static final long
q
NARRATE_DELAY_NARRATOR_ENABLED
field_33818
f_ofcdwhxy
NARRATOR_MODE_CHANGE_DELAY
NARRATOR_MODE_CHANGE_DELAY
f_169371_
private static final long
s
NARRATE_DELAY_MOUSE_MOVE
field_33819
f_mvugfdtw
MOUSE_MOVE_NARRATION_DELAY
MOUSE_MOVE_NARRATION_DELAY
f_169372_
private static final long
t
NARRATE_DELAY_MOUSE_ACTION
field_33820
f_rwuipbpc
MOUSE_PRESS_SCROLL_NARRATION_DELAY
MOUSE_ACTION_NARRATION_DELAY
f_169373_
private static final long
u
NARRATE_DELAY_KEYBOARD_ACTION
field_33821
f_qqbyyhim
KEY_PRESS_NARRATION_DELAY
KEYBOARD_ACTION_NARRATION_DELAY
f_169374_
private final ScreenNarrationCollector
v
narrationState
field_33822
f_qdzbfdgb
narrator
narrator
f_169375_
private long
w
narrationSuppressTime
field_33823
f_szwvjynq
elementNarrationStartTime
elementNarrationStartTime
f_169376_
private long
x
nextNarrationTime
field_33824
f_xypkugwe
screenNarrationStartTime
screenNarrationStartTime
f_169377_
private NarratableEntry
y
lastNarratable
field_33813
f_enzwkzjs
selected
selected
f_169365_
private Screen$DeferredTooltipRendering
z
deferredTooltipRendering
field_41685
f_jcgjfjni
tooltip
deferredTooltip
f_262730_
protected final Executor
j
screenExecutor
field_44944
f_zjysrtvv
executor
screenExecutor
f_289574_

Constructor summary

ModifierConstructor
protected (Component title)

Method summary

Modifier and TypeMethod
public Component
m()
getTitle()
method_25440()
m_fggwkeeq()
getTitle()
getTitle()
m_96636_()
public Component
g()
getNarrationMessage()
method_25435()
m_nvnfplud()
getNarratedTitle()
getNarratedTitle()
m_142562_()
public final void
c(esf arg0, int arg1, int arg2, float arg3)
renderWithTooltip(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_47413(class_332 arg0, int arg1, int arg2, float arg3)
m_pfwvzdim(C_sedilmty arg0, int arg1, int arg2, float arg3)
renderWithTooltip(DrawContext context, int mouseX, int mouseY, float delta)
renderWithTooltip(GuiGraphics graphics, int mouseX, int mouseY, float delta)
m_280264_(C_279497_ p_283456_, int p_283586_, int p_282339_, float arg3)
public void
a(esf arg0, int arg1, int arg2, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
m_ljhpujrm(C_sedilmty arg0, int arg1, int arg2, float arg3)
render(DrawContext 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(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
method_25404(int arg0, int arg1, int arg2)
m_qwrbtcbl(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
m_7933_(int p_96553_, int p_96554_, int arg2)
private FocusNavigationEvent$TabNavigation
l()
createTabEvent()
method_48266()
m_ljtwkmmk()
getTabNavigation()
createArrowNavigation()
m_264442_()
private FocusNavigationEvent$ArrowNavigation
a(ewq arg0)
createArrowEvent(ScreenDirection arg0)
method_48264(class_8028 arg0)
m_ckkbzfqx(C_veciqgge arg0)
getArrowNavigation(NavigationDirection direction)
createTabNavigation(NavigationDirection direction)
m_264409_(C_263621_ arg0)
protected void
c(euk arg0)
setInitialFocus(GuiEventListener arg0)
method_48265(class_364 arg0)
m_itgcwztd(C_fxiqpxaf arg0)
setInitialFocus(Element element)
setInitialFocus(Element element)
m_264313_(C_3495_ arg0)
private void
D()
clearFocus()
method_48267()
m_fogjthpz()
blur()
focusCurrentPath()
m_264131_()
protected void
a(esc arg0)
changeFocus(ComponentPath arg0)
method_48263(class_8016 arg0)
m_vsopnzlx(C_ballifpu arg0)
switchFocus(GuiNavigationPath path)
focusCurrentPath(ElementPath path)
m_264158_(C_263634_ arg0)
public boolean
ay_()
shouldCloseOnEsc()
method_25422()
m_snvbpxot()
shouldCloseOnEsc()
shouldCloseOnEsc()
m_6913_()
public void
az_()
onClose()
method_25419()
m_tevgoglb()
close()
closeScreen()
m_7379_()
protected <T extends GuiEventListener, Renderable, NarratableEntry> T
d(T arg0)
addRenderableWidget(T arg0)
method_37063(T arg0)
m_vsdrypvi(T arg0)
addDrawableChild(T drawableElement)
addDrawableSelectableElement(T drawableElement)
m_142416_(T arg0)
protected <T extends Renderable> T
a(T arg0)
addRenderableOnly(T arg0)
method_37060(T arg0)
m_wjyrnuws(T arg0)
addDrawable(T drawable)
addDrawable(T drawable)
m_169394_(T arg0)
protected <T extends GuiEventListener, NarratableEntry> T
e(T arg0)
addWidget(T arg0)
method_25429(T arg0)
m_lkrokqto(T arg0)
addSelectableChild(T child)
addSelectableElement(T child)
m_7787_(T arg0)
protected void
f(euk arg0)
removeWidget(GuiEventListener arg0)
method_37066(class_364 arg0)
m_tvprcwgv(C_fxiqpxaf arg0)
remove(Element child)
remove(Element child)
m_169411_(C_3495_ arg0)
protected void
n()
clearWidgets()
method_37067()
m_zatdgejs()
clearChildren()
clearChildren()
m_169413_()
public static List<Component>
a(eqv arg0, cjf arg1)
getTooltipFromItem(Minecraft arg0, ItemStack arg1)
method_25408(class_310 arg0, class_1799 arg1)
m_gqwpvknz(C_ayfeobid arg0, C_sddaxwyk arg1)
getTooltipFromItem(MinecraftClient client, ItemStack stack)
getTooltipFromItem(MinecraftClient client, ItemStack stack)
m_280152_(C_3391_ p_281881_, C_1391_ p_282833_)
protected void
a(String arg0, boolean arg1)
insertText(String arg0, boolean arg1)
method_25415(String arg0, boolean arg1)
m_liiadbzl(String arg0, boolean arg1)
insertText(String text, boolean override)
insertText(String text, boolean override)
m_6697_(String p_96588_, boolean arg1)
public boolean
a(uh arg0)
handleComponentClicked(Style arg0)
method_25430(class_2583 arg0)
m_lnmhtyux(C_cpwnhism arg0)
handleTextClick(Style style)
handleTextClick(Style style)
m_5561_(C_5020_ arg0)
public final void
b(eqv arg0, int arg1, int arg2)
init(Minecraft arg0, int arg1, int arg2)
method_25423(class_310 arg0, int arg1, int arg2)
m_diqdtrjj(C_ayfeobid arg0, int arg1, int arg2)
init(MinecraftClient client, int width, int height)
init(MinecraftClient client, int width, int height)
m_6575_(C_3391_ p_96608_, int p_96609_, int arg2)
protected void
o()
rebuildWidgets()
method_41843()
m_yikydyxb()
clearAndInit()
clearAndInit()
m_232761_()
public List<? extends GuiEventListener>
i()
children()
method_25396()
m_soldxolv()
children()
children()
m_6702_()
protected void
aH_()
init()
method_25426()
m_xaqeivsh()
init()
init()
m_7856_()
public void
c()
tick()
method_25393()
m_ndigxngy()
tick()
tick()
m_86600_()
public void
h()
removed()
method_25432()
m_awpofqnh()
removed()
removed()
m_7861_()
public void
aA_()
added()
method_49589()
m_efvbcpbf()
onDisplayed()
onDisplayed()
m_274333_()
public void
b(esf arg0, int arg1, int arg2, float arg3)
renderBackground(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_25420(class_332 arg0, int arg1, int arg2, float arg3)
m_qfxudleh(C_sedilmty arg0, int arg1, int arg2, float arg3)
renderBackground(DrawContext context, int mouseX, int mouseY, float delta)
renderBackground(GuiGraphics graphics, int mouseX, int mouseY, float delta)
m_280273_(C_279497_ p_299421_, int p_298679_, int p_297268_, float arg3)
public void
a(esf arg0)
renderTransparentBackground(GuiGraphics arg0)
method_52752(class_332 arg0)
m_psfweybj(C_sedilmty arg0)
renderInGameBackground(DrawContext context)
renderWorldOverlayBackground(GuiGraphics graphics)
m_293900_(C_279497_ arg0)
public void
b(esf arg0)
renderDirtBackground(GuiGraphics arg0)
method_25434(class_332 arg0)
m_vaathegj(C_sedilmty arg0)
renderBackgroundTexture(DrawContext context)
renderBackgroundTexture(GuiGraphics graphics)
m_280039_(C_279497_ arg0)
public boolean
j()
isPauseScreen()
method_25421()
m_acdaclus()
shouldPause()
isPauseScreen()
m_7043_()
private void
c(boolean arg0)
confirmLink(boolean arg0)
method_25428(boolean arg0)
m_pfmszspr(boolean arg0)
confirmLink(boolean open)
confirmLink(boolean open)
m_96622_(boolean arg0)
private void
a(URI arg0)
openLink(URI arg0)
method_25416(URI arg0)
m_eglfmswk(URI arg0)
openLink(URI link)
openLink(URI link)
m_96589_(URI arg0)
public static boolean
p()
hasControlDown()
method_25441()
m_nuosckio()
hasControlDown()
hasControlDown()
m_96637_()
public static boolean
q()
hasShiftDown()
method_25442()
m_eyzbpvak()
hasShiftDown()
hasShiftDown()
m_96638_()
public static boolean
r()
hasAltDown()
method_25443()
m_pgbqqklr()
hasAltDown()
hasAltDown()
m_96639_()
public static boolean
d(int arg0)
isCut(int arg0)
method_25436(int arg0)
m_updnfwlh(int arg0)
isCut(int code)
isCut(int keyCode)
m_96628_(int p_96629_)
public static boolean
e(int arg0)
isPaste(int arg0)
method_25437(int arg0)
m_rghzttgk(int arg0)
isPaste(int code)
isPaste(int keyCode)
m_96630_(int p_96631_)
public static boolean
f(int arg0)
isCopy(int arg0)
method_25438(int arg0)
m_gseqedxv(int arg0)
isCopy(int code)
isCopy(int keyCode)
m_96632_(int p_96633_)
public static boolean
g(int arg0)
isSelectAll(int arg0)
method_25439(int arg0)
m_guegvdae(int arg0)
isSelectAll(int code)
isSelectAll(int code)
m_96634_(int p_96635_)
protected void
b()
repositionElements()
method_48640()
m_htvzhlss()
initTabNavigation()
repositionElements()
m_267719_()
public void
a(eqv arg0, int arg1, int arg2)
resize(Minecraft arg0, int arg1, int arg2)
method_25410(class_310 arg0, int arg1, int arg2)
m_frxoqyrs(C_ayfeobid arg0, int arg1, int arg2)
resize(MinecraftClient client, int width, int height)
resize(MinecraftClient client, int width, int height)
m_6574_(C_3391_ p_96576_, int p_96577_, int arg2)
public static void
a(Runnable arg0, String arg1, String arg2)
wrapScreenError(Runnable arg0, String arg1, String arg2)
method_25412(Runnable arg0, String arg1, String arg2)
m_ioaopcny(Runnable arg0, String arg1, String arg2)
wrapScreenError(Runnable task, String errorTitle, String screenName)
wrapScreenError(Runnable task, String errorTitle, String screenName)
m_96579_(Runnable p_96580_, String p_96581_, String p_96582_)
protected boolean
a(String arg0, char arg1, int arg2)
isValidCharacterForName(String arg0, char arg1, int arg2)
method_25414(String arg0, char arg1, int arg2)
m_tvpyexnb(String arg0, char arg1, int arg2)
isValidCharacterForName(String name, char character, int cursorPos)
isValidCharacterForName(String name, char character, int cursorPos)
m_96583_(String p_96585_, char p_96586_, int arg2)
public boolean
a_(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
method_25405(double arg0, double arg1)
m_nxrnpxyk(double arg0, double arg1)
isMouseOver(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)
m_sktirqkj(List<Path> arg0)
filesDragged(List<Path> paths)
filesDragged(List<Path> paths)
m_7400_(List<Path> arg0)
private void
a(long arg0, boolean arg1)
scheduleNarration(long arg0, boolean arg1)
method_37059(long arg0, boolean arg1)
m_erlymyto(long arg0, boolean arg1)
setScreenNarrationDelay(long delayMs, boolean restartElementNarration)
setScreenNarrationDelay(long delayMs, boolean restartElementNarration)
m_169380_(long p_169382_, boolean arg1)
private void
a(long arg0)
suppressNarration(long arg0)
method_37058(long arg0)
m_mnimqwok(long arg0)
setElementNarrationDelay(long delayMs)
setElementNarrationDelay(long delayMs)
m_169378_(long arg0)
public void
w()
afterMouseMove()
method_37068()
m_iytoanop()
applyMouseMoveNarratorDelay()
applyMouseMoveNarratorDelay()
m_169414_()
public void
x()
afterMouseAction()
method_37069()
m_wcypszzy()
applyMousePressScrollNarratorDelay()
applyMousePressScrollNarratorDelay()
m_169415_()
public void
y()
afterKeyboardAction()
method_37070()
m_pfjlkadm()
applyKeyPressNarratorDelay()
applyKeyPressNarratorDelay()
m_169416_()
private boolean
H()
shouldRunNarration()
method_37073()
m_kuxewqdw()
isNarratorActive()
isNarratorActive()
m_169419_()
public void
z()
handleDelayedNarration()
method_37071()
m_relyixry()
updateNarrator()
updateNarrator()
m_169417_()
public void
d(boolean arg0)
triggerImmediateNarration(boolean arg0)
method_37064(boolean arg0)
m_zycsispl(boolean arg0)
narrateScreenIfNarrationEnabled(boolean onlyChangedNarrations)
narrateScreenIfNarrationEnabled(boolean useTranslationsCache)
m_169407_(boolean arg0)
private void
e(boolean arg0)
runNarration(boolean arg0)
method_37065(boolean arg0)
m_iugdsrhk(boolean arg0)
narrateScreen(boolean onlyChangedNarrations)
narrateScreen(boolean useTranslationsCache)
m_169409_(boolean arg0)
protected boolean
aG_()
shouldNarrateNavigation()
method_48262()
m_keapshqu()
hasUsageText()
shouldNarrateNavigation()
m_264396_()
protected void
a(ewi arg0)
updateNarrationState(NarrationElementOutput arg0)
method_37062(class_6382 arg0)
m_klvwxtca(C_pofrkllk arg0)
addScreenNarrations(NarrationMessageBuilder messageBuilder)
addScreenNarrations(NarrationMessageBuilder builder)
m_142228_(C_141608_ arg0)
protected void
b(ewi arg0)
updateNarratedWidget(NarrationElementOutput arg0)
method_37056(class_6382 arg0)
m_lknkyvhl(C_pofrkllk arg0)
addElementNarrations(NarrationMessageBuilder builder)
addElementNarrations(NarrationMessageBuilder builder)
m_142227_(C_141608_ arg0)
protected Component
A()
getUsageNarration()
method_53870()
m_snicuexz()
getUsageNarrationText()
navigationUsageText()
m_301494_()
public static Screen$NarratableSearchResult
a(List<? extends ewg> arg0, ewg arg1)
findNarratableWidget(List<? extends NarratableEntry> arg0, NarratableEntry arg1)
method_37061(List<? extends class_6379> arg0, class_6379 arg1)
m_qrphnkdt(List<? extends C_womhzmwc> arg0, C_womhzmwc arg1)
findSelectedElementData(List<? extends Selectable> selectables, Selectable selectable)
findSelectedElementData(List<? extends Selectable> selectables, Selectable selectable)
m_169400_(List<? extends C_141605_> p_169401_, C_141605_ p_169402_)
public void
B()
narrationEnabled()
method_37072()
m_bdijjzsm()
applyNarratorModeChangeDelay()
applyNarratorModeChangeDelay()
m_169418_()
public void
b(List<arj> arg0)
setTooltipForNextRenderPass(List<FormattedCharSequence> arg0)
method_47414(List<class_5481> arg0)
m_wzyluyjp(List<C_apvkgwyi> arg0)
setTooltip(List<OrderedText> tooltip)
setDeferredTooltip(List<OrderedText> tooltip)
m_257959_(List<C_178_> arg0)
public void
a(List<arj> arg0, fbb arg1, boolean arg2)
setTooltipForNextRenderPass(List<FormattedCharSequence> arg0, ClientTooltipPositioner arg1, boolean arg2)
method_47942(List<class_5481> arg0, class_8000 arg1, boolean arg2)
m_ervlzltg(List<C_apvkgwyi> arg0, C_imjripdz arg1, boolean arg2)
setTooltip(List<OrderedText> tooltip, TooltipPositioner positioner, boolean focused)
setDeferredTooltip(List<OrderedText> tooltip, TooltipPositioner positioner, boolean replaceCurrentTooltip)
m_262861_(List<C_178_> p_263078_, C_262719_ p_263107_, boolean arg2)
protected void
d(tl arg0)
setTooltipForNextRenderPass(Component arg0)
method_47415(class_2561 arg0)
m_nmctqrnu(C_rdaqiwdt arg0)
setTooltip(Text tooltip)
setDeferredTooltip(Text text)
m_257404_(C_4996_ arg0)
public void
a(eua arg0, fbb arg1, boolean arg2)
setTooltipForNextRenderPass(Tooltip arg0, ClientTooltipPositioner arg1, boolean arg2)
method_47412(class_7919 arg0, class_8000 arg1, boolean arg2)
m_rfmnuiwc(C_skehaijy arg0, C_imjripdz arg1, boolean arg2)
setTooltip(Tooltip tooltip, TooltipPositioner positioner, boolean focused)
setDeferredTooltip(Tooltip tooltip, TooltipPositioner positioner, boolean replaceCurrentTooltip)
m_262791_(C_256714_ p_262980_, C_262719_ p_262988_, boolean arg2)
protected static void
a(eso... arg0)
hideWidgets(AbstractWidget... arg0)
method_40041(class_339... arg0)
m_hffjphji(C_kpvuxmkp... arg0)
hide(ClickableWidget... widgets)
hideWidgets(ClickableWidget... widgets)
m_202376_(C_3449_... p_202377_)
public ScreenRectangle
s()
getRectangle()
method_48202()
m_duvbqmml()
getNavigationFocus()
getArea()
m_264198_()
public Music
C()
getBackgroundMusic()
method_50024()
m_qstvimvy()
getMusic()
getMusic()
m_278176_()