Class AbuseReportContext

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

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

    • MAX_LOGS

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

      private final AbuseReportSender sender
      Mappings:
      Namespace Name Mixin selector
      named sender Lnet/minecraft/client/session/report/AbuseReportContext;sender:Lnet/minecraft/client/session/report/AbuseReportSender;
      intermediary field_40819 Lnet/minecraft/class_7574;field_40819:Lnet/minecraft/class_7563;
      official b Lggs;b:Lggj;
    • environment

      private final ReporterEnvironment environment
      Mappings:
      Namespace Name Mixin selector
      named environment Lnet/minecraft/client/session/report/AbuseReportContext;environment:Lnet/minecraft/client/session/report/ReporterEnvironment;
      intermediary field_40820 Lnet/minecraft/class_7574;field_40820:Lnet/minecraft/class_7569;
      official c Lggs;c:Lggp;
    • chatLog

      private final ChatLog chatLog
      Mappings:
      Namespace Name Mixin selector
      named chatLog Lnet/minecraft/client/session/report/AbuseReportContext;chatLog:Lnet/minecraft/client/session/report/log/ChatLog;
      intermediary field_40821 Lnet/minecraft/class_7574;field_40821:Lnet/minecraft/class_7555;
      official d Lggs;d:Lgge;
    • draft

      Mappings:
      Namespace Name Mixin selector
      named draft Lnet/minecraft/client/session/report/AbuseReportContext;draft:Lnet/minecraft/client/session/report/AbuseReport;
      intermediary field_40822 Lnet/minecraft/class_7574;field_40822:Lnet/minecraft/class_7855;
      official e Lggs;e:Lggo;
  • Constructor Details

    • AbuseReportContext

      public AbuseReportContext(AbuseReportSender sender, ReporterEnvironment environment, ChatLog chatLog)
      Mappings:
      Namespace Name Mixin selector
      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
      intermediary <init> Lnet/minecraft/class_7574;<init>(Lnet/minecraft/class_7563;Lnet/minecraft/class_7569;Lnet/minecraft/class_7555;)V
      official <init> Lggs;<init>(Lggj;Lggp;Lgge;)V
  • Method Details

    • create

      public static AbuseReportContext create(ReporterEnvironment environment, com.mojang.authlib.minecraft.UserApiService userApiService)
      Mappings:
      Namespace Name Mixin selector
      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;
      intermediary method_44599 Lnet/minecraft/class_7574;method_44599(Lnet/minecraft/class_7569;Lcom/mojang/authlib/minecraft/UserApiService;)Lnet/minecraft/class_7574;
      official a Lggs;a(Lggp;Lcom/mojang/authlib/minecraft/UserApiService;)Lggs;
    • tryShowDraftScreen

      public void tryShowDraftScreen(MinecraftClient client, Screen parent, Runnable callback, boolean quit)
      Mappings:
      Namespace Name Mixin selector
      named tryShowDraftScreen Lnet/minecraft/client/session/report/AbuseReportContext;tryShowDraftScreen(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/gui/screen/Screen;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
      official a Lggs;a(Lfmf;Lftx;Ljava/lang/Runnable;Z)V
    • getSender

      public AbuseReportSender getSender()
      Mappings:
      Namespace Name Mixin selector
      named getSender Lnet/minecraft/client/session/report/AbuseReportContext;getSender()Lnet/minecraft/client/session/report/AbuseReportSender;
      intermediary method_46550 Lnet/minecraft/class_7574;method_46550()Lnet/minecraft/class_7563;
      official a Lggs;a()Lggj;
    • getChatLog

      public ChatLog getChatLog()
      Mappings:
      Namespace Name Mixin selector
      named getChatLog Lnet/minecraft/client/session/report/AbuseReportContext;getChatLog()Lnet/minecraft/client/session/report/log/ChatLog;
      intermediary method_46555 Lnet/minecraft/class_7574;method_46555()Lnet/minecraft/class_7555;
      official b Lggs;b()Lgge;
    • environmentEquals

      public boolean environmentEquals(ReporterEnvironment environment)
      Mappings:
      Namespace Name Mixin selector
      named environmentEquals Lnet/minecraft/client/session/report/AbuseReportContext;environmentEquals(Lnet/minecraft/client/session/report/ReporterEnvironment;)Z
      intermediary method_44598 Lnet/minecraft/class_7574;method_44598(Lnet/minecraft/class_7569;)Z
      official a Lggs;a(Lggp;)Z
    • setDraft

      public void setDraft(@Nullable @Nullable AbuseReport draft)
      Mappings:
      Namespace Name Mixin selector
      named setDraft Lnet/minecraft/client/session/report/AbuseReportContext;setDraft(Lnet/minecraft/client/session/report/AbuseReport;)V
      intermediary method_46553 Lnet/minecraft/class_7574;method_46553(Lnet/minecraft/class_7855;)V
      official a Lggs;a(Lggo;)V
    • hasDraft

      public boolean hasDraft()
      Mappings:
      Namespace Name Mixin selector
      named hasDraft Lnet/minecraft/client/session/report/AbuseReportContext;hasDraft()Z
      intermediary method_46556 Lnet/minecraft/class_7574;method_46556()Z
      official c Lggs;c()Z
    • draftPlayerUuidEquals

      public boolean draftPlayerUuidEquals(UUID uuid)
      Mappings:
      Namespace Name Mixin selector
      named draftPlayerUuidEquals Lnet/minecraft/client/session/report/AbuseReportContext;draftPlayerUuidEquals(Ljava/util/UUID;)Z
      intermediary method_46554 Lnet/minecraft/class_7574;method_46554(Ljava/util/UUID;)Z
      official a Lggs;a(Ljava/util/UUID;)Z