Package net.minecraft.client.report
Class AbuseReportContext
java.lang.Object
net.minecraft.client.report.AbuseReportContext
- Mappings:
Namespace Name official ezu
intermediary net/minecraft/class_7574
named net/minecraft/client/report/AbuseReportContext
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ChatLog
private ChatAbuseReport.Draft
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
(ChatAbuseReport.Draft draft) void
tryShowDraftScreen
(MinecraftClient client, @Nullable 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
Lezu;a:I
intermediary field_39675
Lnet/minecraft/class_7574;field_39675:I
named MAX_LOGS
Lnet/minecraft/client/report/AbuseReportContext;MAX_LOGS:I
-
sender
- Mappings:
Namespace Name Mixin selector official b
Lezu;b:Lezp;
intermediary field_40819
Lnet/minecraft/class_7574;field_40819:Lnet/minecraft/class_7563;
named sender
Lnet/minecraft/client/report/AbuseReportContext;sender:Lnet/minecraft/client/report/AbuseReportSender;
-
environment
- Mappings:
Namespace Name Mixin selector official c
Lezu;c:Lezs;
intermediary field_40820
Lnet/minecraft/class_7574;field_40820:Lnet/minecraft/class_7569;
named environment
Lnet/minecraft/client/report/AbuseReportContext;environment:Lnet/minecraft/client/report/ReporterEnvironment;
-
chatLog
- Mappings:
Namespace Name Mixin selector official d
Lezu;d:Lezk;
intermediary field_40821
Lnet/minecraft/class_7574;field_40821:Lnet/minecraft/class_7555;
named chatLog
Lnet/minecraft/client/report/AbuseReportContext;chatLog:Lnet/minecraft/client/report/log/ChatLog;
-
draft
- Mappings:
Namespace Name Mixin selector official e
Lezu;e:Lezq$b;
intermediary field_40822
Lnet/minecraft/class_7574;field_40822:Lnet/minecraft/class_7566$class_7855;
named draft
Lnet/minecraft/client/report/AbuseReportContext;draft:Lnet/minecraft/client/report/ChatAbuseReport$Draft;
-
-
Constructor Details
-
AbuseReportContext
public AbuseReportContext(AbuseReportSender sender, ReporterEnvironment environment, ChatLog chatLog) - Mappings:
Namespace Name Mixin selector official <init>
Lezu;<init>(Lezp;Lezs;Lezk;)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/report/AbuseReportContext;<init>(Lnet/minecraft/client/report/AbuseReportSender;Lnet/minecraft/client/report/ReporterEnvironment;Lnet/minecraft/client/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
Lezu;a(Lezs;Lcom/mojang/authlib/minecraft/UserApiService;)Lezu;
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/report/AbuseReportContext;create(Lnet/minecraft/client/report/ReporterEnvironment;Lcom/mojang/authlib/minecraft/UserApiService;)Lnet/minecraft/client/report/AbuseReportContext;
-
tryShowDraftScreen
public void tryShowDraftScreen(MinecraftClient client, @Nullable @Nullable Screen parent, Runnable callback, boolean quit) - Mappings:
Namespace Name Mixin selector official a
Lezu;a(Lejf;Lepb;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/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
Lezu;a()Lezp;
intermediary method_46550
Lnet/minecraft/class_7574;method_46550()Lnet/minecraft/class_7563;
named getSender
Lnet/minecraft/client/report/AbuseReportContext;getSender()Lnet/minecraft/client/report/AbuseReportSender;
-
getChatLog
- Mappings:
Namespace Name Mixin selector official b
Lezu;b()Lezk;
intermediary method_46555
Lnet/minecraft/class_7574;method_46555()Lnet/minecraft/class_7555;
named getChatLog
Lnet/minecraft/client/report/AbuseReportContext;getChatLog()Lnet/minecraft/client/report/log/ChatLog;
-
environmentEquals
- Mappings:
Namespace Name Mixin selector official a
Lezu;a(Lezs;)Z
intermediary method_44598
Lnet/minecraft/class_7574;method_44598(Lnet/minecraft/class_7569;)Z
named environmentEquals
Lnet/minecraft/client/report/AbuseReportContext;environmentEquals(Lnet/minecraft/client/report/ReporterEnvironment;)Z
-
setDraft
- Mappings:
Namespace Name Mixin selector official a
Lezu;a(Lezq$b;)V
intermediary method_46553
Lnet/minecraft/class_7574;method_46553(Lnet/minecraft/class_7566$class_7855;)V
named setDraft
Lnet/minecraft/client/report/AbuseReportContext;setDraft(Lnet/minecraft/client/report/ChatAbuseReport$Draft;)V
-
hasDraft
public boolean hasDraft()- Mappings:
Namespace Name Mixin selector official c
Lezu;c()Z
intermediary method_46556
Lnet/minecraft/class_7574;method_46556()Z
named hasDraft
Lnet/minecraft/client/report/AbuseReportContext;hasDraft()Z
-
draftPlayerUuidEquals
- Mappings:
Namespace Name Mixin selector official a
Lezu;a(Ljava/util/UUID;)Z
intermediary method_46554
Lnet/minecraft/class_7574;method_46554(Ljava/util/UUID;)Z
named draftPlayerUuidEquals
Lnet/minecraft/client/report/AbuseReportContext;draftPlayerUuidEquals(Ljava/util/UUID;)Z
-