Class ChatAbuseReport

java.lang.Object
net.minecraft.client.network.abusereport.ChatAbuseReport

@Environment(CLIENT) public class ChatAbuseReport extends Object
Mappings:
Namespace Name
official eup
intermediary net/minecraft/class_7566
named net/minecraft/client/network/abusereport/ChatAbuseReport
  • Field Details

    • CHAT

      private static final String CHAT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Leup;a:Ljava/lang/String;
      intermediary field_39645 Lnet/minecraft/class_7566;field_39645:Ljava/lang/String;
      named CHAT Lnet/minecraft/client/network/abusereport/ChatAbuseReport;CHAT:Ljava/lang/String;
    • id

      private final UUID id
      Mappings:
      Namespace Name Mixin selector
      official b Leup;b:Ljava/util/UUID;
      intermediary field_39648 Lnet/minecraft/class_7566;field_39648:Ljava/util/UUID;
      named id Lnet/minecraft/client/network/abusereport/ChatAbuseReport;id:Ljava/util/UUID;
    • timestamp

      private final Instant timestamp
      Mappings:
      Namespace Name Mixin selector
      official c Leup;c:Ljava/time/Instant;
      intermediary field_39649 Lnet/minecraft/class_7566;field_39649:Ljava/time/Instant;
      named timestamp Lnet/minecraft/client/network/abusereport/ChatAbuseReport;timestamp:Ljava/time/Instant;
    • reportedPlayerUuid

      private final UUID reportedPlayerUuid
      Mappings:
      Namespace Name Mixin selector
      official d Leup;d:Ljava/util/UUID;
      intermediary field_39650 Lnet/minecraft/class_7566;field_39650:Ljava/util/UUID;
      named reportedPlayerUuid Lnet/minecraft/client/network/abusereport/ChatAbuseReport;reportedPlayerUuid:Ljava/util/UUID;
    • limits

      private final com.mojang.authlib.minecraft.report.AbuseReportLimits limits
      Mappings:
      Namespace Name Mixin selector
      official e Leup;e:Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;
      intermediary field_39651 Lnet/minecraft/class_7566;field_39651:Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;
      named limits Lnet/minecraft/client/network/abusereport/ChatAbuseReport;limits:Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;
    • selections

      private final IntSet selections
      Mappings:
      Namespace Name Mixin selector
      official f Leup;f:Lit/unimi/dsi/fastutil/ints/IntSet;
      intermediary field_39652 Lnet/minecraft/class_7566;field_39652:Lit/unimi/dsi/fastutil/ints/IntSet;
      named selections Lnet/minecraft/client/network/abusereport/ChatAbuseReport;selections:Lit/unimi/dsi/fastutil/ints/IntSet;
    • opinionComments

      private String opinionComments
      Mappings:
      Namespace Name Mixin selector
      official g Leup;g:Ljava/lang/String;
      intermediary field_39653 Lnet/minecraft/class_7566;field_39653:Ljava/lang/String;
      named opinionComments Lnet/minecraft/client/network/abusereport/ChatAbuseReport;opinionComments:Ljava/lang/String;
    • reason

      Mappings:
      Namespace Name Mixin selector
      official h Leup;h:Leur;
      intermediary field_39654 Lnet/minecraft/class_7566;field_39654:Lnet/minecraft/class_7573;
      named reason Lnet/minecraft/client/network/abusereport/ChatAbuseReport;reason:Lnet/minecraft/client/report/AbuseReportReason;
  • Constructor Details

    • ChatAbuseReport

      private ChatAbuseReport(UUID id, Instant timestamp, UUID reportedPlayerUuid, com.mojang.authlib.minecraft.report.AbuseReportLimits limits)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leup;<init>(Ljava/util/UUID;Ljava/time/Instant;Ljava/util/UUID;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
      intermediary <init> Lnet/minecraft/class_7566;<init>(Ljava/util/UUID;Ljava/time/Instant;Ljava/util/UUID;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
      named <init> Lnet/minecraft/client/network/abusereport/ChatAbuseReport;<init>(Ljava/util/UUID;Ljava/time/Instant;Ljava/util/UUID;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
    • ChatAbuseReport

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

    • setOpinionComments

      public void setOpinionComments(String opinionComments)
      Mappings:
      Namespace Name Mixin selector
      official a Leup;a(Ljava/lang/String;)V
      intermediary method_44576 Lnet/minecraft/class_7566;method_44576(Ljava/lang/String;)V
      named setOpinionComments Lnet/minecraft/client/network/abusereport/ChatAbuseReport;setOpinionComments(Ljava/lang/String;)V
    • setReason

      public void setReason(AbuseReportReason reason)
      Mappings:
      Namespace Name Mixin selector
      official a Leup;a(Leur;)V
      intermediary method_44574 Lnet/minecraft/class_7566;method_44574(Lnet/minecraft/class_7573;)V
      named setReason Lnet/minecraft/client/network/abusereport/ChatAbuseReport;setReason(Lnet/minecraft/client/report/AbuseReportReason;)V
    • toggleMessageSelection

      public void toggleMessageSelection(int index)
      Mappings:
      Namespace Name Mixin selector
      official a Leup;a(I)V
      intermediary method_44569 Lnet/minecraft/class_7566;method_44569(I)V
      named toggleMessageSelection Lnet/minecraft/client/network/abusereport/ChatAbuseReport;toggleMessageSelection(I)V
    • getReportedPlayerUuid

      public UUID getReportedPlayerUuid()
      Mappings:
      Namespace Name Mixin selector
      official a Leup;a()Ljava/util/UUID;
      intermediary method_44568 Lnet/minecraft/class_7566;method_44568()Ljava/util/UUID;
      named getReportedPlayerUuid Lnet/minecraft/client/network/abusereport/ChatAbuseReport;getReportedPlayerUuid()Ljava/util/UUID;
    • getSelections

      public IntSet getSelections()
      Mappings:
      Namespace Name Mixin selector
      official b Leup;b()Lit/unimi/dsi/fastutil/ints/IntSet;
      intermediary method_44579 Lnet/minecraft/class_7566;method_44579()Lit/unimi/dsi/fastutil/ints/IntSet;
      named getSelections Lnet/minecraft/client/network/abusereport/ChatAbuseReport;getSelections()Lit/unimi/dsi/fastutil/ints/IntSet;
    • getOpinionComments

      public String getOpinionComments()
      Mappings:
      Namespace Name Mixin selector
      official c Leup;c()Ljava/lang/String;
      intermediary method_44582 Lnet/minecraft/class_7566;method_44582()Ljava/lang/String;
      named getOpinionComments Lnet/minecraft/client/network/abusereport/ChatAbuseReport;getOpinionComments()Ljava/lang/String;
    • getReason

      Mappings:
      Namespace Name Mixin selector
      official d Leup;d()Leur;
      intermediary method_44583 Lnet/minecraft/class_7566;method_44583()Lnet/minecraft/class_7573;
      named getReason Lnet/minecraft/client/network/abusereport/ChatAbuseReport;getReason()Lnet/minecraft/client/report/AbuseReportReason;
    • hasSelectedMessage

      public boolean hasSelectedMessage(int index)
      Mappings:
      Namespace Name Mixin selector
      official b Leup;b(I)Z
      intermediary method_44580 Lnet/minecraft/class_7566;method_44580(I)Z
      named hasSelectedMessage Lnet/minecraft/client/network/abusereport/ChatAbuseReport;hasSelectedMessage(I)Z
    • validate

      Mappings:
      Namespace Name Mixin selector
      official e Leup;e()Leup$a;
      intermediary method_44584 Lnet/minecraft/class_7566;method_44584()Lnet/minecraft/class_7566$class_7567;
      named validate Lnet/minecraft/client/network/abusereport/ChatAbuseReport;validate()Lnet/minecraft/client/network/abusereport/ChatAbuseReport$ValidationError;
    • finalizeReport

      public com.mojang.datafixers.util.Either<ChatAbuseReport.ReportWithId,ChatAbuseReport.ValidationError> finalizeReport(AbuseReportContext reporter)
      Mappings:
      Namespace Name Mixin selector
      official a Leup;a(Leus;)Lcom/mojang/datafixers/util/Either;
      intermediary method_44575 Lnet/minecraft/class_7566;method_44575(Lnet/minecraft/class_7574;)Lcom/mojang/datafixers/util/Either;
      named finalizeReport Lnet/minecraft/client/network/abusereport/ChatAbuseReport;finalizeReport(Lnet/minecraft/client/report/AbuseReportContext;)Lcom/mojang/datafixers/util/Either;
    • collectEvidence

      private com.mojang.authlib.minecraft.report.ReportEvidence collectEvidence(ChatLog log)
      Mappings:
      Namespace Name Mixin selector
      official a Leup;a(Leuk;)Lcom/mojang/authlib/minecraft/report/ReportEvidence;
      intermediary method_44571 Lnet/minecraft/class_7566;method_44571(Lnet/minecraft/class_7555;)Lcom/mojang/authlib/minecraft/report/ReportEvidence;
      named collectEvidence Lnet/minecraft/client/network/abusereport/ChatAbuseReport;collectEvidence(Lnet/minecraft/client/report/ChatLog;)Lcom/mojang/authlib/minecraft/report/ReportEvidence;
    • toReportChatMessage

      private com.mojang.authlib.minecraft.report.ReportChatMessage toReportChatMessage(int index, ReceivedMessage.ChatMessage message)
      Mappings:
      Namespace Name Mixin selector
      official a Leup;a(ILeul$a;)Lcom/mojang/authlib/minecraft/report/ReportChatMessage;
      intermediary method_44570 Lnet/minecraft/class_7566;method_44570(ILnet/minecraft/class_7557$class_7558;)Lcom/mojang/authlib/minecraft/report/ReportChatMessage;
      named toReportChatMessage Lnet/minecraft/client/network/abusereport/ChatAbuseReport;toReportChatMessage(ILnet/minecraft/client/report/ReceivedMessage$ChatMessage;)Lcom/mojang/authlib/minecraft/report/ReportChatMessage;
    • serializeContent

      private static String serializeContent(Text content)
      Mappings:
      Namespace Name Mixin selector
      official a Leup;a(Lrm;)Ljava/lang/String;
      intermediary method_44577 Lnet/minecraft/class_7566;method_44577(Lnet/minecraft/class_2561;)Ljava/lang/String;
      named serializeContent Lnet/minecraft/client/network/abusereport/ChatAbuseReport;serializeContent(Lnet/minecraft/text/Text;)Ljava/lang/String;
    • base64Encode

      private static String base64Encode(byte[] bs)
      Mappings:
      Namespace Name Mixin selector
      official a Leup;a([B)Ljava/lang/String;
      intermediary method_44578 Lnet/minecraft/class_7566;method_44578([B)Ljava/lang/String;
      named base64Encode Lnet/minecraft/client/network/abusereport/ChatAbuseReport;base64Encode([B)Ljava/lang/String;
    • streamNeighboringIndices

      private IntStream streamNeighboringIndices(ChatLog log, int index)
      Mappings:
      Namespace Name Mixin selector
      official a Leup;a(Leuk;I)Ljava/util/stream/IntStream;
      intermediary method_44572 Lnet/minecraft/class_7566;method_44572(Lnet/minecraft/class_7555;I)Ljava/util/stream/IntStream;
      named streamNeighboringIndices Lnet/minecraft/client/network/abusereport/ChatAbuseReport;streamNeighboringIndices(Lnet/minecraft/client/report/ChatLog;I)Ljava/util/stream/IntStream;
    • copy

      public ChatAbuseReport copy()
      Mappings:
      Namespace Name Mixin selector
      official f Leup;f()Leup;
      intermediary method_44585 Lnet/minecraft/class_7566;method_44585()Lnet/minecraft/class_7566;
      named copy Lnet/minecraft/client/network/abusereport/ChatAbuseReport;copy()Lnet/minecraft/client/network/abusereport/ChatAbuseReport;