net.minecraft.client.gui.screens.reporting

public abstract class AbstractReportScreen<B extends Report$Builder<?>>

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

fye
net.minecraft.client.gui.screens.reporting.AbstractReportScreen
net.minecraft.class_8768
net.minecraft.client.gui.screen.report.ReportScreen

Field summary

Modifier and TypeField
private static final Component
C
REPORT_SENT_MESSAGE
field_46022
REPORT_SENT_MESSAGE_TEXT
private static final Component
D
REPORT_SENDING_TITLE
field_46023
SENDING_TITLE_TEXT
private static final Component
E
REPORT_SENT_TITLE
field_46024
SENT_TITLE_TEXT
private static final Component
F
REPORT_ERROR_TITLE
field_46025
ERROR_TITLE_TEXT
private static final Component
G
REPORT_SEND_GENERIC_ERROR
field_46026
GENERIC_ERROR_TEXT
protected static final Component
a
SEND_REPORT
field_46012
SEND_TEXT
protected static final Component
b
OBSERVED_WHAT_LABEL
field_46013
OBSERVED_WHAT_TEXT
protected static final Component
c
SELECT_REASON
field_46014
SELECT_REASON_TEXT
private static final Component
H
DESCRIBE_PLACEHOLDER
field_46027
DESCRIBE_TEXT
protected static final Component
d
MORE_COMMENTS_LABEL
field_46015
MORE_COMMENTS_TEXT
private static final Component
I
MORE_COMMENTS_NARRATION
field_46028
COMMENTS_TEXT
private static final Component
J
ATTESTATION_CHECKBOX
field_52301
ATTESTATION_TEXT
protected static final int
s
BUTTON_WIDTH
field_52303
field_52303
protected static final int
u
MARGIN
field_46016
field_46016
protected static final int
v
SCREEN_WIDTH
field_46017
field_46017
protected static final int
w
SPACING
field_46018
field_46018
private static final org.slf4j.Logger
K
LOGGER
field_46029
LOGGER
protected final Screen
x
lastScreen
field_46019
parent
protected final ReportingContext
y
reportingContext
field_46020
context
protected final LinearLayout
z
layout
field_52304
layout
protected B
A
reportBuilder
field_46021
reportBuilder
private Checkbox
L
attestation
field_52302
checkbox
protected Button
B
sendButton
field_52300
sendButton

Constructor summary

ModifierConstructor
protected (Component title, Screen parent, ReportingContext context, B reportBuilder)

Method summary

Modifier and TypeMethod
protected MultiLineEditBox
a(int arg0, int arg1, Consumer<String> arg2)
createCommentBox(int arg0, int arg1, Consumer<String> arg2)
method_53564(int arg0, int arg1, Consumer<String> arg2)
createCommentsBox(int width, int height, Consumer<String> changeListener)
protected void
aT_()
init()
method_25426()
init()
protected void
l()
createHeader()
method_61141()
addTitle()
protected abstract void
E()
addContent()
method_61135()
addContent()
protected void
F()
createFooter()
method_61136()
addAttestationCheckboxAndSendButton()
protected void
G()
onReportChanged()
method_53586()
onChange()
protected void
c()
repositionElements()
method_48640()
refreshWidgetPositions()
protected void
J()
sendReport()
method_53571()
trySend()
private void
K()
onReportSendSuccess()
method_53559()
onSent()
private void
a(Throwable arg0)
onReportSendError(Throwable arg0)
method_53568(Throwable arg0)
onSendError(Throwable error)
private void
a(xv arg0)
displayReportSendError(Component arg0)
method_53570(class_2561 arg0)
showError(Text errorMessage)
void
L()
saveDraft()
method_53560()
saveDraft()
void
M()
clearDraft()
method_53561()
resetDraft()
public void
aP_()
onClose()
method_25419()
close()
public void
aJ_()
removed()
method_25432()
removed()