Class ChatReportScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.class_8768<ChatAbuseReport.class_8772>
net.minecraft.client.gui.screen.report.ChatReportScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name official fbxintermediary net/minecraft/class_7538named net/minecraft/client/gui/screen/report/ChatReportScreen
-
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 Textprivate final DirectionalLayoutWidgetprivate EditBoxWidgetprivate ButtonWidgetprivate ButtonWidgetprivate static final Textprivate 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
ConstructorsModifierConstructorDescriptionChatReportScreen(Screen parent, AbuseReportContext reporter, UUID reportedPlayerUuid) ChatReportScreen(Screen parent, AbuseReportContext context, ChatAbuseReport chatAbuseReport) privateChatReportScreen(Screen screen, AbuseReportContext context, ChatAbuseReport.class_8772 class_8772) -
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.class_8768
close, 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
-
BOTTOM_BUTTON_WIDTH
private static final int BOTTOM_BUTTON_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector official sLfbx;s:Iintermediary field_39562Lnet/minecraft/class_7538;field_39562:Inamed BOTTOM_BUTTON_WIDTHLnet/minecraft/client/gui/screen/report/ChatReportScreen;BOTTOM_BUTTON_WIDTH:I
-
field_46031
- Mappings:
Namespace Name Mixin selector official tLfbx;t:Ltf;intermediary field_46031Lnet/minecraft/class_7538;field_46031:Lnet/minecraft/class_2561;named field_46031Lnet/minecraft/client/gui/screen/report/ChatReportScreen;field_46031:Lnet/minecraft/text/Text;
-
SELECT_CHAT_TEXT
- Mappings:
Namespace Name Mixin selector official uLfbx;u:Ltf;intermediary field_39574Lnet/minecraft/class_7538;field_39574:Lnet/minecraft/class_2561;named SELECT_CHAT_TEXTLnet/minecraft/client/gui/screen/report/ChatReportScreen;SELECT_CHAT_TEXT:Lnet/minecraft/text/Text;
-
field_46032
- Mappings:
Namespace Name Mixin selector official vLfbx;v:Levt;intermediary field_46032Lnet/minecraft/class_7538;field_46032:Lnet/minecraft/class_8667;named field_46032Lnet/minecraft/client/gui/screen/report/ChatReportScreen;field_46032:Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget;
-
field_46033
- Mappings:
Namespace Name Mixin selector official wLfbx;w:Lesy;intermediary field_46033Lnet/minecraft/class_7538;field_46033:Lnet/minecraft/class_7529;named field_46033Lnet/minecraft/client/gui/screen/report/ChatReportScreen;field_46033:Lnet/minecraft/client/gui/widget/EditBoxWidget;
-
sendButton
- Mappings:
Namespace Name Mixin selector official xLfbx;x:Lesg;intermediary field_39559Lnet/minecraft/class_7538;field_39559:Lnet/minecraft/class_4185;named sendButtonLnet/minecraft/client/gui/screen/report/ChatReportScreen;sendButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
field_46034
- Mappings:
Namespace Name Mixin selector official yLfbx;y:Lesg;intermediary field_46034Lnet/minecraft/class_7538;field_46034:Lnet/minecraft/class_4185;named field_46034Lnet/minecraft/client/gui/screen/report/ChatReportScreen;field_46034:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
field_46035
- Mappings:
Namespace Name Mixin selector official zLfbx;z:Lesg;intermediary field_46035Lnet/minecraft/class_7538;field_46035:Lnet/minecraft/class_4185;named field_46035Lnet/minecraft/client/gui/screen/report/ChatReportScreen;field_46035:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
-
Constructor Details
-
ChatReportScreen
private ChatReportScreen(Screen screen, AbuseReportContext context, ChatAbuseReport.class_8772 class_8772) - Mappings:
Namespace Name Mixin selector official <init>Lfbx;<init>(Leya;Lfjp;Lfji$a;)Vintermediary <init>Lnet/minecraft/class_7538;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Lnet/minecraft/class_7566$class_8772;)Vnamed <init>Lnet/minecraft/client/gui/screen/report/ChatReportScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/report/AbuseReportContext;Lnet/minecraft/client/report/ChatAbuseReport$class_8772;)V
-
ChatReportScreen
- Mappings:
Namespace Name Mixin selector official <init>Lfbx;<init>(Leya;Lfjp;Ljava/util/UUID;)Vintermediary <init>Lnet/minecraft/class_7538;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Ljava/util/UUID;)Vnamed <init>Lnet/minecraft/client/gui/screen/report/ChatReportScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/report/AbuseReportContext;Ljava/util/UUID;)V
-
ChatReportScreen
- Mappings:
Namespace Name Mixin selector official <init>Lfbx;<init>(Leya;Lfjp;Lfji;)Vintermediary <init>Lnet/minecraft/class_7538;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Lnet/minecraft/class_7566;)Vnamed <init>Lnet/minecraft/client/gui/screen/report/ChatReportScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/report/AbuseReportContext;Lnet/minecraft/client/report/ChatAbuseReport;)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 CLfbx;C()Vintermediary method_44478Lnet/minecraft/class_7538;method_44478()Vnamed onChangeLnet/minecraft/client/gui/screen/report/ChatReportScreen;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 bLeua;b(DDI)Zintermediary method_25406Lnet/minecraft/class_364;method_25406(DDI)Znamed mouseReleasedLnet/minecraft/client/gui/Element;mouseReleased(DDI)Z
-