Class ReportingContext
java.lang.Object
net.minecraft.client.multiplayer.chat.report.ReportingContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ChatLogprivate Reportprivate final ReportEnvironmentprivate static final intprivate final AbuseReportSender -
Constructor Summary
ConstructorsConstructorDescriptionReportingContext(AbuseReportSender p_239187_, ReportEnvironment p_239188_, ChatLog p_239189_) -
Method Summary
Modifier and TypeMethodDescriptionchatLog()static ReportingContextcreate(ReportEnvironment p_239686_, com.mojang.authlib.minecraft.UserApiService p_239687_) voiddraftReportHandled(Minecraft p_261771_, Screen p_261866_, Runnable p_262031_, boolean p_261540_) booleanbooleanhasDraftReportFor(UUID p_254340_) booleanmatches(ReportEnvironment p_239734_) sender()voidsetReportDraft(Report p_299889_)
-
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
-