Class ReportingContext
java.lang.Object
net.minecraft.client.multiplayer.chat.report.ReportingContext
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ChatLog
private Report
private final ReportEnvironment
private static final int
private final AbuseReportSender
-
Constructor Summary
ConstructorDescriptionReportingContext
(AbuseReportSender p_239187_, ReportEnvironment p_239188_, ChatLog p_239189_) -
Method Summary
Modifier and TypeMethodDescriptionchatLog()
static ReportingContext
create
(ReportEnvironment p_239686_, com.mojang.authlib.minecraft.UserApiService p_239687_) void
draftReportHandled
(Minecraft p_261771_, Screen p_261866_, Runnable p_262031_, boolean p_261540_) boolean
boolean
hasDraftReportFor
(UUID p_254340_) boolean
matches
(ReportEnvironment p_239734_) sender()
void
setReportDraft
(Report p_299003_)
-
Field Details
-
LOG_CAPACITY
private static final int LOG_CAPACITY- See Also:
-
sender
-
environment
-
chatLog
-
draftReport
-
-
Constructor Details
-
ReportingContext
public ReportingContext(AbuseReportSender p_239187_, ReportEnvironment p_239188_, ChatLog p_239189_)
-
-
Method Details
-
create
public static ReportingContext create(ReportEnvironment p_239686_, com.mojang.authlib.minecraft.UserApiService p_239687_) -
draftReportHandled
-
sender
-
chatLog
-
matches
-
setReportDraft
-
hasDraftReport
public boolean hasDraftReport() -
hasDraftReportFor
-