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 fze
  • 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 Lfze;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 Lfze;b:Lfyv;
    • 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 Lfze;c:Lfzb;
    • 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 Lfze;d:Lfyq;
    • 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 Lfze;e:Lfza;
  • 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> Lfze;<init>(Lfyv;Lfzb;Lfyq;)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 Lfze;a(Lfzb;Lcom/mojang/authlib/minecraft/UserApiService;)Lfze;
    • 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 Lfze;a(Lffg;Lfne;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 Lfze;a()Lfyv;
    • 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 Lfze;b()Lfyq;
    • 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 Lfze;a(Lfzb;)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 Lfze;a(Lfza;)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 Lfze;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 Lfze;a(Ljava/util/UUID;)Z