net.minecraft.client.gui.screens

public abstract class Screen

extends AbstractContainerEventHandler implements Renderable

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

ges
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 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 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 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>
u
renderables
field_33816
drawables
protected Font
q
font
field_22793
textRenderer
private static final long
v
NARRATE_SUPPRESS_AFTER_INIT_TIME
field_33817
SCREEN_INIT_NARRATION_DELAY
private static final long
w
NARRATE_DELAY_NARRATOR_ENABLED
field_33818
NARRATOR_MODE_CHANGE_DELAY
private static final long
x
NARRATE_DELAY_MOUSE_MOVE
field_33819
MOUSE_MOVE_NARRATION_DELAY
private static final long
y
NARRATE_DELAY_MOUSE_ACTION
field_33820
MOUSE_PRESS_SCROLL_NARRATION_DELAY
private static final long
z
NARRATE_DELAY_KEYBOARD_ACTION
field_33821
KEY_PRESS_NARRATION_DELAY
private final ScreenNarrationCollector
A
narrationState
field_33822
narrator
private long
B
narrationSuppressTime
field_33823
elementNarrationStartTime
private long
C
nextNarrationTime
field_33824
screenNarrationStartTime
protected CycleButton<NarratorStatus>
r
narratorButton
field_52252
narratorToggleButton
private NarratableEntry
D
lastNarratable
field_33813
selected
protected final Executor
s
screenExecutor
field_44944
executor

Constructor summary

ModifierConstructor
protected (Component title)

Method summary

Modifier and TypeMethod
public Component
o()
getTitle()
method_25440()
getTitle()
public Component
i()
getNarrationMessage()
method_25435()
getNarratedTitle()
public final void
c(fxa 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 deltaTicks)
public void
a(fxa 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
b(gca arg0)
createArrowEvent(ScreenDirection arg0)
method_48264(class_8028 arg0)
getArrowNavigation(NavigationDirection direction)
protected void
aF_()
setInitialFocus()
method_56131()
setInitialFocus()
protected void
b(fzm arg0)
setInitialFocus(GuiEventListener arg0)
method_48265(class_364 arg0)
setInitialFocus(Element element)
public void
p()
clearFocus()
method_48267()
blur()
protected void
a(fwx arg0)
changeFocus(ComponentPath arg0)
method_48263(class_8016 arg0)
switchFocus(GuiNavigationPath path)
public boolean
aG_()
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(fzm arg0)
removeWidget(GuiEventListener arg0)
method_37066(class_364 arg0)
remove(Element child)
protected void
q()
clearWidgets()
method_37067()
clearChildren()
public static List<Component>
a(fud arg0, dcv 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(yl arg0)
handleComponentClicked(Style arg0)
method_25430(class_2583 arg0)
handleTextClick(Style style)
protected void
a(fud arg0, xm arg1)
handleClickEvent(Minecraft arg0, ClickEvent arg1)
method_71846(class_310 arg0, class_2558 arg1)
handleClickEvent(MinecraftClient client, ClickEvent clickEvent)
protected static void
a(xm arg0, fud arg1, ges 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(xm arg0, fud arg1, ges 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(fud arg0, ges 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(gwh arg0, String arg1, ges 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(fud 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
r()
rebuildWidgets()
method_41843()
clearAndInit()
protected void
a(float arg0)
fadeWidgets(float arg0)
method_71536(float arg0)
setWidgetAlpha(float alpha)
public List<? extends GuiEventListener>
aH_()
children()
method_25396()
children()
protected void
aV_()
init()
method_25426()
init()
public void
e()
tick()
method_25393()
tick()
public void
aI_()
removed()
method_25432()
removed()
public void
aJ_()
added()
method_49589()
onDisplayed()
public void
b(fxa 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(fxa arg0)
renderBlurredBackground(GuiGraphics arg0)
method_57734(class_332 arg0)
applyBlur(DrawContext context)
protected void
a(fxa arg0, float arg1)
renderPanorama(GuiGraphics arg0, float arg1)
method_57728(class_332 arg0, float arg1)
renderPanoramaBackground(DrawContext context, float deltaTicks)
protected void
a(fxa arg0)
renderMenuBackground(GuiGraphics arg0)
method_57735(class_332 arg0)
renderDarkening(DrawContext context)
protected void
a(fxa 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(fxa arg0, ame 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
c(fxa arg0)
renderTransparentBackground(GuiGraphics arg0)
method_52752(class_332 arg0)
renderInGameBackground(DrawContext context)
public boolean
aQ_()
isPauseScreen()
method_25421()
shouldPause()
public static boolean
s()
hasControlDown()
method_25441()
hasControlDown()
public static boolean
t()
hasShiftDown()
method_25442()
hasShiftDown()
public static boolean
u()
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(fud 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(p 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
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)
public void
v()
afterMouseMove()
method_37068()
applyMouseMoveNarratorDelay()
public void
w()
afterMouseAction()
method_37069()
applyMousePressScrollNarratorDelay()
public void
x()
afterKeyboardAction()
method_37070()
applyKeyPressNarratorDelay()
private boolean
m()
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
c(boolean arg0)
runNarration(boolean arg0)
method_37065(boolean arg0)
narrateScreen(boolean onlyChangedNarrations)
protected boolean
aR_()
shouldNarrateNavigation()
method_48262()
hasUsageText()
protected void
a(gbs arg0)
updateNarrationState(NarrationElementOutput arg0)
method_37062(class_6382 arg0)
addScreenNarrations(NarrationMessageBuilder messageBuilder)
protected void
b(gbs arg0)
updateNarratedWidget(NarrationElementOutput arg0)
method_37056(class_6382 arg0)
addElementNarrations(NarrationMessageBuilder builder)
protected Component
A()
getUsageNarration()
method_53870()
getUsageNarrationText()
public static Screen$NarratableSearchResult
a(List<? extends gbq> arg0, gbq 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
B()
getFont()
method_64506()
getTextRenderer()
public boolean
C()
showsActiveEffects()
method_64507()
showsStatusEffects()
public ScreenRectangle
I()
getRectangle()
method_48202()
getNavigationFocus()
public Music
D()
getBackgroundMusic()
method_50024()
getMusic()