net.minecraft.client.gui.screens

public abstract class Screen

extends AbstractContainerEventHandler implements Widget

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, Widget

eaq
net.minecraft.client.gui.screens.Screen
net.minecraft.class_437
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.apache.logging.log4j.Logger
a
LOGGER
field_22782
f_fnsnmohs
LOGGER
f_96536_
private static final Set<String>
b
ALLOWED_PROTOCOLS
field_22783
f_saroizas
ALLOWED_PROTOCOLS
f_96537_
private static final int
c
EXTRA_SPACE_AFTER_FIRST_TOOLTIP_LINE
field_32270
f_lpsgbjcj
field_32270
f_169366_
private static final Component
n
USAGE_NARRATION
field_33814
f_bjnksoor
SCREEN_USAGE_TEXT
f_169367_
protected final Component
d
title
field_22785
f_htifmqlv
title
f_96539_
private final List<GuiEventListener>
o
children
field_22786
f_kreiluct
children
f_96540_
private final List<NarratableEntry>
p
narratables
field_33815
f_oeooblbi
selectables
f_169368_
protected Minecraft
e
minecraft
field_22787
f_psnbmvaj
client
f_96541_
protected ItemRenderer
i
itemRenderer
field_22788
f_apspxhly
itemRenderer
f_96542_
public int
j
width
field_22789
f_kmcqeiie
width
f_96543_
public int
k
height
field_22790
f_vsuqlruk
height
f_96544_
private final List<Widget>
q
renderables
field_33816
f_rjdvwvyp
drawables
f_169369_
public boolean
l
passEvents
field_22792
f_nkvwbjdn
passEvents
f_96546_
protected Font
m
font
field_22793
f_bpxgxhlg
textRenderer
f_96547_
private URI
r
clickedLink
field_22784
f_cfctryef
clickedLink
f_96538_
private static final long
s
NARRATE_SUPPRESS_AFTER_INIT_TIME
field_33817
f_ywhydtya
SCREEN_INIT_NARRATION_DELAY
f_169370_
private static final long
t
NARRATE_DELAY_NARRATOR_ENABLED
field_33818
f_ofcdwhxy
NARRATOR_MODE_CHANGE_DELAY
f_169371_
private static final long
u
NARRATE_DELAY_MOUSE_MOVE
field_33819
f_mvugfdtw
field_33819
f_169372_
private static final long
v
NARRATE_DELAY_MOUSE_ACTION
field_33820
f_rwuipbpc
field_33820
f_169373_
private static final long
w
NARRATE_DELAY_KEYBOARD_ACTION
field_33821
f_qqbyyhim
field_33821
f_169374_
private final ScreenNarrationCollector
x
narrationState
field_33822
f_qdzbfdgb
narrator
f_169375_
private long
y
narrationSuppressTime
field_33823
f_szwvjynq
elementNarrationStartTime
f_169376_
private long
z
nextNarrationTime
field_33824
f_xypkugwe
screenNarrationStartTime
f_169377_
private NarratableEntry
A
lastNarratable
field_33813
f_enzwkzjs
selected
f_169365_

Constructor summary

ModifierConstructor
protected (Component title)

Method summary

Modifier and TypeMethod
public Component
i()
getTitle()
method_25440()
m_fggwkeeq()
getTitle()
m_96636_()
public Component
af_()
getNarrationMessage()
method_25435()
m_nvnfplud()
getNarratedTitle()
m_142562_()
public void
a(dql arg0, int arg1, int arg2, float arg3)
render(PoseStack arg0, int arg1, int arg2, float arg3)
method_25394(class_4587 arg0, int arg1, int arg2, float arg3)
m_exyypwjw(C_cnszsxvd arg0, int arg1, int arg2, float arg3)
render(MatrixStack arg0, int arg1, int arg2, float arg3)
m_6305_(C_3181_ p_96563_, int p_96564_, int p_96565_, 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)
m_7933_(int p_96553_, int p_96554_, int arg2)
public boolean
ag_()
shouldCloseOnEsc()
method_25422()
m_snvbpxot()
shouldCloseOnEsc()
m_6913_()
public void
ah_()
onClose()
method_25419()
m_tevgoglb()
onClose()
m_7379_()
protected <T extends GuiEventListener, Widget, NarratableEntry> T
d(T arg0)
addRenderableWidget(T arg0)
method_37063(T arg0)
m_vsdrypvi(T arg0)
addDrawableChild(T drawableElement)
m_142416_(T arg0)
protected <T extends Widget> T
a(T arg0)
addRenderableOnly(T arg0)
method_37060(T arg0)
m_wjyrnuws(T arg0)
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)
m_7787_(T arg0)
protected void
f(dxy arg0)
removeWidget(GuiEventListener arg0)
method_37066(class_364 arg0)
m_tvprcwgv(C_fxiqpxaf arg0)
remove(Element child)
m_169411_(C_3495_ arg0)
protected void
k()
clearWidgets()
method_37067()
m_zatdgejs()
clearChildren()
m_169413_()
protected void
a(dql arg0, bqq arg1, int arg2, int arg3)
renderTooltip(PoseStack arg0, ItemStack arg1, int arg2, int arg3)
method_25409(class_4587 arg0, class_1799 arg1, int arg2, int arg3)
m_glyavaut(C_cnszsxvd arg0, C_sddaxwyk arg1, int arg2, int arg3)
renderTooltip(MatrixStack matrices, ItemStack stack, int x, int y)
m_6057_(C_3181_ p_96567_, C_1391_ p_96568_, int p_96569_, int arg3)
public void
a(dql arg0, List<os> arg1, Optional<boi> arg2, int arg3, int arg4)
renderTooltip(PoseStack arg0, List<Component> arg1, Optional<TooltipComponent> arg2, int arg3, int arg4)
method_32634(class_4587 arg0, List<class_2561> arg1, Optional<class_5632> arg2, int arg3, int arg4)
m_iwofumnc(C_cnszsxvd arg0, List<C_rdaqiwdt> arg1, Optional<C_mzaxvunb> arg2, int arg3, int arg4)
renderTooltip(MatrixStack matrices, List<Text> lines, Optional<TooltipData> data, int x, int y)
m_169388_(C_3181_ p_169390_, List<C_4996_> p_169391_, Optional<C_141167_> p_169392_, int p_169393_, int arg4)
public List<Component>
a(bqq arg0)
getTooltipFromItem(ItemStack arg0)
method_25408(class_1799 arg0)
m_gqwpvknz(C_sddaxwyk arg0)
getTooltipFromItem(ItemStack stack)
m_96555_(C_1391_ arg0)
public void
b(dql arg0, os arg1, int arg2, int arg3)
renderTooltip(PoseStack arg0, Component arg1, int arg2, int arg3)
method_25424(class_4587 arg0, class_2561 arg1, int arg2, int arg3)
m_gakbgcyw(C_cnszsxvd arg0, C_rdaqiwdt arg1, int arg2, int arg3)
renderTooltip(MatrixStack matrices, Text text, int x, int y)
m_96602_(C_3181_ p_96604_, C_4996_ p_96605_, int p_96606_, int arg3)
public void
b(dql arg0, List<os> arg1, int arg2, int arg3)
renderComponentTooltip(PoseStack arg0, List<Component> arg1, int arg2, int arg3)
method_30901(class_4587 arg0, List<class_2561> arg1, int arg2, int arg3)
m_ljbngivi(C_cnszsxvd arg0, List<C_rdaqiwdt> arg1, int arg2, int arg3)
renderTooltip(MatrixStack matrices, List<Text> lines, int x, int y)
m_96597_(C_3181_ p_96599_, List<C_4996_> p_96600_, int p_96601_, int arg3)
public void
c(dql arg0, List<? extends ags> arg1, int arg2, int arg3)
renderTooltip(PoseStack arg0, List<? extends FormattedCharSequence> arg1, int arg2, int arg3)
method_25417(class_4587 arg0, List<? extends class_5481> arg1, int arg2, int arg3)
m_czlkqoel(C_cnszsxvd arg0, List<? extends C_apvkgwyi> arg1, int arg2, int arg3)
renderOrderedTooltip(MatrixStack matrices, List<? extends OrderedText> lines, int x, int y)
m_96617_(C_3181_ p_96619_, List<? extends C_178_> p_96620_, int p_96621_, int arg3)
private void
a(dql arg0, List<edb> arg1, int arg2, int arg3)
renderTooltipInternal(PoseStack arg0, List<ClientTooltipComponent> arg1, int arg2, int arg3)
method_32633(class_4587 arg0, List<class_5684> arg1, int arg2, int arg3)
m_krbfbnvv(C_cnszsxvd arg0, List<C_awkydklx> arg1, int arg2, int arg3)
renderTooltipFromComponents(MatrixStack matrices, List<TooltipComponent> components, int x, int y)
m_169383_(C_3181_ p_169385_, List<C_141633_> p_169386_, int p_169387_, int arg3)
protected void
a(dql arg0, pc arg1, int arg2, int arg3)
renderComponentHoverEffect(PoseStack arg0, Style arg1, int arg2, int arg3)
method_25418(class_4587 arg0, class_2583 arg1, int arg2, int arg3)
m_syzpbtnw(C_cnszsxvd arg0, C_cpwnhism arg1, int arg2, int arg3)
renderTextHoverEffect(MatrixStack matrices, Style style, int x, int y)
m_96570_(C_3181_ p_96572_, C_5020_ p_96573_, int p_96574_, int arg3)
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)
m_6697_(String p_96588_, boolean arg1)
public boolean
a(pc arg0)
handleComponentClicked(Style arg0)
method_25430(class_2583 arg0)
m_lnmhtyux(C_cpwnhism arg0)
handleTextClick(Style style)
m_5561_(C_5020_ arg0)
public void
a(String arg0)
sendMessage(String arg0)
method_25427(String arg0)
m_sgxnpevt(String arg0)
sendMessage(String message)
m_96615_(String arg0)
public void
b(String arg0, boolean arg1)
sendMessage(String arg0, boolean arg1)
method_25425(String arg0, boolean arg1)
m_syruybzb(String arg0, boolean arg1)
sendMessage(String message, boolean toHud)
m_96612_(String p_96614_, boolean arg1)
public final void
b(dvp 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)
m_6575_(C_3391_ p_96608_, int p_96609_, int arg2)
public List<? extends GuiEventListener>
j()
children()
method_25396()
m_soldxolv()
children()
m_6702_()
protected void
b()
init()
method_25426()
m_xaqeivsh()
init()
m_7856_()
public void
d()
tick()
method_25393()
m_ndigxngy()
tick()
m_96624_()
public void
e()
removed()
method_25432()
m_awpofqnh()
removed()
m_7861_()
public void
a(dql arg0)
renderBackground(PoseStack arg0)
method_25420(class_4587 arg0)
m_whgtjzaw(C_cnszsxvd arg0)
renderBackground(MatrixStack matrices)
m_7333_(C_3181_ arg0)
public void
a(dql arg0, int arg1)
renderBackground(PoseStack arg0, int arg1)
method_25433(class_4587 arg0, int arg1)
m_asdnlecd(C_cnszsxvd arg0, int arg1)
renderBackground(MatrixStack matrices, int vOffset)
m_96558_(C_3181_ p_96560_, int arg1)
public void
e(int arg0)
renderDirtBackground(int arg0)
method_25434(int arg0)
m_vaathegj(int arg0)
renderBackgroundTexture(int vOffset)
m_96626_(int arg0)
public boolean
ai_()
isPauseScreen()
method_25421()
m_acdaclus()
isPauseScreen()
m_7043_()
private void
c(boolean arg0)
confirmLink(boolean arg0)
method_25428(boolean arg0)
m_pfmszspr(boolean arg0)
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)
m_96589_(URI arg0)
public static boolean
m()
hasControlDown()
method_25441()
m_nuosckio()
hasControlDown()
m_96637_()
public static boolean
n()
hasShiftDown()
method_25442()
m_eyzbpvak()
hasShiftDown()
m_96638_()
public static boolean
o()
hasAltDown()
method_25443()
m_pgbqqklr()
hasAltDown()
m_96639_()
public static boolean
f(int arg0)
isCut(int arg0)
method_25436(int arg0)
m_updnfwlh(int arg0)
isCut(int code)
m_96628_(int p_96629_)
public static boolean
g(int arg0)
isPaste(int arg0)
method_25437(int arg0)
m_rghzttgk(int arg0)
isPaste(int code)
m_96630_(int p_96631_)
public static boolean
h(int arg0)
isCopy(int arg0)
method_25438(int arg0)
m_gseqedxv(int arg0)
isCopy(int code)
m_96632_(int p_96633_)
public static boolean
i(int arg0)
isSelectAll(int arg0)
method_25439(int arg0)
m_guegvdae(int arg0)
isSelectAll(int code)
m_96634_(int p_96635_)
public void
a(dvp 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)
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)
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)
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)
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)
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)
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)
m_169378_(long arg0)
public void
p()
afterMouseMove()
method_37068()
m_iytoanop()
applyMouseMoveNarratorDelay()
m_169414_()
public void
q()
afterMouseAction()
method_37069()
m_wcypszzy()
applyMousePressScrollNarratorDelay()
m_169415_()
public void
r()
afterKeyboardAction()
method_37070()
m_pfjlkadm()
applyKeyPressNarratorDelay()
m_169416_()
private boolean
h()
shouldRunNarration()
method_37073()
m_kuxewqdw()
isNarratorActive()
m_169419_()
public void
s()
handleDelayedNarration()
method_37071()
m_relyixry()
updateNarrator()
m_169417_()
protected void
d(boolean arg0)
triggerImmediateNarration(boolean arg0)
method_37064(boolean arg0)
m_zycsispl(boolean arg0)
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 useTranslationsCache)
m_169409_(boolean arg0)
protected void
a(dzd arg0)
updateNarrationState(NarrationElementOutput arg0)
method_37062(class_6382 arg0)
m_klvwxtca(C_pofrkllk arg0)
addScreenNarrations(NarrationMessageBuilder builder)
m_142228_(C_141608_ arg0)
protected void
b(dzd arg0)
updateNarratedWidget(NarrationElementOutput arg0)
method_37056(class_6382 arg0)
m_lknkyvhl(C_pofrkllk arg0)
addElementNarrations(NarrationMessageBuilder builder)
m_142227_(C_141608_ arg0)
public static Screen$NarratableSearchResult
a(List<? extends dzb> arg0, dzb 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)
m_169400_(List<? extends C_141605_> p_169401_, C_141605_ p_169402_)
public void
t()
narrationEnabled()
method_37072()
m_bdijjzsm()
applyNarratorModeChangeDelay()
m_169418_()