Class ReportScreen<B extends AbuseReport.Builder<?>>
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.report.ReportScreen<B>
- All Implemented Interfaces:
Drawable
,Element
,Navigable
,ParentElement
- Direct Known Subclasses:
ChatReportScreen
,SkinReportScreen
,UsernameReportScreen
@Environment(CLIENT)
public abstract class ReportScreen<B extends AbuseReport.Builder<?>>
extends Screen
- Mappings:
Namespace Name official fgz
intermediary net/minecraft/class_8768
named net/minecraft/client/gui/screen/report/ReportScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Text
protected final AbuseReportContext
private static final Text
private static final Text
protected static final int
protected static final int
protected static final int
private static final Text
private static final Logger
protected static final Text
protected static final Text
protected final Screen
private static final Text
protected B
protected static final Text
protected static final Text
private static final Text
private static final Text
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ModifierConstructorDescriptionprotected
ReportScreen
(Text title, Screen parent, AbuseReportContext context, B reportBuilder) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected EditBoxWidget
createCommentsBox
(int width, int height, Consumer<String> changeListener) private void
onSendError
(Throwable error) private void
onSent()
void
removed()
(package private) void
(package private) void
private void
protected void
trySend()
Methods 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, init, initTabNavigation, 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, 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, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
REPORT_SENT_MESSAGE_TEXT
- Mappings:
Namespace Name Mixin selector official r
Lfgz;r:Lvf;
intermediary field_46022
Lnet/minecraft/class_8768;field_46022:Lnet/minecraft/class_2561;
named REPORT_SENT_MESSAGE_TEXT
Lnet/minecraft/client/gui/screen/report/ReportScreen;REPORT_SENT_MESSAGE_TEXT:Lnet/minecraft/text/Text;
-
SENDING_TITLE_TEXT
- Mappings:
Namespace Name Mixin selector official t
Lfgz;t:Lvf;
intermediary field_46023
Lnet/minecraft/class_8768;field_46023:Lnet/minecraft/class_2561;
named SENDING_TITLE_TEXT
Lnet/minecraft/client/gui/screen/report/ReportScreen;SENDING_TITLE_TEXT:Lnet/minecraft/text/Text;
-
SENT_TITLE_TEXT
- Mappings:
Namespace Name Mixin selector official u
Lfgz;u:Lvf;
intermediary field_46024
Lnet/minecraft/class_8768;field_46024:Lnet/minecraft/class_2561;
named SENT_TITLE_TEXT
Lnet/minecraft/client/gui/screen/report/ReportScreen;SENT_TITLE_TEXT:Lnet/minecraft/text/Text;
-
ERROR_TITLE_TEXT
- Mappings:
Namespace Name Mixin selector official v
Lfgz;v:Lvf;
intermediary field_46025
Lnet/minecraft/class_8768;field_46025:Lnet/minecraft/class_2561;
named ERROR_TITLE_TEXT
Lnet/minecraft/client/gui/screen/report/ReportScreen;ERROR_TITLE_TEXT:Lnet/minecraft/text/Text;
-
GENERIC_ERROR_TEXT
- Mappings:
Namespace Name Mixin selector official w
Lfgz;w:Lvf;
intermediary field_46026
Lnet/minecraft/class_8768;field_46026:Lnet/minecraft/class_2561;
named GENERIC_ERROR_TEXT
Lnet/minecraft/client/gui/screen/report/ReportScreen;GENERIC_ERROR_TEXT:Lnet/minecraft/text/Text;
-
SEND_TEXT
- Mappings:
Namespace Name Mixin selector official a
Lfgz;a:Lvf;
intermediary field_46012
Lnet/minecraft/class_8768;field_46012:Lnet/minecraft/class_2561;
named SEND_TEXT
Lnet/minecraft/client/gui/screen/report/ReportScreen;SEND_TEXT:Lnet/minecraft/text/Text;
-
OBSERVED_WHAT_TEXT
- Mappings:
Namespace Name Mixin selector official b
Lfgz;b:Lvf;
intermediary field_46013
Lnet/minecraft/class_8768;field_46013:Lnet/minecraft/class_2561;
named OBSERVED_WHAT_TEXT
Lnet/minecraft/client/gui/screen/report/ReportScreen;OBSERVED_WHAT_TEXT:Lnet/minecraft/text/Text;
-
SELECT_REASON_TEXT
- Mappings:
Namespace Name Mixin selector official c
Lfgz;c:Lvf;
intermediary field_46014
Lnet/minecraft/class_8768;field_46014:Lnet/minecraft/class_2561;
named SELECT_REASON_TEXT
Lnet/minecraft/client/gui/screen/report/ReportScreen;SELECT_REASON_TEXT:Lnet/minecraft/text/Text;
-
DESCRIBE_TEXT
- Mappings:
Namespace Name Mixin selector official x
Lfgz;x:Lvf;
intermediary field_46027
Lnet/minecraft/class_8768;field_46027:Lnet/minecraft/class_2561;
named DESCRIBE_TEXT
Lnet/minecraft/client/gui/screen/report/ReportScreen;DESCRIBE_TEXT:Lnet/minecraft/text/Text;
-
MORE_COMMENTS_TEXT
- Mappings:
Namespace Name Mixin selector official k
Lfgz;k:Lvf;
intermediary field_46015
Lnet/minecraft/class_8768;field_46015:Lnet/minecraft/class_2561;
named MORE_COMMENTS_TEXT
Lnet/minecraft/client/gui/screen/report/ReportScreen;MORE_COMMENTS_TEXT:Lnet/minecraft/text/Text;
-
COMMENTS_TEXT
- Mappings:
Namespace Name Mixin selector official y
Lfgz;y:Lvf;
intermediary field_46028
Lnet/minecraft/class_8768;field_46028:Lnet/minecraft/class_2561;
named COMMENTS_TEXT
Lnet/minecraft/client/gui/screen/report/ReportScreen;COMMENTS_TEXT:Lnet/minecraft/text/Text;
-
field_46016
protected static final int field_46016- See Also:
- Mappings:
Namespace Name Mixin selector official l
Lfgz;l:I
intermediary field_46016
Lnet/minecraft/class_8768;field_46016:I
named field_46016
Lnet/minecraft/client/gui/screen/report/ReportScreen;field_46016:I
-
field_46017
protected static final int field_46017- See Also:
- Mappings:
Namespace Name Mixin selector official m
Lfgz;m:I
intermediary field_46017
Lnet/minecraft/class_8768;field_46017:I
named field_46017
Lnet/minecraft/client/gui/screen/report/ReportScreen;field_46017:I
-
field_46018
protected static final int field_46018- See Also:
- Mappings:
Namespace Name Mixin selector official n
Lfgz;n:I
intermediary field_46018
Lnet/minecraft/class_8768;field_46018:I
named field_46018
Lnet/minecraft/client/gui/screen/report/ReportScreen;field_46018:I
-
LOGGER
- Mappings:
Namespace Name Mixin selector official z
Lfgz;z:Lorg/slf4j/Logger;
intermediary field_46029
Lnet/minecraft/class_8768;field_46029:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/client/gui/screen/report/ReportScreen;LOGGER:Lorg/slf4j/Logger;
-
parent
- Mappings:
Namespace Name Mixin selector official o
Lfgz;o:Lfdb;
intermediary field_46019
Lnet/minecraft/class_8768;field_46019:Lnet/minecraft/class_437;
named parent
Lnet/minecraft/client/gui/screen/report/ReportScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
context
- Mappings:
Namespace Name Mixin selector official p
Lfgz;p:Lfow;
intermediary field_46020
Lnet/minecraft/class_8768;field_46020:Lnet/minecraft/class_7574;
named context
Lnet/minecraft/client/gui/screen/report/ReportScreen;context:Lnet/minecraft/client/session/report/AbuseReportContext;
-
reportBuilder
- Mappings:
Namespace Name Mixin selector official q
Lfgz;q:Lfos$a;
intermediary field_46021
Lnet/minecraft/class_8768;field_46021:Lnet/minecraft/class_7855$class_8775;
named reportBuilder
Lnet/minecraft/client/gui/screen/report/ReportScreen;reportBuilder:Lnet/minecraft/client/session/report/AbuseReport$Builder;
-
-
Constructor Details
-
ReportScreen
- Mappings:
Namespace Name Mixin selector official <init>
Lfgz;<init>(Lvf;Lfdb;Lfow;Lfos$a;)V
intermediary <init>
Lnet/minecraft/class_8768;<init>(Lnet/minecraft/class_2561;Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Lnet/minecraft/class_7855$class_8775;)V
named <init>
Lnet/minecraft/client/gui/screen/report/ReportScreen;<init>(Lnet/minecraft/text/Text;Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/session/report/AbuseReportContext;Lnet/minecraft/client/session/report/AbuseReport$Builder;)V
-
-
Method Details
-
createCommentsBox
- Mappings:
Namespace Name Mixin selector official a
Lfgz;a(IILjava/util/function/Consumer;)Lexy;
intermediary method_53564
Lnet/minecraft/class_8768;method_53564(IILjava/util/function/Consumer;)Lnet/minecraft/class_7529;
named createCommentsBox
Lnet/minecraft/client/gui/screen/report/ReportScreen;createCommentsBox(IILjava/util/function/Consumer;)Lnet/minecraft/client/gui/widget/EditBoxWidget;
-
trySend
protected void trySend()- Mappings:
Namespace Name Mixin selector official n
Lfgz;n()V
intermediary method_53571
Lnet/minecraft/class_8768;method_53571()V
named trySend
Lnet/minecraft/client/gui/screen/report/ReportScreen;trySend()V
-
onSent
private void onSent()- Mappings:
Namespace Name Mixin selector official D
Lfgz;D()V
intermediary method_53559
Lnet/minecraft/class_8768;method_53559()V
named onSent
Lnet/minecraft/client/gui/screen/report/ReportScreen;onSent()V
-
onSendError
- Mappings:
Namespace Name Mixin selector official a
Lfgz;a(Ljava/lang/Throwable;)V
intermediary method_53568
Lnet/minecraft/class_8768;method_53568(Ljava/lang/Throwable;)V
named onSendError
Lnet/minecraft/client/gui/screen/report/ReportScreen;onSendError(Ljava/lang/Throwable;)V
-
showError
- Mappings:
Namespace Name Mixin selector official a
Lfgz;a(Lvf;)V
intermediary method_53570
Lnet/minecraft/class_8768;method_53570(Lnet/minecraft/class_2561;)V
named showError
Lnet/minecraft/client/gui/screen/report/ReportScreen;showError(Lnet/minecraft/text/Text;)V
-
saveDraft
void saveDraft()- Mappings:
Namespace Name Mixin selector official E
Lfgz;E()V
intermediary method_53560
Lnet/minecraft/class_8768;method_53560()V
named saveDraft
Lnet/minecraft/client/gui/screen/report/ReportScreen;saveDraft()V
-
resetDraft
void resetDraft()- Mappings:
Namespace Name Mixin selector official H
Lfgz;H()V
intermediary method_53561
Lnet/minecraft/class_8768;method_53561()V
named resetDraft
Lnet/minecraft/client/gui/screen/report/ReportScreen;resetDraft()V
-
close
public void close() -
removed
public void removed()
-