net.minecraft.client.gui.screens

public abstract class Screen

extends AbstractContainerEventHandler implements Renderable

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

fty
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
protected static final CubeMap
e
CUBE_MAP
field_49508
PANORAMA_RENDERER
protected static final PanoramaRenderer
f
PANORAMA
field_49509
ROTATING_PANORAMA_RENDERER
public static final ResourceLocation
g
MENU_BACKGROUND
field_49511
MENU_BACKGROUND_TEXTURE
public static final ResourceLocation
h
HEADER_SEPARATOR
field_49895
HEADER_SEPARATOR_TEXTURE
public static final ResourceLocation
i
FOOTER_SEPARATOR
field_49896
FOOTER_SEPARATOR_TEXTURE
private static final ResourceLocation
c
INWORLD_MENU_BACKGROUND
field_49894
INWORLD_MENU_BACKGROUND_TEXTURE
public static final ResourceLocation
j
INWORLD_HEADER_SEPARATOR
field_49897
INWORLD_HEADER_SEPARATOR_TEXTURE
public static final ResourceLocation
k
INWORLD_FOOTER_SEPARATOR
field_49898
INWORLD_FOOTER_SEPARATOR_TEXTURE
protected final Component
l
title
field_22785
title
private final List<GuiEventListener>
d
children
field_22786
children
private final List<NarratableEntry>
s
narratables
field_33815
selectables
protected Minecraft
m
minecraft
field_22787
client
private boolean
u
initialized
field_42156
screenInitialized
public int
n
width
field_22789
width
public int
o
height
field_22790
height
private final List<Renderable>
v
renderables
field_33816
drawables
protected Font
p
font
field_22793
textRenderer
private static final long
w
NARRATE_SUPPRESS_AFTER_INIT_TIME
field_33817
SCREEN_INIT_NARRATION_DELAY
private static final long
x
NARRATE_DELAY_NARRATOR_ENABLED
field_33818
NARRATOR_MODE_CHANGE_DELAY
private static final long
y
NARRATE_DELAY_MOUSE_MOVE
field_33819
MOUSE_MOVE_NARRATION_DELAY
private static final long
z
NARRATE_DELAY_MOUSE_ACTION
field_33820
MOUSE_PRESS_SCROLL_NARRATION_DELAY
private static final long
A
NARRATE_DELAY_KEYBOARD_ACTION
field_33821
KEY_PRESS_NARRATION_DELAY
private final ScreenNarrationCollector
B
narrationState
field_33822
narrator
private long
C
narrationSuppressTime
field_33823
elementNarrationStartTime
private long
D
nextNarrationTime
field_33824
screenNarrationStartTime
protected CycleButton<NarratorStatus>
q
narratorButton
field_52252
narratorToggleButton
private NarratableEntry
E
lastNarratable
field_33813
selected
private Screen$DeferredTooltipRendering
F
deferredTooltipRendering
field_41685
tooltip
protected final Executor
r
screenExecutor
field_44944
executor

Constructor summary

ModifierConstructor
protected (Component title)

Method summary

Modifier and TypeMethod
public Component
m()
getTitle()
method_25440()
getTitle()
public Component
i()
getNarrationMessage()
method_25435()
getNarratedTitle()
public final void
c(fns 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)
renderWithTooltip(DrawContext context, int mouseX, int mouseY, float delta)
public void
a(fns 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(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
method_25404(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
private FocusNavigationEvent$TabNavigation
l()
createTabEvent()
method_48266()
getTabNavigation()
private FocusNavigationEvent$ArrowNavigation
a(fsl arg0)
createArrowEvent(ScreenDirection arg0)
method_48264(class_8028 arg0)
getArrowNavigation(NavigationDirection direction)
protected void
aG_()
setInitialFocus()
method_56131()
setInitialFocus()
protected void
b(fqd arg0)
setInitialFocus(GuiEventListener arg0)
method_48265(class_364 arg0)
setInitialFocus(Element element)
public void
n()
clearFocus()
method_48267()
blur()
protected void
a(fnp arg0)
changeFocus(ComponentPath arg0)
method_48263(class_8016 arg0)
switchFocus(GuiNavigationPath path)
public boolean
aH_()
shouldCloseOnEsc()
method_25422()
shouldCloseOnEsc()
public void
aP_()
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(fqd arg0)
removeWidget(GuiEventListener arg0)
method_37066(class_364 arg0)
remove(Element child)
protected void
o()
clearWidgets()
method_37067()
clearChildren()
public static List<Component>
a(fmg arg0, cxp 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)
public boolean
a(ys arg0)
handleComponentClicked(Style arg0)
method_25430(class_2583 arg0)
handleTextClick(Style style)
public final void
b(fmg arg0, int arg1, int arg2)
init(Minecraft arg0, int arg1, int arg2)
method_25423(class_310 arg0, int arg1, int arg2)
init(MinecraftClient client, int width, int height)
protected void
p()
rebuildWidgets()
method_41843()
clearAndInit()
public List<? extends GuiEventListener>
aI_()
children()
method_25396()
children()
protected void
aT_()
init()
method_25426()
init()
public void
e()
tick()
method_25393()
tick()
public void
aJ_()
removed()
method_25432()
removed()
public void
aK_()
added()
method_49589()
onDisplayed()
public void
b(fns 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 delta)
protected void
q()
renderBlurredBackground()
method_57734()
applyBlur()
protected void
a(fns arg0, float arg1)
renderPanorama(GuiGraphics arg0, float arg1)
method_57728(class_332 arg0, float arg1)
renderPanoramaBackground(DrawContext context, float delta)
protected void
a(fns arg0)
renderMenuBackground(GuiGraphics arg0)
method_57735(class_332 arg0)
renderDarkening(DrawContext context)
protected void
a(fns 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(fns arg0, alz arg1, int arg2, int arg3, float arg4, float arg5, int arg6, int arg7)
renderMenuBackgroundTexture(GuiGraphics arg0, ResourceLocation 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
b(fns arg0)
renderTransparentBackground(GuiGraphics arg0)
method_52752(class_332 arg0)
renderInGameBackground(DrawContext context)
public boolean
j()
isPauseScreen()
method_25421()
shouldPause()
public static boolean
r()
hasControlDown()
method_25441()
hasControlDown()
public static boolean
s()
hasShiftDown()
method_25442()
hasShiftDown()
public static boolean
t()
hasAltDown()
method_25443()
hasAltDown()
public static boolean
c(int arg0)
isCut(int arg0)
method_25436(int arg0)
isCut(int code)
public static boolean
d(int arg0)
isPaste(int arg0)
method_25437(int arg0)
isPaste(int code)
public static boolean
e(int arg0)
isCopy(int arg0)
method_25438(int arg0)
isCopy(int code)
public static boolean
f(int arg0)
isSelectAll(int arg0)
method_25439(int arg0)
isSelectAll(int code)
protected void
c()
repositionElements()
method_48640()
refreshWidgetPositions()
public void
a(fmg arg0, int arg1, int arg2)
resize(Minecraft arg0, int arg1, int arg2)
method_25410(class_310 arg0, int arg1, int arg2)
resize(MinecraftClient client, int width, int height)
public void
a(o arg0)
fillCrashDetails(CrashReport arg0)
method_65027(class_128 arg0)
addCrashReportSection(CrashReport report)
protected boolean
a(String arg0, char arg1, int arg2)
isValidCharacterForName(String arg0, char arg1, int arg2)
method_25414(String arg0, char arg1, int arg2)
isValidCharacterForName(String name, char character, int cursorPos)
public boolean
c(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)
filesDragged(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)
public void
u()
afterMouseMove()
method_37068()
applyMouseMoveNarratorDelay()
public void
v()
afterMouseAction()
method_37069()
applyMousePressScrollNarratorDelay()
public void
x()
afterKeyboardAction()
method_37070()
applyKeyPressNarratorDelay()
private boolean
E()
shouldRunNarration()
method_37073()
isNarratorActive()
public void
y()
handleDelayedNarration()
method_37071()
updateNarrator()
public void
d(boolean arg0)
triggerImmediateNarration(boolean arg0)
method_37064(boolean arg0)
narrateScreenIfNarrationEnabled(boolean onlyChangedNarrations)
private void
c(boolean arg0)
runNarration(boolean arg0)
method_37065(boolean arg0)
narrateScreen(boolean onlyChangedNarrations)
protected boolean
aS_()
shouldNarrateNavigation()
method_48262()
hasUsageText()
protected void
a(fsd arg0)
updateNarrationState(NarrationElementOutput arg0)
method_37062(class_6382 arg0)
addScreenNarrations(NarrationMessageBuilder messageBuilder)
protected void
b(fsd arg0)
updateNarratedWidget(NarrationElementOutput arg0)
method_37056(class_6382 arg0)
addElementNarrations(NarrationMessageBuilder builder)
protected Component
z()
getUsageNarration()
method_53870()
getUsageNarrationText()
public static Screen$NarratableSearchResult
a(List<? extends fsb> arg0, fsb 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)
protected void
A()
clearTooltipForNextRenderPass()
method_59840()
clearTooltip()
public void
b(List<azq> arg0)
setTooltipForNextRenderPass(List<FormattedCharSequence> arg0)
method_47414(List<class_5481> arg0)
setTooltip(List<OrderedText> tooltip)
public void
a(List<azq> arg0, fwj arg1, boolean arg2)
setTooltipForNextRenderPass(List<FormattedCharSequence> arg0, ClientTooltipPositioner arg1, boolean arg2)
method_47942(List<class_5481> arg0, class_8000 arg1, boolean arg2)
setTooltip(List<OrderedText> tooltip, TooltipPositioner positioner, boolean focused)
public void
d(xv arg0)
setTooltipForNextRenderPass(Component arg0)
method_47415(class_2561 arg0)
setTooltip(Text tooltip)
public void
a(fpr arg0, fwj arg1, boolean arg2)
setTooltipForNextRenderPass(Tooltip arg0, ClientTooltipPositioner arg1, boolean arg2)
method_47412(class_7919 arg0, class_8000 arg1, boolean arg2)
setTooltip(Tooltip tooltip, TooltipPositioner positioner, boolean focused)
public Font
B()
getFont()
method_64506()
getTextRenderer()
public boolean
C()
showsActiveEffects()
method_64507()
shouldHideStatusEffectHud()
public ScreenRectangle
H()
getRectangle()
method_48202()
getNavigationFocus()
public Music
D()
getBackgroundMusic()
method_50024()
getMusic()