Package net.minecraft.client.report
Class AbuseReportContext
java.lang.Object
net.minecraft.client.report.AbuseReportContext
- Mappings:
Namespace Name official ffhintermediary net/minecraft/class_7574named net/minecraft/client/report/AbuseReportContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ChatLogprivate ChatAbuseReport.Draftprivate final ReporterEnvironmentprivate static final intprivate final AbuseReportSender -
Constructor Summary
ConstructorsConstructorDescriptionAbuseReportContext(AbuseReportSender sender, ReporterEnvironment environment, ChatLog chatLog) -
Method Summary
Modifier and TypeMethodDescriptionstatic AbuseReportContextcreate(ReporterEnvironment environment, com.mojang.authlib.minecraft.UserApiService userApiService) booleandraftPlayerUuidEquals(UUID uuid) booleanenvironmentEquals(ReporterEnvironment environment) booleanhasDraft()voidsetDraft(ChatAbuseReport.Draft draft) voidtryShowDraftScreen(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 aLffh;a:Iintermediary field_39675Lnet/minecraft/class_7574;field_39675:Inamed MAX_LOGSLnet/minecraft/client/report/AbuseReportContext;MAX_LOGS:I
-
sender
- Mappings:
Namespace Name Mixin selector official bLffh;b:Lffb;intermediary field_40819Lnet/minecraft/class_7574;field_40819:Lnet/minecraft/class_7563;named senderLnet/minecraft/client/report/AbuseReportContext;sender:Lnet/minecraft/client/report/AbuseReportSender;
-
environment
- Mappings:
Namespace Name Mixin selector official cLffh;c:Lfff;intermediary field_40820Lnet/minecraft/class_7574;field_40820:Lnet/minecraft/class_7569;named environmentLnet/minecraft/client/report/AbuseReportContext;environment:Lnet/minecraft/client/report/ReporterEnvironment;
-
chatLog
- Mappings:
Namespace Name Mixin selector official dLffh;d:Lfew;intermediary field_40821Lnet/minecraft/class_7574;field_40821:Lnet/minecraft/class_7555;named chatLogLnet/minecraft/client/report/AbuseReportContext;chatLog:Lnet/minecraft/client/report/log/ChatLog;
-
draft
- Mappings:
Namespace Name Mixin selector official eLffh;e:Lffd$b;intermediary field_40822Lnet/minecraft/class_7574;field_40822:Lnet/minecraft/class_7566$class_7855;named draftLnet/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>Lffh;<init>(Lffb;Lfff;Lfew;)Vintermediary <init>Lnet/minecraft/class_7574;<init>(Lnet/minecraft/class_7563;Lnet/minecraft/class_7569;Lnet/minecraft/class_7555;)Vnamed <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 aLffh;a(Lfff;Lcom/mojang/authlib/minecraft/UserApiService;)Lffh;intermediary method_44599Lnet/minecraft/class_7574;method_44599(Lnet/minecraft/class_7569;Lcom/mojang/authlib/minecraft/UserApiService;)Lnet/minecraft/class_7574;named createLnet/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 aLffh;a(Lenf;Leug;Ljava/lang/Runnable;Z)Vintermediary method_46552Lnet/minecraft/class_7574;method_46552(Lnet/minecraft/class_310;Lnet/minecraft/class_437;Ljava/lang/Runnable;Z)Vnamed tryShowDraftScreenLnet/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 aLffh;a()Lffb;intermediary method_46550Lnet/minecraft/class_7574;method_46550()Lnet/minecraft/class_7563;named getSenderLnet/minecraft/client/report/AbuseReportContext;getSender()Lnet/minecraft/client/report/AbuseReportSender;
-
getChatLog
- Mappings:
Namespace Name Mixin selector official bLffh;b()Lfew;intermediary method_46555Lnet/minecraft/class_7574;method_46555()Lnet/minecraft/class_7555;named getChatLogLnet/minecraft/client/report/AbuseReportContext;getChatLog()Lnet/minecraft/client/report/log/ChatLog;
-
environmentEquals
- Mappings:
Namespace Name Mixin selector official aLffh;a(Lfff;)Zintermediary method_44598Lnet/minecraft/class_7574;method_44598(Lnet/minecraft/class_7569;)Znamed environmentEqualsLnet/minecraft/client/report/AbuseReportContext;environmentEquals(Lnet/minecraft/client/report/ReporterEnvironment;)Z
-
setDraft
- Mappings:
Namespace Name Mixin selector official aLffh;a(Lffd$b;)Vintermediary method_46553Lnet/minecraft/class_7574;method_46553(Lnet/minecraft/class_7566$class_7855;)Vnamed setDraftLnet/minecraft/client/report/AbuseReportContext;setDraft(Lnet/minecraft/client/report/ChatAbuseReport$Draft;)V
-
hasDraft
public boolean hasDraft()- Mappings:
Namespace Name Mixin selector official cLffh;c()Zintermediary method_46556Lnet/minecraft/class_7574;method_46556()Znamed hasDraftLnet/minecraft/client/report/AbuseReportContext;hasDraft()Z
-
draftPlayerUuidEquals
- Mappings:
Namespace Name Mixin selector official aLffh;a(Ljava/util/UUID;)Zintermediary method_46554Lnet/minecraft/class_7574;method_46554(Ljava/util/UUID;)Znamed draftPlayerUuidEqualsLnet/minecraft/client/report/AbuseReportContext;draftPlayerUuidEquals(Ljava/util/UUID;)Z
-