Class ChatAbuseReport.Builder

java.lang.Object
net.minecraft.client.session.report.AbuseReport.Builder<ChatAbuseReport>
net.minecraft.client.session.report.ChatAbuseReport.Builder
Enclosing class:
ChatAbuseReport

@Environment(CLIENT) public static class ChatAbuseReport.Builder extends AbuseReport.Builder<ChatAbuseReport>
Mappings:
Namespace Name
named net/minecraft/client/session/report/ChatAbuseReport$Builder
intermediary net/minecraft/class_7566$class_8772
official fyx$a
  • Constructor Details

    • Builder

      public Builder(ChatAbuseReport report, com.mojang.authlib.minecraft.report.AbuseReportLimits limits)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/session/report/ChatAbuseReport$Builder;<init>(Lnet/minecraft/client/session/report/ChatAbuseReport;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
      intermediary <init> Lnet/minecraft/class_7566$class_8772;<init>(Lnet/minecraft/class_7566;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
      official <init> Lfyx$a;<init>(Lfyx;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
    • Builder

      public Builder(UUID reportedPlayerUuid, com.mojang.authlib.minecraft.report.AbuseReportLimits limits)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/session/report/ChatAbuseReport$Builder;<init>(Ljava/util/UUID;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
      intermediary <init> Lnet/minecraft/class_7566$class_8772;<init>(Ljava/util/UUID;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
      official <init> Lfyx$a;<init>(Ljava/util/UUID;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
  • Method Details

    • getSelectedMessages

      public IntSet getSelectedMessages()
      Mappings:
      Namespace Name Mixin selector
      named getSelectedMessages Lnet/minecraft/client/session/report/ChatAbuseReport$Builder;getSelectedMessages()Lit/unimi/dsi/fastutil/ints/IntSet;
      intermediary method_53597 Lnet/minecraft/class_7566$class_8772;method_53597()Lit/unimi/dsi/fastutil/ints/IntSet;
      official a Lfyx$a;a()Lit/unimi/dsi/fastutil/ints/IntSet;
    • toggleMessageSelection

      public void toggleMessageSelection(int index)
      Mappings:
      Namespace Name Mixin selector
      named toggleMessageSelection Lnet/minecraft/client/session/report/ChatAbuseReport$Builder;toggleMessageSelection(I)V
      intermediary method_53598 Lnet/minecraft/class_7566$class_8772;method_53598(I)V
      official a Lfyx$a;a(I)V
    • isMessageSelected

      public boolean isMessageSelected(int index)
      Mappings:
      Namespace Name Mixin selector
      named isMessageSelected Lnet/minecraft/client/session/report/ChatAbuseReport$Builder;isMessageSelected(I)Z
      intermediary method_53603 Lnet/minecraft/class_7566$class_8772;method_53603(I)Z
      official b Lfyx$a;b(I)Z
    • hasEnoughInfo

      public boolean hasEnoughInfo()
      Specified by:
      hasEnoughInfo in class AbuseReport.Builder<ChatAbuseReport>
      Mappings:
      Namespace Name Mixin selector
      named hasEnoughInfo Lnet/minecraft/client/session/report/AbuseReport$Builder;hasEnoughInfo()Z
      intermediary method_53602 Lnet/minecraft/class_7855$class_8775;method_53602()Z
      official b Lfza$a;b()Z
    • validate

      Specified by:
      validate in class AbuseReport.Builder<ChatAbuseReport>
      Mappings:
      Namespace Name Mixin selector
      named validate Lnet/minecraft/client/session/report/AbuseReport$Builder;validate()Lnet/minecraft/client/session/report/AbuseReport$ValidationError;
      intermediary method_53605 Lnet/minecraft/class_7855$class_8775;method_53605()Lnet/minecraft/class_7855$class_7567;
      official c Lfza$a;c()Lfza$b;
    • build

      public com.mojang.datafixers.util.Either<AbuseReport.ReportWithId,AbuseReport.ValidationError> build(AbuseReportContext context)
      Specified by:
      build in class AbuseReport.Builder<ChatAbuseReport>
      Mappings:
      Namespace Name Mixin selector
      named build Lnet/minecraft/client/session/report/AbuseReport$Builder;build(Lnet/minecraft/client/session/report/AbuseReportContext;)Lcom/mojang/datafixers/util/Either;
      intermediary method_53600 Lnet/minecraft/class_7855$class_8775;method_53600(Lnet/minecraft/class_7574;)Lcom/mojang/datafixers/util/Either;
      official a Lfza$a;a(Lfze;)Lcom/mojang/datafixers/util/Either;
    • collectEvidences

      private com.mojang.authlib.minecraft.report.ReportEvidence collectEvidences(AbuseReportContext context)
      Mappings:
      Namespace Name Mixin selector
      named collectEvidences Lnet/minecraft/client/session/report/ChatAbuseReport$Builder;collectEvidences(Lnet/minecraft/client/session/report/AbuseReportContext;)Lcom/mojang/authlib/minecraft/report/ReportEvidence;
      intermediary method_53604 Lnet/minecraft/class_7566$class_8772;method_53604(Lnet/minecraft/class_7574;)Lcom/mojang/authlib/minecraft/report/ReportEvidence;
      official b Lfyx$a;b(Lfze;)Lcom/mojang/authlib/minecraft/report/ReportEvidence;
    • toReportChatMessage

      private com.mojang.authlib.minecraft.report.ReportChatMessage toReportChatMessage(ReceivedMessage.ChatMessage message, boolean selected)
      Mappings:
      Namespace Name Mixin selector
      named toReportChatMessage Lnet/minecraft/client/session/report/ChatAbuseReport$Builder;toReportChatMessage(Lnet/minecraft/client/session/report/log/ReceivedMessage$ChatMessage;Z)Lcom/mojang/authlib/minecraft/report/ReportChatMessage;
      intermediary method_53599 Lnet/minecraft/class_7566$class_8772;method_53599(Lnet/minecraft/class_7557$class_7558;Z)Lcom/mojang/authlib/minecraft/report/ReportChatMessage;
      official a Lfyx$a;a(Lfyt$a;Z)Lcom/mojang/authlib/minecraft/report/ReportChatMessage;
    • copy

      public ChatAbuseReport.Builder copy()
      Mappings:
      Namespace Name Mixin selector
      named copy Lnet/minecraft/client/session/report/ChatAbuseReport$Builder;copy()Lnet/minecraft/client/session/report/ChatAbuseReport$Builder;
      intermediary method_53606 Lnet/minecraft/class_7566$class_8772;method_53606()Lnet/minecraft/class_7566$class_8772;
      official d Lfyx$a;d()Lfyx$a;