Class AbuseReportContext

java.lang.Object
net.minecraft.client.report.AbuseReportContext

@Environment(CLIENT) public final class AbuseReportContext extends Object
Mappings:
Namespace Name
official ffh
intermediary net/minecraft/class_7574
named net/minecraft/client/report/AbuseReportContext
  • Field Details

    • MAX_LOGS

      private static final int MAX_LOGS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lffh;a:I
      intermediary field_39675 Lnet/minecraft/class_7574;field_39675:I
      named MAX_LOGS Lnet/minecraft/client/report/AbuseReportContext;MAX_LOGS:I
    • sender

      private final AbuseReportSender sender
      Mappings:
      Namespace Name Mixin selector
      official b Lffh;b:Lffb;
      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

      private final ReporterEnvironment environment
      Mappings:
      Namespace Name Mixin selector
      official c Lffh;c:Lfff;
      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

      private final ChatLog chatLog
      Mappings:
      Namespace Name Mixin selector
      official d Lffh;d:Lfew;
      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 Lffh;e:Lffd$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> Lffh;<init>(Lffb;Lfff;Lfew;)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 Lffh;a(Lfff;Lcom/mojang/authlib/minecraft/UserApiService;)Lffh;
      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 Lffh;a(Lenf;Leug;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

      public AbuseReportSender getSender()
      Mappings:
      Namespace Name Mixin selector
      official a Lffh;a()Lffb;
      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

      public ChatLog getChatLog()
      Mappings:
      Namespace Name Mixin selector
      official b Lffh;b()Lfew;
      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

      public boolean environmentEquals(ReporterEnvironment environment)
      Mappings:
      Namespace Name Mixin selector
      official a Lffh;a(Lfff;)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

      public void setDraft(@Nullable ChatAbuseReport.Draft draft)
      Mappings:
      Namespace Name Mixin selector
      official a Lffh;a(Lffd$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 Lffh;c()Z
      intermediary method_46556 Lnet/minecraft/class_7574;method_46556()Z
      named hasDraft Lnet/minecraft/client/report/AbuseReportContext;hasDraft()Z
    • draftPlayerUuidEquals

      public boolean draftPlayerUuidEquals(UUID uuid)
      Mappings:
      Namespace Name Mixin selector
      official a Lffh;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