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 named net/minecraft/client/gui/screen/report/ReportScreen
intermediary net/minecraft/class_8768
official fsk
-
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
private CheckboxWidget
private 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
protected static final int
private static final Text
protected final DirectionalLayoutWidget
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
protected ButtonWidget
private static final Text
private static final 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, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, 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 TypeMethodDescriptionprotected void
protected abstract void
protected void
addTitle()
void
close()
protected EditBoxWidget
createCommentsBox
(int width, int height, Consumer<String> changeListener) protected void
init()
Called when a screen should be initialized.protected void
protected void
onChange()
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, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, 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, 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, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
REPORT_SENT_MESSAGE_TEXT
- Mappings:
Namespace Name Mixin selector named REPORT_SENT_MESSAGE_TEXT
Lnet/minecraft/client/gui/screen/report/ReportScreen;REPORT_SENT_MESSAGE_TEXT:Lnet/minecraft/text/Text;
intermediary field_46022
Lnet/minecraft/class_8768;field_46022:Lnet/minecraft/class_2561;
official C
Lfsk;C:Lwz;
-
SENDING_TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named SENDING_TITLE_TEXT
Lnet/minecraft/client/gui/screen/report/ReportScreen;SENDING_TITLE_TEXT:Lnet/minecraft/text/Text;
intermediary field_46023
Lnet/minecraft/class_8768;field_46023:Lnet/minecraft/class_2561;
official D
Lfsk;D:Lwz;
-
SENT_TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named SENT_TITLE_TEXT
Lnet/minecraft/client/gui/screen/report/ReportScreen;SENT_TITLE_TEXT:Lnet/minecraft/text/Text;
intermediary field_46024
Lnet/minecraft/class_8768;field_46024:Lnet/minecraft/class_2561;
official E
Lfsk;E:Lwz;
-
ERROR_TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named ERROR_TITLE_TEXT
Lnet/minecraft/client/gui/screen/report/ReportScreen;ERROR_TITLE_TEXT:Lnet/minecraft/text/Text;
intermediary field_46025
Lnet/minecraft/class_8768;field_46025:Lnet/minecraft/class_2561;
official F
Lfsk;F:Lwz;
-
GENERIC_ERROR_TEXT
- Mappings:
Namespace Name Mixin selector named GENERIC_ERROR_TEXT
Lnet/minecraft/client/gui/screen/report/ReportScreen;GENERIC_ERROR_TEXT:Lnet/minecraft/text/Text;
intermediary field_46026
Lnet/minecraft/class_8768;field_46026:Lnet/minecraft/class_2561;
official G
Lfsk;G:Lwz;
-
SEND_TEXT
- Mappings:
Namespace Name Mixin selector named SEND_TEXT
Lnet/minecraft/client/gui/screen/report/ReportScreen;SEND_TEXT:Lnet/minecraft/text/Text;
intermediary field_46012
Lnet/minecraft/class_8768;field_46012:Lnet/minecraft/class_2561;
official a
Lfsk;a:Lwz;
-
OBSERVED_WHAT_TEXT
- Mappings:
Namespace Name Mixin selector named OBSERVED_WHAT_TEXT
Lnet/minecraft/client/gui/screen/report/ReportScreen;OBSERVED_WHAT_TEXT:Lnet/minecraft/text/Text;
intermediary field_46013
Lnet/minecraft/class_8768;field_46013:Lnet/minecraft/class_2561;
official b
Lfsk;b:Lwz;
-
SELECT_REASON_TEXT
- Mappings:
Namespace Name Mixin selector named SELECT_REASON_TEXT
Lnet/minecraft/client/gui/screen/report/ReportScreen;SELECT_REASON_TEXT:Lnet/minecraft/text/Text;
intermediary field_46014
Lnet/minecraft/class_8768;field_46014:Lnet/minecraft/class_2561;
official c
Lfsk;c:Lwz;
-
DESCRIBE_TEXT
- Mappings:
Namespace Name Mixin selector named DESCRIBE_TEXT
Lnet/minecraft/client/gui/screen/report/ReportScreen;DESCRIBE_TEXT:Lnet/minecraft/text/Text;
intermediary field_46027
Lnet/minecraft/class_8768;field_46027:Lnet/minecraft/class_2561;
official H
Lfsk;H:Lwz;
-
MORE_COMMENTS_TEXT
- Mappings:
Namespace Name Mixin selector named MORE_COMMENTS_TEXT
Lnet/minecraft/client/gui/screen/report/ReportScreen;MORE_COMMENTS_TEXT:Lnet/minecraft/text/Text;
intermediary field_46015
Lnet/minecraft/class_8768;field_46015:Lnet/minecraft/class_2561;
official r
Lfsk;r:Lwz;
-
COMMENTS_TEXT
- Mappings:
Namespace Name Mixin selector named COMMENTS_TEXT
Lnet/minecraft/client/gui/screen/report/ReportScreen;COMMENTS_TEXT:Lnet/minecraft/text/Text;
intermediary field_46028
Lnet/minecraft/class_8768;field_46028:Lnet/minecraft/class_2561;
official I
Lfsk;I:Lwz;
-
ATTESTATION_TEXT
- Mappings:
Namespace Name Mixin selector named ATTESTATION_TEXT
Lnet/minecraft/client/gui/screen/report/ReportScreen;ATTESTATION_TEXT:Lnet/minecraft/text/Text;
intermediary field_52301
Lnet/minecraft/class_8768;field_52301:Lnet/minecraft/class_2561;
official J
Lfsk;J:Lwz;
-
field_52303
protected static final int field_52303- See Also:
- Mappings:
Namespace Name Mixin selector named field_52303
Lnet/minecraft/client/gui/screen/report/ReportScreen;field_52303:I
intermediary field_52303
Lnet/minecraft/class_8768;field_52303:I
official s
Lfsk;s:I
-
field_46016
protected static final int field_46016- See Also:
- Mappings:
Namespace Name Mixin selector named field_46016
Lnet/minecraft/client/gui/screen/report/ReportScreen;field_46016:I
intermediary field_46016
Lnet/minecraft/class_8768;field_46016:I
official u
Lfsk;u:I
-
field_46017
protected static final int field_46017- See Also:
- Mappings:
Namespace Name Mixin selector named field_46017
Lnet/minecraft/client/gui/screen/report/ReportScreen;field_46017:I
intermediary field_46017
Lnet/minecraft/class_8768;field_46017:I
official v
Lfsk;v:I
-
field_46018
protected static final int field_46018- See Also:
- Mappings:
Namespace Name Mixin selector named field_46018
Lnet/minecraft/client/gui/screen/report/ReportScreen;field_46018:I
intermediary field_46018
Lnet/minecraft/class_8768;field_46018:I
official w
Lfsk;w:I
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/client/gui/screen/report/ReportScreen;LOGGER:Lorg/slf4j/Logger;
intermediary field_46029
Lnet/minecraft/class_8768;field_46029:Lorg/slf4j/Logger;
official K
Lfsk;K:Lorg/slf4j/Logger;
-
parent
- Mappings:
Namespace Name Mixin selector named parent
Lnet/minecraft/client/gui/screen/report/ReportScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
intermediary field_46019
Lnet/minecraft/class_8768;field_46019:Lnet/minecraft/class_437;
official x
Lfsk;x:Lfod;
-
context
- Mappings:
Namespace Name Mixin selector named context
Lnet/minecraft/client/gui/screen/report/ReportScreen;context:Lnet/minecraft/client/session/report/AbuseReportContext;
intermediary field_46020
Lnet/minecraft/class_8768;field_46020:Lnet/minecraft/class_7574;
official y
Lfsk;y:Lgao;
-
layout
- Mappings:
Namespace Name Mixin selector named layout
Lnet/minecraft/client/gui/screen/report/ReportScreen;layout:Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget;
intermediary field_52304
Lnet/minecraft/class_8768;field_52304:Lnet/minecraft/class_8667;
official z
Lfsk;z:Lfmd;
-
reportBuilder
- Mappings:
Namespace Name Mixin selector named reportBuilder
Lnet/minecraft/client/gui/screen/report/ReportScreen;reportBuilder:Lnet/minecraft/client/session/report/AbuseReport$Builder;
intermediary field_46021
Lnet/minecraft/class_8768;field_46021:Lnet/minecraft/class_7855$class_8775;
official A
Lfsk;A:Lgak$a;
-
checkbox
- Mappings:
Namespace Name Mixin selector named checkbox
Lnet/minecraft/client/gui/screen/report/ReportScreen;checkbox:Lnet/minecraft/client/gui/widget/CheckboxWidget;
intermediary field_52302
Lnet/minecraft/class_8768;field_52302:Lnet/minecraft/class_4286;
official L
Lfsk;L:Lfio;
-
sendButton
- Mappings:
Namespace Name Mixin selector named sendButton
Lnet/minecraft/client/gui/screen/report/ReportScreen;sendButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
intermediary field_52300
Lnet/minecraft/class_8768;field_52300:Lnet/minecraft/class_4185;
official B
Lfsk;B:Lfim;
-
-
Constructor Details
-
ReportScreen
- Mappings:
Namespace Name Mixin selector 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
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
official <init>
Lfsk;<init>(Lwz;Lfod;Lgao;Lgak$a;)V
-
-
Method Details
-
createCommentsBox
- Mappings:
Namespace Name Mixin selector named createCommentsBox
Lnet/minecraft/client/gui/screen/report/ReportScreen;createCommentsBox(IILjava/util/function/Consumer;)Lnet/minecraft/client/gui/widget/EditBoxWidget;
intermediary method_53564
Lnet/minecraft/class_8768;method_53564(IILjava/util/function/Consumer;)Lnet/minecraft/class_7529;
official a
Lfsk;a(IILjava/util/function/Consumer;)Lfje;
-
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. -
addTitle
protected void addTitle()- Mappings:
Namespace Name Mixin selector named addTitle
Lnet/minecraft/client/gui/screen/report/ReportScreen;addTitle()V
intermediary method_61141
Lnet/minecraft/class_8768;method_61141()V
official m
Lfsk;m()V
-
addContent
protected abstract void addContent()- 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 C
Lfsk;C()V
-
addAttestationCheckboxAndSendButton
protected void addAttestationCheckboxAndSendButton()- Mappings:
Namespace Name Mixin selector named addAttestationCheckboxAndSendButton
Lnet/minecraft/client/gui/screen/report/ReportScreen;addAttestationCheckboxAndSendButton()V
intermediary method_61136
Lnet/minecraft/class_8768;method_61136()V
official D
Lfsk;D()V
-
onChange
protected void onChange()- Mappings:
Namespace Name Mixin selector named onChange
Lnet/minecraft/client/gui/screen/report/ReportScreen;onChange()V
intermediary method_53586
Lnet/minecraft/class_8768;method_53586()V
official E
Lfsk;E()V
-
trySend
protected void trySend()- Mappings:
Namespace Name Mixin selector named trySend
Lnet/minecraft/client/gui/screen/report/ReportScreen;trySend()V
intermediary method_53571
Lnet/minecraft/class_8768;method_53571()V
official F
Lfsk;F()V
-
onSent
private void onSent()- Mappings:
Namespace Name Mixin selector named onSent
Lnet/minecraft/client/gui/screen/report/ReportScreen;onSent()V
intermediary method_53559
Lnet/minecraft/class_8768;method_53559()V
official G
Lfsk;G()V
-
onSendError
- Mappings:
Namespace Name Mixin selector named onSendError
Lnet/minecraft/client/gui/screen/report/ReportScreen;onSendError(Ljava/lang/Throwable;)V
intermediary method_53568
Lnet/minecraft/class_8768;method_53568(Ljava/lang/Throwable;)V
official a
Lfsk;a(Ljava/lang/Throwable;)V
-
showError
- Mappings:
Namespace Name Mixin selector named showError
Lnet/minecraft/client/gui/screen/report/ReportScreen;showError(Lnet/minecraft/text/Text;)V
intermediary method_53570
Lnet/minecraft/class_8768;method_53570(Lnet/minecraft/class_2561;)V
official a
Lfsk;a(Lwz;)V
-
saveDraft
void saveDraft()- Mappings:
Namespace Name Mixin selector named saveDraft
Lnet/minecraft/client/gui/screen/report/ReportScreen;saveDraft()V
intermediary method_53560
Lnet/minecraft/class_8768;method_53560()V
official J
Lfsk;J()V
-
resetDraft
void resetDraft()- Mappings:
Namespace Name Mixin selector named resetDraft
Lnet/minecraft/client/gui/screen/report/ReportScreen;resetDraft()V
intermediary method_53561
Lnet/minecraft/class_8768;method_53561()V
official K
Lfsk;K()V
-
close
public void close() -
removed
public void removed()
-