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 etmintermediary net/minecraft/class_8816named net/minecraft/class_8816
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classprivate static final recordNested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Identifierprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate final Screenprivate final @Nullable Identifierprivate final Textprivate final List<class_8816.class_8818>private final @Nullable Runnableprivate final intprivate final DirectionalLayoutWidgetFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields 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 TypeMethodDescriptionvoidclose()protected voidinit()Called when a screen should be initialized.protected voidprivate DirectionalLayoutWidgetvoidrenderBackground(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, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods 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 aLetm;a:Laez;intermediary field_46554Lnet/minecraft/class_8816;field_46554:Lnet/minecraft/class_2960;named field_46554Lnet/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 bLetm;b:Iintermediary field_46555Lnet/minecraft/class_8816;field_46555:Inamed field_46555Lnet/minecraft/class_8816;field_46555:I
-
field_46556
private static final int field_46556- See Also:
- Mappings:
Namespace Name Mixin selector official cLetm;c:Iintermediary field_46556Lnet/minecraft/class_8816;field_46556:Inamed field_46556Lnet/minecraft/class_8816;field_46556:I
-
field_46557
private static final int field_46557- See Also:
- Mappings:
Namespace Name Mixin selector official kLetm;k:Iintermediary field_46557Lnet/minecraft/class_8816;field_46557:Inamed field_46557Lnet/minecraft/class_8816;field_46557:I
-
field_46558
private static final int field_46558- See Also:
- Mappings:
Namespace Name Mixin selector official lLetm;l:Iintermediary field_46558Lnet/minecraft/class_8816;field_46558:Inamed field_46558Lnet/minecraft/class_8816;field_46558:I
-
field_46559
private static final int field_46559- See Also:
- Mappings:
Namespace Name Mixin selector official mLetm;m:Iintermediary field_46559Lnet/minecraft/class_8816;field_46559:Inamed field_46559Lnet/minecraft/class_8816;field_46559:I
-
field_46560
private static final int field_46560- See Also:
- Mappings:
Namespace Name Mixin selector official nLetm;n:Iintermediary field_46560Lnet/minecraft/class_8816;field_46560:Inamed field_46560Lnet/minecraft/class_8816;field_46560:I
-
field_46561
- Mappings:
Namespace Name Mixin selector official oLetm;o:Leye;intermediary field_46561Lnet/minecraft/class_8816;field_46561:Lnet/minecraft/class_437;named field_46561Lnet/minecraft/class_8816;field_46561:Lnet/minecraft/client/gui/screen/Screen;
-
field_46562
- Mappings:
Namespace Name Mixin selector official pLetm;p:Laez;intermediary field_46562Lnet/minecraft/class_8816;field_46562:Lnet/minecraft/class_2960;named field_46562Lnet/minecraft/class_8816;field_46562:Lnet/minecraft/util/Identifier;
-
field_46563
- Mappings:
Namespace Name Mixin selector official qLetm;q:Ltl;intermediary field_46563Lnet/minecraft/class_8816;field_46563:Lnet/minecraft/class_2561;named field_46563Lnet/minecraft/class_8816;field_46563:Lnet/minecraft/text/Text;
-
field_46564
- Mappings:
Namespace Name Mixin selector official sLetm;s:Ljava/util/List;intermediary field_46564Lnet/minecraft/class_8816;field_46564:Ljava/util/List;named field_46564Lnet/minecraft/class_8816;field_46564:Ljava/util/List;
-
field_46565
- Mappings:
Namespace Name Mixin selector official tLetm;t:Ljava/lang/Runnable;intermediary field_46565Lnet/minecraft/class_8816;field_46565:Ljava/lang/Runnable;named field_46565Lnet/minecraft/class_8816;field_46565:Ljava/lang/Runnable;
-
field_46566
private final int field_46566- Mappings:
Namespace Name Mixin selector official uLetm;u:Iintermediary field_46566Lnet/minecraft/class_8816;field_46566:Inamed field_46566Lnet/minecraft/class_8816;field_46566:I
-
field_46567
- Mappings:
Namespace Name Mixin selector official vLetm;v:Levy;intermediary field_46567Lnet/minecraft/class_8816;field_46567:Lnet/minecraft/class_8667;named field_46567Lnet/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 lLetm;l()Levy;intermediary method_54124Lnet/minecraft/class_8816;method_54124()Lnet/minecraft/class_8667;named method_54124Lnet/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:
renderBackgroundin classScreen- Mappings:
Namespace Name Mixin selector official bLeye;b(Lerz;IIF)Vintermediary method_25420Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)Vnamed renderBackgroundLnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
getNarratedTitle
- Overrides:
getNarratedTitlein classScreen- Mappings:
Namespace Name Mixin selector official gLeye;g()Ltl;intermediary method_25435Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;named getNarratedTitleLnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
-
close
public void close()
-