Class ChatReportScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.report.ReportScreen<ChatAbuseReport.Builder>
net.minecraft.client.gui.screen.report.ChatReportScreen
- All Implemented Interfaces:
Drawable
,Element
,Navigable
,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/report/ChatReportScreen
intermediary net/minecraft/class_7538
official frc
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private EditBoxWidget
private final DirectionalLayoutWidget
private static final Text
private ButtonWidget
private ButtonWidget
private ButtonWidget
private static final Text
Fields 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_TEXT
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, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ModifierConstructorDescriptionChatReportScreen
(Screen parent, AbuseReportContext reporter, UUID reportedPlayerUuid) ChatReportScreen
(Screen parent, AbuseReportContext context, ChatAbuseReport report) private
ChatReportScreen
(Screen parent, AbuseReportContext context, ChatAbuseReport.Builder reportBuilder) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
init()
Called when a screen should be initialized.protected void
boolean
mouseReleased
(double mouseX, double mouseY, int button) Callback for when a mouse button release event has been captured.private void
onChange()
Methods inherited from class net.minecraft.client.gui.screen.report.ReportScreen
close, createCommentsBox, removed, resetDraft, saveDraft, trySend
Methods 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, wrapScreenError
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
-
BOTTOM_BUTTON_WIDTH
private static final int BOTTOM_BUTTON_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector named BOTTOM_BUTTON_WIDTH
Lnet/minecraft/client/gui/screen/report/ChatReportScreen;BOTTOM_BUTTON_WIDTH:I
intermediary field_39562
Lnet/minecraft/class_7538;field_39562:I
official y
Lfrc;y:I
-
TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named TITLE_TEXT
Lnet/minecraft/client/gui/screen/report/ChatReportScreen;TITLE_TEXT:Lnet/minecraft/text/Text;
intermediary field_46031
Lnet/minecraft/class_7538;field_46031:Lnet/minecraft/class_2561;
official z
Lfrc;z:Lxp;
-
SELECT_CHAT_TEXT
- Mappings:
Namespace Name Mixin selector named SELECT_CHAT_TEXT
Lnet/minecraft/client/gui/screen/report/ChatReportScreen;SELECT_CHAT_TEXT:Lnet/minecraft/text/Text;
intermediary field_39574
Lnet/minecraft/class_7538;field_39574:Lnet/minecraft/class_2561;
official A
Lfrc;A:Lxp;
-
layout
- Mappings:
Namespace Name Mixin selector named layout
Lnet/minecraft/client/gui/screen/report/ChatReportScreen;layout:Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget;
intermediary field_46032
Lnet/minecraft/class_7538;field_46032:Lnet/minecraft/class_8667;
official B
Lfrc;B:Lfkw;
-
commentsBox
- Mappings:
Namespace Name Mixin selector named commentsBox
Lnet/minecraft/client/gui/screen/report/ChatReportScreen;commentsBox:Lnet/minecraft/client/gui/widget/EditBoxWidget;
intermediary field_46033
Lnet/minecraft/class_7538;field_46033:Lnet/minecraft/class_7529;
official C
Lfrc;C:Lfhx;
-
sendButton
- Mappings:
Namespace Name Mixin selector named sendButton
Lnet/minecraft/client/gui/screen/report/ChatReportScreen;sendButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
intermediary field_39559
Lnet/minecraft/class_7538;field_39559:Lnet/minecraft/class_4185;
official D
Lfrc;D:Lfhf;
-
selectChatButton
- Mappings:
Namespace Name Mixin selector named selectChatButton
Lnet/minecraft/client/gui/screen/report/ChatReportScreen;selectChatButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
intermediary field_46034
Lnet/minecraft/class_7538;field_46034:Lnet/minecraft/class_4185;
official E
Lfrc;E:Lfhf;
-
selectReasonButton
- Mappings:
Namespace Name Mixin selector named selectReasonButton
Lnet/minecraft/client/gui/screen/report/ChatReportScreen;selectReasonButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
intermediary field_46035
Lnet/minecraft/class_7538;field_46035:Lnet/minecraft/class_4185;
official F
Lfrc;F:Lfhf;
-
-
Constructor Details
-
ChatReportScreen
private ChatReportScreen(Screen parent, AbuseReportContext context, ChatAbuseReport.Builder reportBuilder) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/screen/report/ChatReportScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/session/report/AbuseReportContext;Lnet/minecraft/client/session/report/ChatAbuseReport$Builder;)V
intermediary <init>
Lnet/minecraft/class_7538;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Lnet/minecraft/class_7566$class_8772;)V
official <init>
Lfrc;<init>(Lfne;Lfze;Lfyx$a;)V
-
ChatReportScreen
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/screen/report/ChatReportScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/session/report/AbuseReportContext;Ljava/util/UUID;)V
intermediary <init>
Lnet/minecraft/class_7538;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Ljava/util/UUID;)V
official <init>
Lfrc;<init>(Lfne;Lfze;Ljava/util/UUID;)V
-
ChatReportScreen
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/screen/report/ChatReportScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/session/report/AbuseReportContext;Lnet/minecraft/client/session/report/ChatAbuseReport;)V
intermediary <init>
Lnet/minecraft/class_7538;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Lnet/minecraft/class_7566;)V
official <init>
Lfrc;<init>(Lfne;Lfze;Lfyx;)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 onChange
Lnet/minecraft/client/gui/screen/report/ChatReportScreen;onChange()V
intermediary method_44478
Lnet/minecraft/class_7538;method_44478()V
official E
Lfrc;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
Lfjb;b(DDI)Z
-