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 pSender, ReportEnvironment pEnvironment, ChatLog pChatLog) -
Method Summary
Modifier and TypeMethodDescriptionchatLog()static ReportingContextcreate(ReportEnvironment pEnvironment, com.mojang.authlib.minecraft.UserApiService pUserApiService) voiddraftReportHandled(Minecraft pMinecraft, Screen pScreen, Runnable pQuitter, boolean pQuitToTitle) booleanbooleanhasDraftReportFor(UUID pUuid) booleanmatches(ReportEnvironment pEnvironment) sender()voidsetReportDraft(Report pDraftReport)
-
Field Details
-
LOG_CAPACITY
private static final int LOG_CAPACITY- See Also:
-
sender
-
environment
-
chatLog
-
draftReport
-
-
Constructor Details
-
ReportingContext
public ReportingContext(AbuseReportSender pSender, ReportEnvironment pEnvironment, ChatLog pChatLog)
-
-
Method Details
-
create
public static ReportingContext create(ReportEnvironment pEnvironment, com.mojang.authlib.minecraft.UserApiService pUserApiService) -
draftReportHandled
-
sender
-
chatLog
-
matches
-
setReportDraft
-
hasDraftReport
public boolean hasDraftReport() -
hasDraftReportFor
-