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 sender, ReportEnvironment enviroment, ChatLog chatLog) -
Method Summary
Modifier and TypeMethodDescriptionchatLog()
static ReportingContext
create
(ReportEnvironment environment, com.mojang.authlib.minecraft.UserApiService userApiService) void
draftReportHandled
(Minecraft minecraft, Screen screen, Runnable quitter, boolean quitToTitle) boolean
boolean
hasDraftReportFor
(UUID uuid) boolean
matches
(ReportEnvironment environment) sender()
void
setReportDraft
(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
-