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 sender, ReportEnvironment enviroment, ChatLog chatLog) -
Method Summary
Modifier and TypeMethodDescriptionchatLog()static ReportingContextcreate(ReportEnvironment environment, com.mojang.authlib.minecraft.UserApiService userApiService) voiddraftReportHandled(Minecraft minecraft, Screen screen, Runnable quitter, boolean quitToTitle) booleanbooleanhasDraftReportFor(UUID uuid) booleanmatches(ReportEnvironment environment) sender()voidsetReportDraft(Report draftReport)
-
Field Details
-
LOG_CAPACITY
private static final int LOG_CAPACITY- See Also:
-
sender
-
environment
-
chatLog
-
draftReport
-
-
Constructor Details
-
ReportingContext
-
-
Method Details
-
create
public static ReportingContext create(ReportEnvironment environment, com.mojang.authlib.minecraft.UserApiService userApiService) -
draftReportHandled
-
sender
-
chatLog
-
matches
-
setReportDraft
-
hasDraftReport
public boolean hasDraftReport() -
hasDraftReportFor
-