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/ReportScreenintermediary net/minecraft/class_8768official grk
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Textprivate CheckboxWidgetprivate static final Textprotected final AbuseReportContextprivate static final Textprivate static final Textprotected static final intprotected static final intprotected static final intprotected static final intprivate static final Textprotected final DirectionalLayoutWidgetprivate static final Loggerprotected static final Textprotected static final Textprotected final Screenprivate static final Textprotected Bprotected static final Textprotected static final Textprotected ButtonWidgetprivate static final Textprivate static final TextFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, field_60460, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, textRenderer, title, width -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedReportScreen(Text title, Screen parent, AbuseReportContext context, B reportBuilder) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected abstract voidprotected voidaddTitle()voidclose()protected EditBoxWidgetcreateCommentsBox(int width, int height, Consumer<String> changeListener) protected voidinit()Called when a screen should be initialized.protected voidonChange()private voidonSendError(Throwable error) private voidonSent()protected voidvoidremoved()(package private) void(package private) voidprivate voidprotected voidtrySend()Methods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, allowRotatingPanorama, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, canInterruptOtherScreen, children, clearAndInit, clearChildren, deferSubtitles, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, handleTextClick, hasUsageText, init, insertText, isMouseOver, isValidCharacterForName, keepOpenThroughPortal, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, remove, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setWidgetAlpha, shouldCloseOnEsc, shouldPause, showsStatusEffects, switchFocus, tick, updateNarratorMethods 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
getBorder, isClickable, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods 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_TEXTLnet/minecraft/client/gui/screen/report/ReportScreen;REPORT_SENT_MESSAGE_TEXT:Lnet/minecraft/text/Text;intermediary field_46022Lnet/minecraft/class_8768;field_46022:Lnet/minecraft/class_2561;official ALgrk;A:Lxx;
-
SENDING_TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named SENDING_TITLE_TEXTLnet/minecraft/client/gui/screen/report/ReportScreen;SENDING_TITLE_TEXT:Lnet/minecraft/text/Text;intermediary field_46023Lnet/minecraft/class_8768;field_46023:Lnet/minecraft/class_2561;official BLgrk;B:Lxx;
-
SENT_TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named SENT_TITLE_TEXTLnet/minecraft/client/gui/screen/report/ReportScreen;SENT_TITLE_TEXT:Lnet/minecraft/text/Text;intermediary field_46024Lnet/minecraft/class_8768;field_46024:Lnet/minecraft/class_2561;official CLgrk;C:Lxx;
-
ERROR_TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named ERROR_TITLE_TEXTLnet/minecraft/client/gui/screen/report/ReportScreen;ERROR_TITLE_TEXT:Lnet/minecraft/text/Text;intermediary field_46025Lnet/minecraft/class_8768;field_46025:Lnet/minecraft/class_2561;official DLgrk;D:Lxx;
-
GENERIC_ERROR_TEXT
- Mappings:
Namespace Name Mixin selector named GENERIC_ERROR_TEXTLnet/minecraft/client/gui/screen/report/ReportScreen;GENERIC_ERROR_TEXT:Lnet/minecraft/text/Text;intermediary field_46026Lnet/minecraft/class_8768;field_46026:Lnet/minecraft/class_2561;official ELgrk;E:Lxx;
-
SEND_TEXT
- Mappings:
Namespace Name Mixin selector named SEND_TEXTLnet/minecraft/client/gui/screen/report/ReportScreen;SEND_TEXT:Lnet/minecraft/text/Text;intermediary field_46012Lnet/minecraft/class_8768;field_46012:Lnet/minecraft/class_2561;official aLgrk;a:Lxx;
-
OBSERVED_WHAT_TEXT
- Mappings:
Namespace Name Mixin selector named OBSERVED_WHAT_TEXTLnet/minecraft/client/gui/screen/report/ReportScreen;OBSERVED_WHAT_TEXT:Lnet/minecraft/text/Text;intermediary field_46013Lnet/minecraft/class_8768;field_46013:Lnet/minecraft/class_2561;official bLgrk;b:Lxx;
-
SELECT_REASON_TEXT
- Mappings:
Namespace Name Mixin selector named SELECT_REASON_TEXTLnet/minecraft/client/gui/screen/report/ReportScreen;SELECT_REASON_TEXT:Lnet/minecraft/text/Text;intermediary field_46014Lnet/minecraft/class_8768;field_46014:Lnet/minecraft/class_2561;official cLgrk;c:Lxx;
-
DESCRIBE_TEXT
- Mappings:
Namespace Name Mixin selector named DESCRIBE_TEXTLnet/minecraft/client/gui/screen/report/ReportScreen;DESCRIBE_TEXT:Lnet/minecraft/text/Text;intermediary field_46027Lnet/minecraft/class_8768;field_46027:Lnet/minecraft/class_2561;official FLgrk;F:Lxx;
-
MORE_COMMENTS_TEXT
- Mappings:
Namespace Name Mixin selector named MORE_COMMENTS_TEXTLnet/minecraft/client/gui/screen/report/ReportScreen;MORE_COMMENTS_TEXT:Lnet/minecraft/text/Text;intermediary field_46015Lnet/minecraft/class_8768;field_46015:Lnet/minecraft/class_2561;official dLgrk;d:Lxx;
-
COMMENTS_TEXT
- Mappings:
Namespace Name Mixin selector named COMMENTS_TEXTLnet/minecraft/client/gui/screen/report/ReportScreen;COMMENTS_TEXT:Lnet/minecraft/text/Text;intermediary field_46028Lnet/minecraft/class_8768;field_46028:Lnet/minecraft/class_2561;official GLgrk;G:Lxx;
-
ATTESTATION_TEXT
- Mappings:
Namespace Name Mixin selector named ATTESTATION_TEXTLnet/minecraft/client/gui/screen/report/ReportScreen;ATTESTATION_TEXT:Lnet/minecraft/text/Text;intermediary field_52301Lnet/minecraft/class_8768;field_52301:Lnet/minecraft/class_2561;official HLgrk;H:Lxx;
-
field_52303
protected static final int field_52303- See Also:
- Mappings:
Namespace Name Mixin selector named field_52303Lnet/minecraft/client/gui/screen/report/ReportScreen;field_52303:Iintermediary field_52303Lnet/minecraft/class_8768;field_52303:Iofficial eLgrk;e:I
-
field_46016
protected static final int field_46016- See Also:
- Mappings:
Namespace Name Mixin selector named field_46016Lnet/minecraft/client/gui/screen/report/ReportScreen;field_46016:Iintermediary field_46016Lnet/minecraft/class_8768;field_46016:Iofficial fLgrk;f:I
-
field_46017
protected static final int field_46017- See Also:
- Mappings:
Namespace Name Mixin selector named field_46017Lnet/minecraft/client/gui/screen/report/ReportScreen;field_46017:Iintermediary field_46017Lnet/minecraft/class_8768;field_46017:Iofficial tLgrk;t:I
-
field_46018
protected static final int field_46018- See Also:
- Mappings:
Namespace Name Mixin selector named field_46018Lnet/minecraft/client/gui/screen/report/ReportScreen;field_46018:Iintermediary field_46018Lnet/minecraft/class_8768;field_46018:Iofficial uLgrk;u:I
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/client/gui/screen/report/ReportScreen;LOGGER:Lorg/slf4j/Logger;intermediary field_46029Lnet/minecraft/class_8768;field_46029:Lorg/slf4j/Logger;official ILgrk;I:Lorg/slf4j/Logger;
-
parent
- Mappings:
Namespace Name Mixin selector named parentLnet/minecraft/client/gui/screen/report/ReportScreen;parent:Lnet/minecraft/client/gui/screen/Screen;intermediary field_46019Lnet/minecraft/class_8768;field_46019:Lnet/minecraft/class_437;official vLgrk;v:Lgmj;
-
context
- Mappings:
Namespace Name Mixin selector named contextLnet/minecraft/client/gui/screen/report/ReportScreen;context:Lnet/minecraft/client/session/report/AbuseReportContext;intermediary field_46020Lnet/minecraft/class_8768;field_46020:Lnet/minecraft/class_7574;official wLgrk;w:Lhav;
-
layout
- Mappings:
Namespace Name Mixin selector named layoutLnet/minecraft/client/gui/screen/report/ReportScreen;layout:Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget;intermediary field_52304Lnet/minecraft/class_8768;field_52304:Lnet/minecraft/class_8667;official xLgrk;x:Lgjg;
-
reportBuilder
- Mappings:
Namespace Name Mixin selector named reportBuilderLnet/minecraft/client/gui/screen/report/ReportScreen;reportBuilder:Lnet/minecraft/client/session/report/AbuseReport$Builder;intermediary field_46021Lnet/minecraft/class_8768;field_46021:Lnet/minecraft/class_7855$class_8775;official yLgrk;y:Lhar$a;
-
checkbox
- Mappings:
Namespace Name Mixin selector named checkboxLnet/minecraft/client/gui/screen/report/ReportScreen;checkbox:Lnet/minecraft/client/gui/widget/CheckboxWidget;intermediary field_52302Lnet/minecraft/class_8768;field_52302:Lnet/minecraft/class_4286;official JLgrk;J:Lgdr;
-
sendButton
- Mappings:
Namespace Name Mixin selector named sendButtonLnet/minecraft/client/gui/screen/report/ReportScreen;sendButton:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_52300Lnet/minecraft/class_8768;field_52300:Lnet/minecraft/class_4185;official zLgrk;z:Lgdp;
-
-
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;)Vintermediary <init>Lnet/minecraft/class_8768;<init>(Lnet/minecraft/class_2561;Lnet/minecraft/class_437;Lnet/minecraft/class_7574;Lnet/minecraft/class_7855$class_8775;)Vofficial <init>Lgrk;<init>(Lxx;Lgmj;Lhav;Lhar$a;)V
-
-
Method Details
-
createCommentsBox
- Mappings:
Namespace Name Mixin selector named createCommentsBoxLnet/minecraft/client/gui/screen/report/ReportScreen;createCommentsBox(IILjava/util/function/Consumer;)Lnet/minecraft/client/gui/widget/EditBoxWidget;intermediary method_53564Lnet/minecraft/class_8768;method_53564(IILjava/util/function/Consumer;)Lnet/minecraft/class_7529;official aLgrk;a(IILjava/util/function/Consumer;)Lgei;
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
addTitle
protected void addTitle()- Mappings:
Namespace Name Mixin selector named addTitleLnet/minecraft/client/gui/screen/report/ReportScreen;addTitle()Vintermediary method_61141Lnet/minecraft/class_8768;method_61141()Vofficial oLgrk;o()V
-
addContent
protected abstract void addContent()- Mappings:
Namespace Name Mixin selector named addContentLnet/minecraft/client/gui/screen/report/ReportScreen;addContent()Vintermediary method_61135Lnet/minecraft/class_8768;method_61135()Vofficial pLgrk;p()V
-
addAttestationCheckboxAndSendButton
protected void addAttestationCheckboxAndSendButton()- Mappings:
Namespace Name Mixin selector named addAttestationCheckboxAndSendButtonLnet/minecraft/client/gui/screen/report/ReportScreen;addAttestationCheckboxAndSendButton()Vintermediary method_61136Lnet/minecraft/class_8768;method_61136()Vofficial HLgrk;H()V
-
onChange
protected void onChange()- Mappings:
Namespace Name Mixin selector named onChangeLnet/minecraft/client/gui/screen/report/ReportScreen;onChange()Vintermediary method_53586Lnet/minecraft/class_8768;method_53586()Vofficial ILgrk;I()V
-
refreshWidgetPositions
protected void refreshWidgetPositions()- Overrides:
refreshWidgetPositionsin classScreen- Mappings:
Namespace Name Mixin selector named refreshWidgetPositionsLnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()Vintermediary method_48640Lnet/minecraft/class_437;method_48640()Vofficial cLgmj;c()V
-
trySend
protected void trySend()- Mappings:
Namespace Name Mixin selector named trySendLnet/minecraft/client/gui/screen/report/ReportScreen;trySend()Vintermediary method_53571Lnet/minecraft/class_8768;method_53571()Vofficial JLgrk;J()V
-
onSent
private void onSent()- Mappings:
Namespace Name Mixin selector named onSentLnet/minecraft/client/gui/screen/report/ReportScreen;onSent()Vintermediary method_53559Lnet/minecraft/class_8768;method_53559()Vofficial KLgrk;K()V
-
onSendError
- Mappings:
Namespace Name Mixin selector named onSendErrorLnet/minecraft/client/gui/screen/report/ReportScreen;onSendError(Ljava/lang/Throwable;)Vintermediary method_53568Lnet/minecraft/class_8768;method_53568(Ljava/lang/Throwable;)Vofficial aLgrk;a(Ljava/lang/Throwable;)V
-
showError
- Mappings:
Namespace Name Mixin selector named showErrorLnet/minecraft/client/gui/screen/report/ReportScreen;showError(Lnet/minecraft/text/Text;)Vintermediary method_53570Lnet/minecraft/class_8768;method_53570(Lnet/minecraft/class_2561;)Vofficial aLgrk;a(Lxx;)V
-
saveDraft
void saveDraft()- Mappings:
Namespace Name Mixin selector named saveDraftLnet/minecraft/client/gui/screen/report/ReportScreen;saveDraft()Vintermediary method_53560Lnet/minecraft/class_8768;method_53560()Vofficial LLgrk;L()V
-
resetDraft
void resetDraft()- Mappings:
Namespace Name Mixin selector named resetDraftLnet/minecraft/client/gui/screen/report/ReportScreen;resetDraft()Vintermediary method_53561Lnet/minecraft/class_8768;method_53561()Vofficial MLgrk;M()V
-
close
public void close() -
removed
public void removed()
-