Class UsernameReportScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.report.ReportScreen<UsernameAbuseReport.Builder>
net.minecraft.client.gui.screen.report.UsernameReportScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
@Environment(CLIENT)
public class UsernameReportScreen
extends ReportScreen<UsernameAbuseReport.Builder>
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/report/UsernameReportScreenintermediary net/minecraft/class_8769official frg
-
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 EditBoxWidgetprivate final DirectionalLayoutWidgetprivate ButtonWidgetprivate static final TextFields inherited from class net.minecraft.client.gui.screen.report.ReportScreen
context, field_46016, field_46017, field_46018, MORE_COMMENTS_TEXT, OBSERVED_WHAT_TEXT, parent, reportBuilder, SELECT_REASON_TEXT, SEND_TEXTFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsModifierConstructorDescriptionUsernameReportScreen(Screen parent, AbuseReportContext context, UUID reportedPlayerUuid, String username) UsernameReportScreen(Screen parent, AbuseReportContext context, UsernameAbuseReport report) privateUsernameReportScreen(Screen parent, AbuseReportContext context, UsernameAbuseReport.Builder reportBuilder) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinit()Called when a screen should be initialized.protected voidbooleanmouseReleased(double mouseX, double mouseY, int button) Callback for when a mouse button release event has been captured.private voidonChange()Methods inherited from class net.minecraft.client.gui.screen.report.ReportScreen
close, createCommentsBox, removed, resetDraft, saveDraft, trySendMethods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, blur, children, clearAndInit, clearChildren, clearTooltip, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getPanoramaTickDelta, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, 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, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseScrolled, setFocused
-
Field Details
-
BOTTOM_BUTTON_WIDTH
private static final int BOTTOM_BUTTON_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector named BOTTOM_BUTTON_WIDTHLnet/minecraft/client/gui/screen/report/UsernameReportScreen;BOTTOM_BUTTON_WIDTH:Iintermediary field_46036Lnet/minecraft/class_8769;field_46036:Iofficial yLfrg;y:I
-
TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named TITLE_TEXTLnet/minecraft/client/gui/screen/report/UsernameReportScreen;TITLE_TEXT:Lnet/minecraft/text/Text;intermediary field_46037Lnet/minecraft/class_8769;field_46037:Lnet/minecraft/class_2561;official zLfrg;z:Lxp;
-
layout
- Mappings:
Namespace Name Mixin selector named layoutLnet/minecraft/client/gui/screen/report/UsernameReportScreen;layout:Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget;intermediary field_46038Lnet/minecraft/class_8769;field_46038:Lnet/minecraft/class_8667;official ALfrg;A:Lfkx;
-
commentsBox
- Mappings:
Namespace Name Mixin selector named commentsBoxLnet/minecraft/client/gui/screen/report/UsernameReportScreen;commentsBox:Lnet/minecraft/client/gui/widget/EditBoxWidget;intermediary field_46039Lnet/minecraft/class_8769;field_46039:Lnet/minecraft/class_7529;official BLfrg;B:Lfhy;
-
sendButton
- Mappings:
Namespace Name Mixin selector named sendButtonLnet/minecraft/client/gui/screen/report/UsernameReportScreen;sendButton:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_46040Lnet/minecraft/class_8769;field_46040:Lnet/minecraft/class_4185;official CLfrg;C:Lfhg;
-
-
Constructor Details
-
UsernameReportScreen
private UsernameReportScreen(Screen parent, AbuseReportContext context, UsernameAbuseReport.Builder reportBuilder) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/report/UsernameReportScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/session/report/AbuseReportContext;Lnet/minecraft/client/session/report/UsernameAbuseReport$Builder;)Vintermediary <init>Lnet/minecraft/class_8769;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Lnet/minecraft/class_8773$class_8774;)Vofficial <init>Lfrg;<init>(Lfnf;Lfzf;Lfza$a;)V
-
UsernameReportScreen
public UsernameReportScreen(Screen parent, AbuseReportContext context, UUID reportedPlayerUuid, String username) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/report/UsernameReportScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/session/report/AbuseReportContext;Ljava/util/UUID;Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_8769;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Ljava/util/UUID;Ljava/lang/String;)Vofficial <init>Lfrg;<init>(Lfnf;Lfzf;Ljava/util/UUID;Ljava/lang/String;)V
-
UsernameReportScreen
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/report/UsernameReportScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/session/report/AbuseReportContext;Lnet/minecraft/client/session/report/UsernameAbuseReport;)Vintermediary <init>Lnet/minecraft/class_8769;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Lnet/minecraft/class_8773;)Vofficial <init>Lfrg;<init>(Lfnf;Lfzf;Lfza;)V
-
-
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()to set the element that is initially focused. -
onChange
private void onChange()- Mappings:
Namespace Name Mixin selector named onChangeLnet/minecraft/client/gui/screen/report/UsernameReportScreen;onChange()Vintermediary method_53574Lnet/minecraft/class_8769;method_53574()Vofficial ELfrg;E()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 named mouseReleasedLnet/minecraft/client/gui/Element;mouseReleased(DDI)Zintermediary method_25406Lnet/minecraft/class_364;method_25406(DDI)Zofficial bLfjc;b(DDI)Z
-