Class ReportingContext
java.lang.Object
net.minecraft.client.multiplayer.chat.report.ReportingContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ChatLog
private Report
private final ReportEnvironment
private static final int
private final AbuseReportSender
-
Constructor Summary
ConstructorsConstructorDescriptionReportingContext
(AbuseReportSender pSender, ReportEnvironment pEnviroment, ChatLog pChatLog) -
Method Summary
Modifier and TypeMethodDescriptionchatLog()
static ReportingContext
create
(ReportEnvironment pEnvironment, com.mojang.authlib.minecraft.UserApiService pUserApiService) void
draftReportHandled
(Minecraft pMinecraft, Screen pScreen, Runnable pQuitter, boolean pQuitToTitle) boolean
boolean
hasDraftReportFor
(UUID pUuid) boolean
matches
(ReportEnvironment pEnvironment) sender()
void
setReportDraft
(Report pDraftReport)
-
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 pEnvironment, com.mojang.authlib.minecraft.UserApiService pUserApiService) -
draftReportHandled
-
sender
-
chatLog
-
matches
-
setReportDraft
-
hasDraftReport
public boolean hasDraftReport() -
hasDraftReportFor
-