Package net.minecraft
Class class_8771
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name official fcdintermediary net/minecraft/class_8771named net/minecraft/class_8771
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final intprivate static final Textprivate final DirectionalLayoutWidgetprivate EditBoxWidgetprivate ButtonWidgetprivate ButtonWidgetFields inherited from class net.minecraft.class_8768
field_46012, field_46013, field_46014, field_46015, field_46016, field_46017, field_46018, field_46019, field_46020, field_46021Fields 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
ConstructorsModifierConstructorDescriptionclass_8771(Screen screen, AbuseReportContext abuseReportContext, UUID uUID, Supplier<SkinTextures> supplier) class_8771(Screen screen, AbuseReportContext abuseReportContext, class_8777 class_8777) privateclass_8771(Screen screen, AbuseReportContext abuseReportContext, class_8777.class_8778 class_8778) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinit()Called when a screen should be initialized.protected voidprivate voidbooleanmouseReleased(double mouseX, double mouseY, int button) Callback for when a mouse button release event has been captured.Methods inherited from class net.minecraft.class_8768
close, method_53560, method_53561, method_53564, method_53571, removedMethods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, render, renderBackground, 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, mouseScrolled, setFocused
-
Field Details
-
field_46051
private static final int field_46051- See Also:
- Mappings:
Namespace Name Mixin selector official sLfcd;s:Iintermediary field_46051Lnet/minecraft/class_8771;field_46051:Inamed field_46051Lnet/minecraft/class_8771;field_46051:I
-
field_46052
private static final int field_46052- See Also:
- Mappings:
Namespace Name Mixin selector official tLfcd;t:Iintermediary field_46052Lnet/minecraft/class_8771;field_46052:Inamed field_46052Lnet/minecraft/class_8771;field_46052:I
-
field_46053
private static final int field_46053- See Also:
- Mappings:
Namespace Name Mixin selector official uLfcd;u:Iintermediary field_46053Lnet/minecraft/class_8771;field_46053:Inamed field_46053Lnet/minecraft/class_8771;field_46053:I
-
field_46054
- Mappings:
Namespace Name Mixin selector official vLfcd;v:Ltf;intermediary field_46054Lnet/minecraft/class_8771;field_46054:Lnet/minecraft/class_2561;named field_46054Lnet/minecraft/class_8771;field_46054:Lnet/minecraft/text/Text;
-
field_46055
- Mappings:
Namespace Name Mixin selector official wLfcd;w:Levt;intermediary field_46055Lnet/minecraft/class_8771;field_46055:Lnet/minecraft/class_8667;named field_46055Lnet/minecraft/class_8771;field_46055:Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget;
-
field_46056
- Mappings:
Namespace Name Mixin selector official xLfcd;x:Lesy;intermediary field_46056Lnet/minecraft/class_8771;field_46056:Lnet/minecraft/class_7529;named field_46056Lnet/minecraft/class_8771;field_46056:Lnet/minecraft/client/gui/widget/EditBoxWidget;
-
field_46057
- Mappings:
Namespace Name Mixin selector official yLfcd;y:Lesg;intermediary field_46057Lnet/minecraft/class_8771;field_46057:Lnet/minecraft/class_4185;named field_46057Lnet/minecraft/class_8771;field_46057:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
field_46058
- Mappings:
Namespace Name Mixin selector official zLfcd;z:Lesg;intermediary field_46058Lnet/minecraft/class_8771;field_46058:Lnet/minecraft/class_4185;named field_46058Lnet/minecraft/class_8771;field_46058:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
-
Constructor Details
-
class_8771
private class_8771(Screen screen, AbuseReportContext abuseReportContext, class_8777.class_8778 class_8778) -
class_8771
public class_8771(Screen screen, AbuseReportContext abuseReportContext, UUID uUID, Supplier<SkinTextures> supplier) -
class_8771
-
-
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_53586
private void method_53586()- Mappings:
Namespace Name Mixin selector official CLfcd;C()Vintermediary method_53586Lnet/minecraft/class_8771;method_53586()Vnamed method_53586Lnet/minecraft/class_8771;method_53586()V
-
mouseReleased
public boolean mouseReleased(double mouseX, double mouseY, int button) Callback for when a mouse button release event has been captured. The button number is identified by the constants inGLFWclass.- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousebutton- the mouse button number- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official bLeua;b(DDI)Zintermediary method_25406Lnet/minecraft/class_364;method_25406(DDI)Znamed mouseReleasedLnet/minecraft/client/gui/Element;mouseReleased(DDI)Z
-