Package net.minecraft
Class class_8816
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.class_8816
- All Implemented Interfaces:
Drawable
,Element
,Navigable
,ParentElement
- Mappings:
Namespace Name official etm
intermediary net/minecraft/class_8816
named net/minecraft/class_8816
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
private static final record
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Identifier
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private final Screen
private final @Nullable Identifier
private final Text
private final List<class_8816.class_8818>
private final @Nullable Runnable
private final int
private final DirectionalLayoutWidget
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorsConstructorDescriptionclass_8816
(Screen screen, int int2, @Nullable Identifier identifier, Text text, Text text2, List<class_8816.class_8818> list, @Nullable Runnable runnable) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected void
init()
Called when a screen should be initialized.protected void
private DirectionalLayoutWidget
void
renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNavigationFocus, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, render, renderBackgroundTexture, renderInGameBackground, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, tick, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
field_46554
- Mappings:
Namespace Name Mixin selector official a
Letm;a:Laez;
intermediary field_46554
Lnet/minecraft/class_8816;field_46554:Lnet/minecraft/class_2960;
named field_46554
Lnet/minecraft/class_8816;field_46554:Lnet/minecraft/util/Identifier;
-
field_46555
private static final int field_46555- See Also:
- Mappings:
Namespace Name Mixin selector official b
Letm;b:I
intermediary field_46555
Lnet/minecraft/class_8816;field_46555:I
named field_46555
Lnet/minecraft/class_8816;field_46555:I
-
field_46556
private static final int field_46556- See Also:
- Mappings:
Namespace Name Mixin selector official c
Letm;c:I
intermediary field_46556
Lnet/minecraft/class_8816;field_46556:I
named field_46556
Lnet/minecraft/class_8816;field_46556:I
-
field_46557
private static final int field_46557- See Also:
- Mappings:
Namespace Name Mixin selector official k
Letm;k:I
intermediary field_46557
Lnet/minecraft/class_8816;field_46557:I
named field_46557
Lnet/minecraft/class_8816;field_46557:I
-
field_46558
private static final int field_46558- See Also:
- Mappings:
Namespace Name Mixin selector official l
Letm;l:I
intermediary field_46558
Lnet/minecraft/class_8816;field_46558:I
named field_46558
Lnet/minecraft/class_8816;field_46558:I
-
field_46559
private static final int field_46559- See Also:
- Mappings:
Namespace Name Mixin selector official m
Letm;m:I
intermediary field_46559
Lnet/minecraft/class_8816;field_46559:I
named field_46559
Lnet/minecraft/class_8816;field_46559:I
-
field_46560
private static final int field_46560- See Also:
- Mappings:
Namespace Name Mixin selector official n
Letm;n:I
intermediary field_46560
Lnet/minecraft/class_8816;field_46560:I
named field_46560
Lnet/minecraft/class_8816;field_46560:I
-
field_46561
- Mappings:
Namespace Name Mixin selector official o
Letm;o:Leye;
intermediary field_46561
Lnet/minecraft/class_8816;field_46561:Lnet/minecraft/class_437;
named field_46561
Lnet/minecraft/class_8816;field_46561:Lnet/minecraft/client/gui/screen/Screen;
-
field_46562
- Mappings:
Namespace Name Mixin selector official p
Letm;p:Laez;
intermediary field_46562
Lnet/minecraft/class_8816;field_46562:Lnet/minecraft/class_2960;
named field_46562
Lnet/minecraft/class_8816;field_46562:Lnet/minecraft/util/Identifier;
-
field_46563
- Mappings:
Namespace Name Mixin selector official q
Letm;q:Ltl;
intermediary field_46563
Lnet/minecraft/class_8816;field_46563:Lnet/minecraft/class_2561;
named field_46563
Lnet/minecraft/class_8816;field_46563:Lnet/minecraft/text/Text;
-
field_46564
- Mappings:
Namespace Name Mixin selector official s
Letm;s:Ljava/util/List;
intermediary field_46564
Lnet/minecraft/class_8816;field_46564:Ljava/util/List;
named field_46564
Lnet/minecraft/class_8816;field_46564:Ljava/util/List;
-
field_46565
- Mappings:
Namespace Name Mixin selector official t
Letm;t:Ljava/lang/Runnable;
intermediary field_46565
Lnet/minecraft/class_8816;field_46565:Ljava/lang/Runnable;
named field_46565
Lnet/minecraft/class_8816;field_46565:Ljava/lang/Runnable;
-
field_46566
private final int field_46566- Mappings:
Namespace Name Mixin selector official u
Letm;u:I
intermediary field_46566
Lnet/minecraft/class_8816;field_46566:I
named field_46566
Lnet/minecraft/class_8816;field_46566:I
-
field_46567
- Mappings:
Namespace Name Mixin selector official v
Letm;v:Levy;
intermediary field_46567
Lnet/minecraft/class_8816;field_46567:Lnet/minecraft/class_8667;
named field_46567
Lnet/minecraft/class_8816;field_46567:Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget;
-
-
Constructor Details
-
class_8816
class_8816(Screen screen, int int2, @Nullable @Nullable Identifier identifier, Text text, Text text2, List<class_8816.class_8818> list, @Nullable @Nullable Runnable runnable)
-
-
Method Details
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
This should call
Screen.setInitialFocus(net.minecraft.client.gui.Element)
to set the element that is initially focused. -
method_54124
- Mappings:
Namespace Name Mixin selector official l
Letm;l()Levy;
intermediary method_54124
Lnet/minecraft/class_8816;method_54124()Lnet/minecraft/class_8667;
named method_54124
Lnet/minecraft/class_8816;method_54124()Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget;
-
renderBackground
Renders the background of this screen.If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.
- Overrides:
renderBackground
in classScreen
- Mappings:
Namespace Name Mixin selector official b
Leye;b(Lerz;IIF)V
intermediary method_25420
Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)V
named renderBackground
Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
getNarratedTitle
- Overrides:
getNarratedTitle
in classScreen
- Mappings:
Namespace Name Mixin selector official g
Leye;g()Ltl;
intermediary method_25435
Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;
named getNarratedTitle
Lnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
-
close
public void close()
-