Class AbuseReportContext
java.lang.Object
net.minecraft.client.session.report.AbuseReportContext
- Mappings:
Namespace Name official fow
intermediary net/minecraft/class_7574
named net/minecraft/client/session/report/AbuseReportContext
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ChatLog
private @Nullable AbuseReport
private final ReporterEnvironment
private static final int
private final AbuseReportSender
-
Constructor Summary
ConstructorDescriptionAbuseReportContext
(AbuseReportSender sender, ReporterEnvironment environment, ChatLog chatLog) -
Method Summary
Modifier and TypeMethodDescriptionstatic AbuseReportContext
create
(ReporterEnvironment environment, com.mojang.authlib.minecraft.UserApiService userApiService) boolean
draftPlayerUuidEquals
(UUID uuid) boolean
environmentEquals
(ReporterEnvironment environment) boolean
hasDraft()
void
setDraft
(@Nullable AbuseReport draft) void
tryShowDraftScreen
(MinecraftClient client, Screen parent, Runnable callback, boolean quit)
-
Field Details
-
MAX_LOGS
private static final int MAX_LOGS- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lfow;a:I
intermediary field_39675
Lnet/minecraft/class_7574;field_39675:I
named MAX_LOGS
Lnet/minecraft/client/session/report/AbuseReportContext;MAX_LOGS:I
-
sender
- Mappings:
Namespace Name Mixin selector official b
Lfow;b:Lfom;
intermediary field_40819
Lnet/minecraft/class_7574;field_40819:Lnet/minecraft/class_7563;
named sender
Lnet/minecraft/client/session/report/AbuseReportContext;sender:Lnet/minecraft/client/session/report/AbuseReportSender;
-
environment
- Mappings:
Namespace Name Mixin selector official c
Lfow;c:Lfot;
intermediary field_40820
Lnet/minecraft/class_7574;field_40820:Lnet/minecraft/class_7569;
named environment
Lnet/minecraft/client/session/report/AbuseReportContext;environment:Lnet/minecraft/client/session/report/ReporterEnvironment;
-
chatLog
- Mappings:
Namespace Name Mixin selector official d
Lfow;d:Lfoh;
intermediary field_40821
Lnet/minecraft/class_7574;field_40821:Lnet/minecraft/class_7555;
named chatLog
Lnet/minecraft/client/session/report/AbuseReportContext;chatLog:Lnet/minecraft/client/session/report/log/ChatLog;
-
draft
- Mappings:
Namespace Name Mixin selector official e
Lfow;e:Lfos;
intermediary field_40822
Lnet/minecraft/class_7574;field_40822:Lnet/minecraft/class_7855;
named draft
Lnet/minecraft/client/session/report/AbuseReportContext;draft:Lnet/minecraft/client/session/report/AbuseReport;
-
-
Constructor Details
-
AbuseReportContext
public AbuseReportContext(AbuseReportSender sender, ReporterEnvironment environment, ChatLog chatLog) - Mappings:
Namespace Name Mixin selector official <init>
Lfow;<init>(Lfom;Lfot;Lfoh;)V
intermediary <init>
Lnet/minecraft/class_7574;<init>(Lnet/minecraft/class_7563;Lnet/minecraft/class_7569;Lnet/minecraft/class_7555;)V
named <init>
Lnet/minecraft/client/session/report/AbuseReportContext;<init>(Lnet/minecraft/client/session/report/AbuseReportSender;Lnet/minecraft/client/session/report/ReporterEnvironment;Lnet/minecraft/client/session/report/log/ChatLog;)V
-
-
Method Details
-
create
public static AbuseReportContext create(ReporterEnvironment environment, com.mojang.authlib.minecraft.UserApiService userApiService) - Mappings:
Namespace Name Mixin selector official a
Lfow;a(Lfot;Lcom/mojang/authlib/minecraft/UserApiService;)Lfow;
intermediary method_44599
Lnet/minecraft/class_7574;method_44599(Lnet/minecraft/class_7569;Lcom/mojang/authlib/minecraft/UserApiService;)Lnet/minecraft/class_7574;
named create
Lnet/minecraft/client/session/report/AbuseReportContext;create(Lnet/minecraft/client/session/report/ReporterEnvironment;Lcom/mojang/authlib/minecraft/UserApiService;)Lnet/minecraft/client/session/report/AbuseReportContext;
-
tryShowDraftScreen
public void tryShowDraftScreen(MinecraftClient client, Screen parent, Runnable callback, boolean quit) - Mappings:
Namespace Name Mixin selector official a
Lfow;a(Levi;Lfdb;Ljava/lang/Runnable;Z)V
intermediary method_46552
Lnet/minecraft/class_7574;method_46552(Lnet/minecraft/class_310;Lnet/minecraft/class_437;Ljava/lang/Runnable;Z)V
named tryShowDraftScreen
Lnet/minecraft/client/session/report/AbuseReportContext;tryShowDraftScreen(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/gui/screen/Screen;Ljava/lang/Runnable;Z)V
-
getSender
- Mappings:
Namespace Name Mixin selector official a
Lfow;a()Lfom;
intermediary method_46550
Lnet/minecraft/class_7574;method_46550()Lnet/minecraft/class_7563;
named getSender
Lnet/minecraft/client/session/report/AbuseReportContext;getSender()Lnet/minecraft/client/session/report/AbuseReportSender;
-
getChatLog
- Mappings:
Namespace Name Mixin selector official b
Lfow;b()Lfoh;
intermediary method_46555
Lnet/minecraft/class_7574;method_46555()Lnet/minecraft/class_7555;
named getChatLog
Lnet/minecraft/client/session/report/AbuseReportContext;getChatLog()Lnet/minecraft/client/session/report/log/ChatLog;
-
environmentEquals
- Mappings:
Namespace Name Mixin selector official a
Lfow;a(Lfot;)Z
intermediary method_44598
Lnet/minecraft/class_7574;method_44598(Lnet/minecraft/class_7569;)Z
named environmentEquals
Lnet/minecraft/client/session/report/AbuseReportContext;environmentEquals(Lnet/minecraft/client/session/report/ReporterEnvironment;)Z
-
setDraft
- Mappings:
Namespace Name Mixin selector official a
Lfow;a(Lfos;)V
intermediary method_46553
Lnet/minecraft/class_7574;method_46553(Lnet/minecraft/class_7855;)V
named setDraft
Lnet/minecraft/client/session/report/AbuseReportContext;setDraft(Lnet/minecraft/client/session/report/AbuseReport;)V
-
hasDraft
public boolean hasDraft()- Mappings:
Namespace Name Mixin selector official c
Lfow;c()Z
intermediary method_46556
Lnet/minecraft/class_7574;method_46556()Z
named hasDraft
Lnet/minecraft/client/session/report/AbuseReportContext;hasDraft()Z
-
draftPlayerUuidEquals
- Mappings:
Namespace Name Mixin selector official a
Lfow;a(Ljava/util/UUID;)Z
intermediary method_46554
Lnet/minecraft/class_7574;method_46554(Ljava/util/UUID;)Z
named draftPlayerUuidEquals
Lnet/minecraft/client/session/report/AbuseReportContext;draftPlayerUuidEquals(Ljava/util/UUID;)Z
-