net.minecraft.client.session.report

public final class AbuseReportContext

net.minecraft.client.multiplayer.chat.report.ReportingContext
net.minecraft.class_7574
net.minecraft.client.session.report.AbuseReportContext

Field summary

Modifier and TypeField
private static final int
LOG_CAPACITY
field_39675
MAX_LOGS
private final AbuseReportSender
sender
field_40819
sender
private final ReporterEnvironment
environment
field_40820
environment
private final ChatLog
chatLog
field_40821
chatLog
private AbuseReport
draftReport
field_40822
draft

Constructor summary

ModifierConstructor
public (AbuseReportSender sender, ReporterEnvironment environment, ChatLog chatLog)

Method summary

Modifier and TypeMethod
public static AbuseReportContext
create(ReportEnvironment environment, com.mojang.authlib.minecraft.UserApiService userApiService)
method_44599(class_7569 arg0, com.mojang.authlib.minecraft.UserApiService arg1)
create(ReporterEnvironment environment, com.mojang.authlib.minecraft.UserApiService userApiService)
public void
draftReportHandled(Minecraft minecraft, Screen lastScreen, Runnable onDiscard, boolean quitToTitle)
method_46552(class_310 arg0, class_437 arg1, Runnable arg2, boolean arg3)
tryShowDraftScreen(MinecraftClient client, Screen parent, Runnable callback, boolean quit)
public AbuseReportSender
sender()
method_46550()
getSender()
public ChatLog
chatLog()
method_46555()
getChatLog()
public boolean
matches(ReportEnvironment environment)
method_44598(class_7569 arg0)
environmentEquals(ReporterEnvironment environment)
public void
setReportDraft(Report draftReport)
method_46553(class_7855 arg0)
setDraft(AbuseReport draft)
public boolean
hasDraftReport()
method_46556()
hasDraft()
public boolean
hasDraftReportFor(UUID playerId)
method_46554(UUID arg0)
draftPlayerUuidEquals(UUID uuid)
private void
lambda$draftReportHandled$0(Minecraft arg0, Report arg1, Screen arg2, Runnable arg3, boolean arg4)
method_46551(class_310 arg0, class_7855 arg1, class_437 arg2, Runnable arg3, boolean arg4)
method_46551(MinecraftClient arg0, AbuseReport arg1, Screen arg2, Runnable arg3, boolean confirmed)