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/UsernameReportScreen
intermediary net/minecraft/class_8769
official fyh
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate @Nullable EditBoxWidget
private static final Text
private static final Text
Fields inherited from class net.minecraft.client.gui.screen.report.ReportScreen
context, field_46016, field_46017, field_46018, field_52303, layout, MORE_COMMENTS_TEXT, OBSERVED_WHAT_TEXT, parent, reportBuilder, SELECT_REASON_TEXT, SEND_TEXT, sendButton
Fields 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, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ModifierConstructorDescriptionUsernameReportScreen
(Screen parent, AbuseReportContext context, UUID reportedPlayerUuid, String username) UsernameReportScreen
(Screen parent, AbuseReportContext context, UsernameAbuseReport report) private
UsernameReportScreen
(Screen parent, AbuseReportContext context, UsernameAbuseReport.Builder reportBuilder) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
boolean
mouseReleased
(double mouseX, double mouseY, int button) Callback for when a mouse button release event has been captured.Methods inherited from class net.minecraft.client.gui.screen.report.ReportScreen
addAttestationCheckboxAndSendButton, addTitle, close, createCommentsBox, init, onChange, refreshWidgetPositions, removed, resetDraft, saveDraft, trySend
Methods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, refreshNarrator, remove, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldHideStatusEffectHud, shouldPause, switchFocus, tick, updateNarrator
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, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseScrolled, setFocused
-
Field Details
-
TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named TITLE_TEXT
Lnet/minecraft/client/gui/screen/report/UsernameReportScreen;TITLE_TEXT:Lnet/minecraft/text/Text;
intermediary field_46037
Lnet/minecraft/class_8769;field_46037:Lnet/minecraft/class_2561;
official C
Lfyh;C:Lxv;
-
field_52851
- Mappings:
Namespace Name Mixin selector named field_52851
Lnet/minecraft/client/gui/screen/report/UsernameReportScreen;field_52851:Lnet/minecraft/text/Text;
intermediary field_52851
Lnet/minecraft/class_8769;field_52851:Lnet/minecraft/class_2561;
official D
Lfyh;D:Lxv;
-
commentsBox
- Mappings:
Namespace Name Mixin selector named commentsBox
Lnet/minecraft/client/gui/screen/report/UsernameReportScreen;commentsBox:Lnet/minecraft/client/gui/widget/EditBoxWidget;
intermediary field_46039
Lnet/minecraft/class_8769;field_46039:Lnet/minecraft/class_7529;
official E
Lfyh;E:Lfox;
-
-
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;)V
intermediary <init>
Lnet/minecraft/class_8769;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Lnet/minecraft/class_8773$class_8774;)V
official <init>
Lfyh;<init>(Lftx;Lggs;Lggn$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;)V
intermediary <init>
Lnet/minecraft/class_8769;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Ljava/util/UUID;Ljava/lang/String;)V
official <init>
Lfyh;<init>(Lftx;Lggs;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;)V
intermediary <init>
Lnet/minecraft/class_8769;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Lnet/minecraft/class_8773;)V
official <init>
Lfyh;<init>(Lftx;Lggs;Lggn;)V
-
-
Method Details
-
addContent
protected void addContent()- Specified by:
addContent
in classReportScreen<UsernameAbuseReport.Builder>
- Mappings:
Namespace Name Mixin selector named addContent
Lnet/minecraft/client/gui/screen/report/ReportScreen;addContent()V
intermediary method_61135
Lnet/minecraft/class_8768;method_61135()V
official E
Lfyd;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 inGLFW
class.- Parameters:
mouseX
- the X coordinate of the mousemouseY
- the Y coordinate of the mousebutton
- the mouse button number- Returns:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseReleased
Lnet/minecraft/client/gui/Element;mouseReleased(DDI)Z
intermediary method_25406
Lnet/minecraft/class_364;method_25406(DDI)Z
official b
Lfqc;b(DDI)Z
-