net.minecraft.client.gui.screens.reporting

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

extends Screen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

fsk
net.minecraft.client.gui.screens.reporting.AbstractReportScreen
net.minecraft.class_8768
net.minecraft.client.gui.screen.report.ReportScreen
net.minecraft.src.C_290045_

Field summary

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

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)
m_294932_(int p_301025_, int p_298469_, Consumer<String> arg2)
protected void
aT_()
init()
method_25426()
init()
m_7856_()
protected void
m()
createHeader()
method_61141()
addTitle()
m_340305_()
protected abstract void
C()
addContent()
method_61135()
addContent()
m_338957_()
protected void
D()
createFooter()
method_61136()
addAttestationCheckboxAndSendButton()
m_339992_()
protected void
E()
onReportChanged()
method_53586()
onChange()
m_239041_()
protected void
c()
repositionElements()
method_48640()
initTabNavigation()
m_267719_()
protected void
F()
sendReport()
method_53571()
trySend()
m_293734_()
private void
G()
onReportSendSuccess()
method_53559()
onSent()
m_294438_()
private void
a(Throwable arg0)
onReportSendError(Throwable arg0)
method_53568(Throwable arg0)
onSendError(Throwable error)
m_294591_(Throwable arg0)
private void
a(wz arg0)
displayReportSendError(Component arg0)
method_53570(class_2561 arg0)
showError(Text errorMessage)
m_295157_(C_4996_ arg0)
void
J()
saveDraft()
method_53560()
saveDraft()
m_295806_()
void
K()
clearDraft()
method_53561()
resetDraft()
m_294948_()
public void
d()
onClose()
method_25419()
close()
m_7379_()
public void
j()
removed()
method_25432()
removed()
m_7861_()