Package net.minecraft.client.report
Class ChatAbuseReport
java.lang.Object
net.minecraft.client.report.ChatAbuseReport
- Mappings:
Namespace Name official evj
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) copy()
com.mojang.datafixers.util.Either<ChatAbuseReport.ReportWithId,
ChatAbuseReport.ValidationError> finalizeReport
(AbuseReportContext reporter) boolean
hasSelectedMessage
(int index) private static Stream<ChatLog.IndexedMessage<ReceivedMessage.ChatMessage>>
method_44957
(ChatLog chatLog, int int2, int int3) private static Int2ObjectMap<ReceivedMessage.ChatMessage>
method_44958
(ChatLog chatLog, int int2, com.mojang.authlib.minecraft.report.AbuseReportLimits abuseReportLimits) private static IntCollection
method_44959
(ChatLog chatLog, int int2, ReceivedMessage.ChatMessage chatMessage) private static void
method_44960
(ChatLog chatLog, int int2, ChatAbuseReport.class_7632 class_7632) private Stream<ChatLog.IndexedMessage<class_7630>>
method_44961
(ChatLog chatLog, Int2ObjectMap<ReceivedMessage.ChatMessage> int2ObjectMap, UUID uUID) private com.mojang.authlib.minecraft.report.ReportChatMessage
method_44963
(class_7630 class_7630) private static String
serializeContent
(Text content) void
setOpinionComments
(String opinionComments) void
setReason
(AbuseReportReason reason) void
toggleMessageSelection
(int index) private com.mojang.authlib.minecraft.report.ReportChatMessage
toReportChatMessage
(int index, ReceivedMessage.ChatMessage message) validate()
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector official a
Levj;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
Levj;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
Levj;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
Levj;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
Levj;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
Levj;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
Levj;g:Levl;
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>
Levj;<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>
Levj;<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
Levj;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
Levj;a(Levl;)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
Levj;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
Levj;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
Levj;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
Levj;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
Levj;d()Levl;
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
Levj;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
Levj;e()Levj$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
Levj;a(Levm;)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
Levj;a(Leva;)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/ChatLog;)Lcom/mojang/authlib/minecraft/report/ReportEvidence;
-
method_44961
private Stream<ChatLog.IndexedMessage<class_7630>> method_44961(ChatLog chatLog, Int2ObjectMap<ReceivedMessage.ChatMessage> int2ObjectMap, UUID uUID) - Mappings:
Namespace Name Mixin selector official a
Levj;a(Leva;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 method_44961
Lnet/minecraft/client/report/ChatAbuseReport;method_44961(Lnet/minecraft/client/report/ChatLog;Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;Ljava/util/UUID;)Ljava/util/stream/Stream;
-
method_44958
private static Int2ObjectMap<ReceivedMessage.ChatMessage> method_44958(ChatLog chatLog, int int2, com.mojang.authlib.minecraft.report.AbuseReportLimits abuseReportLimits) - Mappings:
Namespace Name Mixin selector official a
Levj;a(Leva;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 method_44958
Lnet/minecraft/client/report/ChatAbuseReport;method_44958(Lnet/minecraft/client/report/ChatLog;ILcom/mojang/authlib/minecraft/report/AbuseReportLimits;)Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
method_44957
private static Stream<ChatLog.IndexedMessage<ReceivedMessage.ChatMessage>> method_44957(ChatLog chatLog, int int2, int int3) - Mappings:
Namespace Name Mixin selector official a
Levj;a(Leva;II)Ljava/util/stream/Stream;
intermediary method_44957
Lnet/minecraft/class_7566;method_44957(Lnet/minecraft/class_7555;II)Ljava/util/stream/Stream;
named method_44957
Lnet/minecraft/client/report/ChatAbuseReport;method_44957(Lnet/minecraft/client/report/ChatLog;II)Ljava/util/stream/Stream;
-
method_44960
- Mappings:
Namespace Name Mixin selector official a
Levj;a(Leva;ILevj$b;)V
intermediary method_44960
Lnet/minecraft/class_7566;method_44960(Lnet/minecraft/class_7555;ILnet/minecraft/class_7566$class_7632;)V
named method_44960
Lnet/minecraft/client/report/ChatAbuseReport;method_44960(Lnet/minecraft/client/report/ChatLog;ILnet/minecraft/client/report/ChatAbuseReport$class_7632;)V
-
method_44959
private static IntCollection method_44959(ChatLog chatLog, int int2, ReceivedMessage.ChatMessage chatMessage) - Mappings:
Namespace Name Mixin selector official a
Levj;a(Leva;ILeve$a;)Lit/unimi/dsi/fastutil/ints/IntCollection;
intermediary method_44959
Lnet/minecraft/class_7566;method_44959(Lnet/minecraft/class_7555;ILnet/minecraft/class_7557$class_7558;)Lit/unimi/dsi/fastutil/ints/IntCollection;
named method_44959
Lnet/minecraft/client/report/ChatAbuseReport;method_44959(Lnet/minecraft/client/report/ChatLog;ILnet/minecraft/client/report/ReceivedMessage$ChatMessage;)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
Levj;a(ILeve$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/ReceivedMessage$ChatMessage;)Lcom/mojang/authlib/minecraft/report/ReportChatMessage;
-
method_44963
- Mappings:
Namespace Name Mixin selector official a
Levj;a(Levf;)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 method_44963
Lnet/minecraft/client/report/ChatAbuseReport;method_44963(Lnet/minecraft/class_7630;)Lcom/mojang/authlib/minecraft/report/ReportChatMessage;
-
serializeContent
- Mappings:
Namespace Name Mixin selector official a
Levj;a(Lro;)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
Levj;f()Levj;
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;
-