Package net.minecraft.client.report
Class ChatAbuseReport
java.lang.Object
net.minecraft.client.report.ChatAbuseReport
- Mappings:
Namespace Name official evo
intermediary net/minecraft/class_7566
named net/minecraft/client/report/ChatAbuseReport
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static interface
static final record
static final record
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionChatAbuseReport
(UUID reportedPlayerUuid, com.mojang.authlib.minecraft.report.AbuseReportLimits limits) private
ChatAbuseReport
(UUID id, Instant timestamp, UUID reportedPlayerUuid, com.mojang.authlib.minecraft.report.AbuseReportLimits limits) -
Method Summary
Modifier and TypeMethodDescriptionprivate com.mojang.authlib.minecraft.report.ReportEvidence
collectEvidence
(ChatLog log) private static Int2ObjectMap<ReceivedMessage.ChatMessage>
collectEvidences
(ChatLog log, int selectedIndex, com.mojang.authlib.minecraft.report.AbuseReportLimits abuseReportLimits) private static IntCollection
collectIndicesUntilLastSeen
(ChatLog log, int selectedIndex, SignedMessage message) private static void
collectPrecedingMessages
(ChatLog log, int selectedIndex, ChatAbuseReport.IndexedMessageConsumer consumer) copy()
com.mojang.datafixers.util.Either<ChatAbuseReport.ReportWithId,
ChatAbuseReport.ValidationError> finalizeReport
(AbuseReportContext reporter) boolean
hasSelectedMessage
(int index) private static String
serializeContent
(Text content) void
setOpinionComments
(String opinionComments) void
setReason
(AbuseReportReason reason) private Stream<ChatLog.IndexedEntry<HeaderEntry>>
streamHeadersFrom
(ChatLog log, Int2ObjectMap<ReceivedMessage.ChatMessage> evidences, UUID senderUuid) private static Stream<ChatLog.IndexedEntry<ReceivedMessage.ChatMessage>>
streamSucceedingMessages
(ChatLog log, int selectedIndex, int maxCount) void
toggleMessageSelection
(int index) private com.mojang.authlib.minecraft.report.ReportChatMessage
toReportChatMessage
(int index, ReceivedMessage.ChatMessage message) private com.mojang.authlib.minecraft.report.ReportChatMessage
toReportChatMessage
(HeaderEntry headerEntry) validate()
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector official a
Levo;a:Ljava/util/UUID;
intermediary field_39648
Lnet/minecraft/class_7566;field_39648:Ljava/util/UUID;
named id
Lnet/minecraft/client/report/ChatAbuseReport;id:Ljava/util/UUID;
-
timestamp
- Mappings:
Namespace Name Mixin selector official b
Levo;b:Ljava/time/Instant;
intermediary field_39649
Lnet/minecraft/class_7566;field_39649:Ljava/time/Instant;
named timestamp
Lnet/minecraft/client/report/ChatAbuseReport;timestamp:Ljava/time/Instant;
-
reportedPlayerUuid
- Mappings:
Namespace Name Mixin selector official c
Levo;c:Ljava/util/UUID;
intermediary field_39650
Lnet/minecraft/class_7566;field_39650:Ljava/util/UUID;
named reportedPlayerUuid
Lnet/minecraft/client/report/ChatAbuseReport;reportedPlayerUuid:Ljava/util/UUID;
-
limits
private final com.mojang.authlib.minecraft.report.AbuseReportLimits limits- Mappings:
Namespace Name Mixin selector official d
Levo;d: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/report/ChatAbuseReport;limits:Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;
-
selections
- Mappings:
Namespace Name Mixin selector official e
Levo;e: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/report/ChatAbuseReport;selections:Lit/unimi/dsi/fastutil/ints/IntSet;
-
opinionComments
- Mappings:
Namespace Name Mixin selector official f
Levo;f:Ljava/lang/String;
intermediary field_39653
Lnet/minecraft/class_7566;field_39653:Ljava/lang/String;
named opinionComments
Lnet/minecraft/client/report/ChatAbuseReport;opinionComments:Ljava/lang/String;
-
reason
- Mappings:
Namespace Name Mixin selector official g
Levo;g:Levq;
intermediary field_39654
Lnet/minecraft/class_7566;field_39654:Lnet/minecraft/class_7573;
named reason
Lnet/minecraft/client/report/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>
Levo;<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/report/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>
Levo;<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/report/ChatAbuseReport;<init>(Ljava/util/UUID;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
-
-
Method Details
-
setOpinionComments
- Mappings:
Namespace Name Mixin selector official a
Levo;a(Ljava/lang/String;)V
intermediary method_44576
Lnet/minecraft/class_7566;method_44576(Ljava/lang/String;)V
named setOpinionComments
Lnet/minecraft/client/report/ChatAbuseReport;setOpinionComments(Ljava/lang/String;)V
-
setReason
- Mappings:
Namespace Name Mixin selector official a
Levo;a(Levq;)V
intermediary method_44574
Lnet/minecraft/class_7566;method_44574(Lnet/minecraft/class_7573;)V
named setReason
Lnet/minecraft/client/report/ChatAbuseReport;setReason(Lnet/minecraft/client/report/AbuseReportReason;)V
-
toggleMessageSelection
public void toggleMessageSelection(int index) - Mappings:
Namespace Name Mixin selector official a
Levo;a(I)V
intermediary method_44569
Lnet/minecraft/class_7566;method_44569(I)V
named toggleMessageSelection
Lnet/minecraft/client/report/ChatAbuseReport;toggleMessageSelection(I)V
-
getReportedPlayerUuid
- Mappings:
Namespace Name Mixin selector official a
Levo;a()Ljava/util/UUID;
intermediary method_44568
Lnet/minecraft/class_7566;method_44568()Ljava/util/UUID;
named getReportedPlayerUuid
Lnet/minecraft/client/report/ChatAbuseReport;getReportedPlayerUuid()Ljava/util/UUID;
-
getSelections
- Mappings:
Namespace Name Mixin selector official b
Levo;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/report/ChatAbuseReport;getSelections()Lit/unimi/dsi/fastutil/ints/IntSet;
-
getOpinionComments
- Mappings:
Namespace Name Mixin selector official c
Levo;c()Ljava/lang/String;
intermediary method_44582
Lnet/minecraft/class_7566;method_44582()Ljava/lang/String;
named getOpinionComments
Lnet/minecraft/client/report/ChatAbuseReport;getOpinionComments()Ljava/lang/String;
-
getReason
- Mappings:
Namespace Name Mixin selector official d
Levo;d()Levq;
intermediary method_44583
Lnet/minecraft/class_7566;method_44583()Lnet/minecraft/class_7573;
named getReason
Lnet/minecraft/client/report/ChatAbuseReport;getReason()Lnet/minecraft/client/report/AbuseReportReason;
-
hasSelectedMessage
public boolean hasSelectedMessage(int index) - Mappings:
Namespace Name Mixin selector official b
Levo;b(I)Z
intermediary method_44580
Lnet/minecraft/class_7566;method_44580(I)Z
named hasSelectedMessage
Lnet/minecraft/client/report/ChatAbuseReport;hasSelectedMessage(I)Z
-
validate
- Mappings:
Namespace Name Mixin selector official e
Levo;e()Levo$a;
intermediary method_44584
Lnet/minecraft/class_7566;method_44584()Lnet/minecraft/class_7566$class_7567;
named validate
Lnet/minecraft/client/report/ChatAbuseReport;validate()Lnet/minecraft/client/report/ChatAbuseReport$ValidationError;
-
finalizeReport
public com.mojang.datafixers.util.Either<ChatAbuseReport.ReportWithId,ChatAbuseReport.ValidationError> finalizeReport(AbuseReportContext reporter) - Mappings:
Namespace Name Mixin selector official a
Levo;a(Levr;)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/report/ChatAbuseReport;finalizeReport(Lnet/minecraft/client/report/AbuseReportContext;)Lcom/mojang/datafixers/util/Either;
-
collectEvidence
- Mappings:
Namespace Name Mixin selector official a
Levo;a(Levf;)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/report/ChatAbuseReport;collectEvidence(Lnet/minecraft/client/report/log/ChatLog;)Lcom/mojang/authlib/minecraft/report/ReportEvidence;
-
streamHeadersFrom
private Stream<ChatLog.IndexedEntry<HeaderEntry>> streamHeadersFrom(ChatLog log, Int2ObjectMap<ReceivedMessage.ChatMessage> evidences, UUID senderUuid) - Mappings:
Namespace Name Mixin selector official a
Levo;a(Levf;Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;Ljava/util/UUID;)Ljava/util/stream/Stream;
intermediary method_44961
Lnet/minecraft/class_7566;method_44961(Lnet/minecraft/class_7555;Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;Ljava/util/UUID;)Ljava/util/stream/Stream;
named streamHeadersFrom
Lnet/minecraft/client/report/ChatAbuseReport;streamHeadersFrom(Lnet/minecraft/client/report/log/ChatLog;Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;Ljava/util/UUID;)Ljava/util/stream/Stream;
-
collectEvidences
private static Int2ObjectMap<ReceivedMessage.ChatMessage> collectEvidences(ChatLog log, int selectedIndex, com.mojang.authlib.minecraft.report.AbuseReportLimits abuseReportLimits) - Mappings:
Namespace Name Mixin selector official a
Levo;a(Levf;ILcom/mojang/authlib/minecraft/report/AbuseReportLimits;)Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
intermediary method_44958
Lnet/minecraft/class_7566;method_44958(Lnet/minecraft/class_7555;ILcom/mojang/authlib/minecraft/report/AbuseReportLimits;)Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
named collectEvidences
Lnet/minecraft/client/report/ChatAbuseReport;collectEvidences(Lnet/minecraft/client/report/log/ChatLog;ILcom/mojang/authlib/minecraft/report/AbuseReportLimits;)Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
streamSucceedingMessages
private static Stream<ChatLog.IndexedEntry<ReceivedMessage.ChatMessage>> streamSucceedingMessages(ChatLog log, int selectedIndex, int maxCount) - Mappings:
Namespace Name Mixin selector official a
Levo;a(Levf;II)Ljava/util/stream/Stream;
intermediary method_44957
Lnet/minecraft/class_7566;method_44957(Lnet/minecraft/class_7555;II)Ljava/util/stream/Stream;
named streamSucceedingMessages
Lnet/minecraft/client/report/ChatAbuseReport;streamSucceedingMessages(Lnet/minecraft/client/report/log/ChatLog;II)Ljava/util/stream/Stream;
-
collectPrecedingMessages
private static void collectPrecedingMessages(ChatLog log, int selectedIndex, ChatAbuseReport.IndexedMessageConsumer consumer) - Mappings:
Namespace Name Mixin selector official a
Levo;a(Levf;ILevo$b;)V
intermediary method_44960
Lnet/minecraft/class_7566;method_44960(Lnet/minecraft/class_7555;ILnet/minecraft/class_7566$class_7632;)V
named collectPrecedingMessages
Lnet/minecraft/client/report/ChatAbuseReport;collectPrecedingMessages(Lnet/minecraft/client/report/log/ChatLog;ILnet/minecraft/client/report/ChatAbuseReport$IndexedMessageConsumer;)V
-
collectIndicesUntilLastSeen
private static IntCollection collectIndicesUntilLastSeen(ChatLog log, int selectedIndex, SignedMessage message) - Mappings:
Namespace Name Mixin selector official a
Levo;a(Levf;ILsd;)Lit/unimi/dsi/fastutil/ints/IntCollection;
intermediary method_44959
Lnet/minecraft/class_7566;method_44959(Lnet/minecraft/class_7555;ILnet/minecraft/class_7471;)Lit/unimi/dsi/fastutil/ints/IntCollection;
named collectIndicesUntilLastSeen
Lnet/minecraft/client/report/ChatAbuseReport;collectIndicesUntilLastSeen(Lnet/minecraft/client/report/log/ChatLog;ILnet/minecraft/network/message/SignedMessage;)Lit/unimi/dsi/fastutil/ints/IntCollection;
-
toReportChatMessage
private com.mojang.authlib.minecraft.report.ReportChatMessage toReportChatMessage(int index, ReceivedMessage.ChatMessage message) - Mappings:
Namespace Name Mixin selector official a
Levo;a(ILevj$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/report/ChatAbuseReport;toReportChatMessage(ILnet/minecraft/client/report/log/ReceivedMessage$ChatMessage;)Lcom/mojang/authlib/minecraft/report/ReportChatMessage;
-
toReportChatMessage
private com.mojang.authlib.minecraft.report.ReportChatMessage toReportChatMessage(HeaderEntry headerEntry) - Mappings:
Namespace Name Mixin selector official a
Levo;a(Levk;)Lcom/mojang/authlib/minecraft/report/ReportChatMessage;
intermediary method_44963
Lnet/minecraft/class_7566;method_44963(Lnet/minecraft/class_7630;)Lcom/mojang/authlib/minecraft/report/ReportChatMessage;
named toReportChatMessage
Lnet/minecraft/client/report/ChatAbuseReport;toReportChatMessage(Lnet/minecraft/client/report/log/HeaderEntry;)Lcom/mojang/authlib/minecraft/report/ReportChatMessage;
-
serializeContent
- Mappings:
Namespace Name Mixin selector official a
Levo;a(Lrq;)Ljava/lang/String;
intermediary method_44577
Lnet/minecraft/class_7566;method_44577(Lnet/minecraft/class_2561;)Ljava/lang/String;
named serializeContent
Lnet/minecraft/client/report/ChatAbuseReport;serializeContent(Lnet/minecraft/text/Text;)Ljava/lang/String;
-
copy
- Mappings:
Namespace Name Mixin selector official f
Levo;f()Levo;
intermediary method_44585
Lnet/minecraft/class_7566;method_44585()Lnet/minecraft/class_7566;
named copy
Lnet/minecraft/client/report/ChatAbuseReport;copy()Lnet/minecraft/client/report/ChatAbuseReport;
-