net.minecraft.client.gui.screens

public abstract class Screen

extends AbstractContainerEventHandler implements Renderable

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

gqt
net.minecraft.client.gui.screens.Screen
net.minecraft.class_437
net.minecraft.client.gui.screen.Screen

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_22782
LOGGER
private static final Component
b
USAGE_NARRATION
field_33814
SCREEN_USAGE_TEXT
public static final Identifier
g
MENU_BACKGROUND
field_49511
MENU_BACKGROUND_TEXTURE
public static final Identifier
h
HEADER_SEPARATOR
field_49895
HEADER_SEPARATOR_TEXTURE
public static final Identifier
i
FOOTER_SEPARATOR
field_49896
FOOTER_SEPARATOR_TEXTURE
private static final Identifier
c
INWORLD_MENU_BACKGROUND
field_49894
INWORLD_MENU_BACKGROUND_TEXTURE
public static final Identifier
j
INWORLD_HEADER_SEPARATOR
field_49897
INWORLD_HEADER_SEPARATOR_TEXTURE
public static final Identifier
k
INWORLD_FOOTER_SEPARATOR
field_49898
INWORLD_FOOTER_SEPARATOR_TEXTURE
protected static final float
l
FADE_IN_TIME
field_60460
field_60460
protected final Component
m
title
field_22785
title
private final List<GuiEventListener>
d
children
field_22786
children
private final List<NarratableEntry>
e
narratables
field_33815
selectables
protected final Minecraft
n
minecraft
field_22787
client
private boolean
f
initialized
field_42156
screenInitialized
public int
o
width
field_22789
width
public int
p
height
field_22790
height
private final List<Renderable>
t
renderables
field_33816
drawables
protected final Font
q
font
field_22793
textRenderer
private static final long
u
NARRATE_SUPPRESS_AFTER_INIT_TIME
field_33817
SCREEN_INIT_NARRATION_DELAY
private static final long
v
NARRATE_DELAY_NARRATOR_ENABLED
field_33818
NARRATOR_MODE_CHANGE_DELAY
private static final long
w
NARRATE_DELAY_MOUSE_MOVE
field_33819
MOUSE_MOVE_NARRATION_DELAY
private static final long
x
NARRATE_DELAY_MOUSE_ACTION
field_33820
MOUSE_PRESS_SCROLL_NARRATION_DELAY
private static final long
y
NARRATE_DELAY_KEYBOARD_ACTION
field_33821
KEY_PRESS_NARRATION_DELAY
private final ScreenNarrationCollector
z
narrationState
field_33822
narrator
private long
A
narrationSuppressTime
field_33823
elementNarrationStartTime
private long
B
nextNarrationTime
field_33824
screenNarrationStartTime
protected CycleButton<NarratorStatus>
r
narratorButton
field_52252
narratorToggleButton
private NarratableEntry
C
lastNarratable
field_33813
selected
protected final Executor
s
screenExecutor
field_44944
executor

Constructor summary

ModifierConstructor
protected (Component title)
protected (Minecraft arg0, Font arg1, Component arg2)

Method summary

Modifier and TypeMethod
public Component
q()
getTitle()
method_25440()
getTitle()
public Component
i()
getNarrationMessage()
method_25435()
getNarratedTitle()
public final void
c(ghi arg0, int arg1, int arg2, 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)
public void
a(ghi 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)
render(DrawContext arg0, int arg1, int arg2, float arg3)
public boolean
a(gxr arg0)
keyPressed(KeyEvent arg0)
method_25404(class_11908 arg0)
keyPressed(KeyInput arg0)
private FocusNavigationEvent$TabNavigation
c(boolean arg0)
createTabEvent(boolean arg0)
method_48266(boolean arg0)
getTabNavigation(boolean arg0)
private FocusNavigationEvent$ArrowNavigation
b(goc arg0)
createArrowEvent(ScreenDirection arg0)
method_48264(class_8028 arg0)
getArrowNavigation(NavigationDirection direction)
protected void
aH_()
setInitialFocus()
method_56131()
setInitialFocus()
protected void
b(gle arg0)
setInitialFocus(GuiEventListener arg0)
method_48265(class_364 arg0)
setInitialFocus(Element element)
public void
r()
clearFocus()
method_48267()
blur()
protected void
a(ghe arg0)
changeFocus(ComponentPath arg0)
method_48263(class_8016 arg0)
switchFocus(GuiNavigationPath path)
public boolean
aX_()
shouldCloseOnEsc()
method_25422()
shouldCloseOnEsc()
public void
aW_()
onClose()
method_25419()
close()
protected <T extends GuiEventListener, Renderable, NarratableEntry> T
c(T arg0)
addRenderableWidget(T arg0)
method_37063(T arg0)
addDrawableChild(T drawableElement)
protected <T extends Renderable> T
a(T arg0)
addRenderableOnly(T arg0)
method_37060(T arg0)
addDrawable(T drawable)
protected <T extends GuiEventListener, NarratableEntry> T
d(T arg0)
addWidget(T arg0)
method_25429(T arg0)
addSelectableChild(T child)
protected void
e(gle arg0)
removeWidget(GuiEventListener arg0)
method_37066(class_364 arg0)
remove(Element child)
protected void
t()
clearWidgets()
method_37067()
clearChildren()
public static List<Component>
a(gec arg0, dkm arg1)
getTooltipFromItem(Minecraft arg0, ItemStack arg1)
method_25408(class_310 arg0, class_1799 arg1)
getTooltipFromItem(MinecraftClient client, ItemStack stack)
protected void
a_(String arg0, boolean arg1)
insertText(String arg0, boolean arg1)
method_25415(String arg0, boolean arg1)
insertText(String text, boolean override)
protected static void
a(yf arg0, gec arg1, gqt arg2)
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)
protected static void
b(yf arg0, gec arg1, gqt arg2)
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)
protected static boolean
a(gec arg0, gqt arg1, URI arg2)
clickUrlAction(Minecraft arg0, Screen arg1, URI arg2)
method_71843(class_310 arg0, class_437 arg1, URI arg2)
handleOpenUri(MinecraftClient client, Screen screen, URI uri)
protected static void
a(hje arg0, String arg1, gqt arg2)
clickCommandAction(LocalPlayer arg0, String arg1, Screen arg2)
method_71844(class_746 arg0, String arg1, class_437 arg2)
handleRunCommand(ClientPlayerEntity player, String command, Screen screenAfterRun)
public final void
b(int arg0, int arg1)
init(int arg0, int arg1)
method_25423(int arg0, int arg1)
init(int width, int height)
protected void
u()
rebuildWidgets()
method_41843()
clearAndInit()
protected void
a(float arg0)
fadeWidgets(float arg0)
method_71536(float arg0)
setWidgetAlpha(float alpha)
public List<? extends GuiEventListener>
aI_()
children()
method_25396()
children()
protected void
bf_()
init()
method_25426()
init()
public void
e()
tick()
method_25393()
tick()
public void
aY_()
removed()
method_25432()
removed()
public void
aJ_()
added()
method_49589()
onDisplayed()
public void
b(ghi 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)
renderBackground(DrawContext context, int mouseX, int mouseY, float deltaTicks)
protected void
b(ghi arg0)
renderBlurredBackground(GuiGraphics arg0)
method_57734(class_332 arg0)
applyBlur(DrawContext context)
protected void
a(ghi arg0, float arg1)
renderPanorama(GuiGraphics arg0, float arg1)
method_57728(class_332 arg0, float arg1)
renderPanoramaBackground(DrawContext context, float deltaTicks)
protected void
a(ghi arg0)
renderMenuBackground(GuiGraphics arg0)
method_57735(class_332 arg0)
renderDarkening(DrawContext context)
protected void
a(ghi arg0, int arg1, int arg2, int arg3, 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)
public static void
a(ghi arg0, amo arg1, int arg2, int arg3, float arg4, float arg5, int arg6, int arg7)
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)
public void
c(ghi arg0)
renderTransparentBackground(GuiGraphics arg0)
method_52752(class_332 arg0)
renderInGameBackground(DrawContext context)
public boolean
aZ_()
isPauseScreen()
method_25421()
shouldPause()
public boolean
v()
isInGameUi()
method_73150()
deferSubtitles()
protected boolean
aK_()
panoramaShouldSpin()
method_72798()
allowRotatingPanorama()
public boolean
ba_()
isAllowedInPortal()
method_73217()
keepOpenThroughPortal()
protected void
c()
repositionElements()
method_48640()
refreshWidgetPositions()
public void
a(int arg0, int arg1)
resize(int arg0, int arg1)
method_25410(int arg0, int arg1)
resize(int width, int height)
public void
a(m arg0)
fillCrashDetails(CrashReport arg0)
method_65027(class_128 arg0)
addCrashReportSection(CrashReport report)
protected boolean
a(String arg0, int arg1, int arg2)
isValidCharacterForName(String arg0, int arg1, int arg2)
method_25414(String arg0, int arg1, int arg2)
isValidCharacterForName(String name, int codepoint, int cursorPos)
public boolean
a_(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
method_25405(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
public void
a(List<Path> arg0)
onFilesDrop(List<Path> arg0)
method_29638(List<Path> arg0)
onFilesDropped(List<Path> paths)
private void
a(long arg0, boolean arg1)
scheduleNarration(long arg0, boolean arg1)
method_37059(long arg0, boolean arg1)
setScreenNarrationDelay(long delayMs, boolean restartElementNarration)
private void
a(long arg0)
suppressNarration(long arg0)
method_37058(long arg0)
setElementNarrationDelay(long delayMs)
private void
b(long arg0)
setNarrationSuppressTime(long arg0)
method_72802(long arg0)
setElementNarrationStartTime(long startTimeMs)
public void
w()
afterMouseMove()
method_37068()
applyMouseMoveNarratorDelay()
public void
x()
afterMouseAction()
method_37069()
applyMousePressScrollNarratorDelay()
public void
y()
afterKeyboardAction()
method_37070()
applyKeyPressNarratorDelay()
private boolean
o()
shouldRunNarration()
method_37073()
isNarratorActive()
public void
z()
handleDelayedNarration()
method_37071()
updateNarrator()
public void
d(boolean arg0)
triggerImmediateNarration(boolean arg0)
method_37064(boolean arg0)
narrateScreenIfNarrationEnabled(boolean onlyChangedNarrations)
private void
f(boolean arg0)
runNarration(boolean arg0)
method_37065(boolean arg0)
narrateScreen(boolean onlyChangedNarrations)
protected boolean
bb_()
shouldNarrateNavigation()
method_48262()
hasUsageText()
protected void
a(gnv arg0)
updateNarrationState(NarrationElementOutput arg0)
method_37062(class_6382 arg0)
addScreenNarrations(NarrationMessageBuilder messageBuilder)
protected void
b(gnv arg0)
updateNarratedWidget(NarrationElementOutput arg0)
method_37056(class_6382 arg0)
addElementNarrations(NarrationMessageBuilder builder)
protected Component
B()
getUsageNarration()
method_53870()
getUsageNarrationText()
public static Screen$NarratableSearchResult
a(List<? extends gnt> arg0, gnt arg1)
findNarratableWidget(List<? extends NarratableEntry> arg0, NarratableEntry arg1)
method_37061(List<? extends class_6379> arg0, class_6379 arg1)
findSelectedElementData(List<? extends Selectable> selectables, Selectable selectable)
public void
e(boolean arg0)
updateNarratorStatus(boolean arg0)
method_61040(boolean arg0)
refreshNarrator(boolean previouslyDisabled)
public Font
C()
getFont()
method_64506()
getTextRenderer()
public boolean
D()
showsActiveEffects()
method_64507()
showsStatusEffects()
public boolean
aL_()
canInterruptWithAnotherScreen()
method_73339()
canInterruptOtherScreen()
public ScreenRectangle
aU_()
getRectangle()
method_48202()
getNavigationFocus()
public Music
E()
getBackgroundMusic()
method_50024()
getMusic()