Class SkinReportScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.report.ReportScreen<SkinAbuseReport.Builder>
net.minecraft.client.gui.screen.report.SkinReportScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name official fhgintermediary net/minecraft/class_8771named net/minecraft/client/gui/screen/report/SkinReportScreen
-
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 static final intprivate ButtonWidgetprivate ButtonWidgetprivate static final intprivate 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, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsModifierConstructorDescriptionSkinReportScreen(Screen parent, AbuseReportContext context, UUID reportedPlayerUuid, Supplier<SkinTextures> skinSupplier) SkinReportScreen(Screen parent, AbuseReportContext context, SkinAbuseReport report) privateSkinReportScreen(Screen parent, AbuseReportContext context, SkinAbuseReport.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, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, blur, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, getUsageNarrationText, 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
-
BOTTOM_BUTTON_WIDTH
private static final int BOTTOM_BUTTON_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector official rLfhg;r:Iintermediary field_46051Lnet/minecraft/class_8771;field_46051:Inamed BOTTOM_BUTTON_WIDTHLnet/minecraft/client/gui/screen/report/SkinReportScreen;BOTTOM_BUTTON_WIDTH:I
-
SKIN_WIDGET_WIDTH
private static final int SKIN_WIDGET_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector official tLfhg;t:Iintermediary field_46052Lnet/minecraft/class_8771;field_46052:Inamed SKIN_WIDGET_WIDTHLnet/minecraft/client/gui/screen/report/SkinReportScreen;SKIN_WIDGET_WIDTH:I
-
REASON_BUTTON_AND_COMMENTS_BOX_WIDTH
private static final int REASON_BUTTON_AND_COMMENTS_BOX_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector official uLfhg;u:Iintermediary field_46053Lnet/minecraft/class_8771;field_46053:Inamed REASON_BUTTON_AND_COMMENTS_BOX_WIDTHLnet/minecraft/client/gui/screen/report/SkinReportScreen;REASON_BUTTON_AND_COMMENTS_BOX_WIDTH:I
-
TITLE_TEXT
- Mappings:
Namespace Name Mixin selector official vLfhg;v:Lvf;intermediary field_46054Lnet/minecraft/class_8771;field_46054:Lnet/minecraft/class_2561;named TITLE_TEXTLnet/minecraft/client/gui/screen/report/SkinReportScreen;TITLE_TEXT:Lnet/minecraft/text/Text;
-
layout
- Mappings:
Namespace Name Mixin selector official wLfhg;w:Lfau;intermediary field_46055Lnet/minecraft/class_8771;field_46055:Lnet/minecraft/class_8667;named layoutLnet/minecraft/client/gui/screen/report/SkinReportScreen;layout:Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget;
-
commentsBox
- Mappings:
Namespace Name Mixin selector official xLfhg;x:Lexy;intermediary field_46056Lnet/minecraft/class_8771;field_46056:Lnet/minecraft/class_7529;named commentsBoxLnet/minecraft/client/gui/screen/report/SkinReportScreen;commentsBox:Lnet/minecraft/client/gui/widget/EditBoxWidget;
-
sendButton
- Mappings:
Namespace Name Mixin selector official yLfhg;y:Lexg;intermediary field_46057Lnet/minecraft/class_8771;field_46057:Lnet/minecraft/class_4185;named sendButtonLnet/minecraft/client/gui/screen/report/SkinReportScreen;sendButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
selectReasonButton
- Mappings:
Namespace Name Mixin selector official zLfhg;z:Lexg;intermediary field_46058Lnet/minecraft/class_8771;field_46058:Lnet/minecraft/class_4185;named selectReasonButtonLnet/minecraft/client/gui/screen/report/SkinReportScreen;selectReasonButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
-
Constructor Details
-
SkinReportScreen
private SkinReportScreen(Screen parent, AbuseReportContext context, SkinAbuseReport.Builder reportBuilder) - Mappings:
Namespace Name Mixin selector official <init>Lfhg;<init>(Lfdb;Lfow;Lfox$a;)Vintermediary <init>Lnet/minecraft/class_8771;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Lnet/minecraft/class_8777$class_8778;)Vnamed <init>Lnet/minecraft/client/gui/screen/report/SkinReportScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/session/report/AbuseReportContext;Lnet/minecraft/client/session/report/SkinAbuseReport$Builder;)V
-
SkinReportScreen
public SkinReportScreen(Screen parent, AbuseReportContext context, UUID reportedPlayerUuid, Supplier<SkinTextures> skinSupplier) - Mappings:
Namespace Name Mixin selector official <init>Lfhg;<init>(Lfdb;Lfow;Ljava/util/UUID;Ljava/util/function/Supplier;)Vintermediary <init>Lnet/minecraft/class_8771;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Ljava/util/UUID;Ljava/util/function/Supplier;)Vnamed <init>Lnet/minecraft/client/gui/screen/report/SkinReportScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/session/report/AbuseReportContext;Ljava/util/UUID;Ljava/util/function/Supplier;)V
-
SkinReportScreen
- Mappings:
Namespace Name Mixin selector official <init>Lfhg;<init>(Lfdb;Lfow;Lfox;)Vintermediary <init>Lnet/minecraft/class_8771;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Lnet/minecraft/class_8777;)Vnamed <init>Lnet/minecraft/client/gui/screen/report/SkinReportScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/session/report/AbuseReportContext;Lnet/minecraft/client/session/report/SkinAbuseReport;)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(net.minecraft.client.gui.Element)to set the element that is initially focused. -
onChange
private void onChange()- Mappings:
Namespace Name Mixin selector official DLfhg;D()Vintermediary method_53586Lnet/minecraft/class_8771;method_53586()Vnamed onChangeLnet/minecraft/client/gui/screen/report/SkinReportScreen;onChange()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 bLezb;b(DDI)Zintermediary method_25406Lnet/minecraft/class_364;method_25406(DDI)Znamed mouseReleasedLnet/minecraft/client/gui/Element;mouseReleased(DDI)Z
-