Package net.minecraft.client.report
Class ChatAbuseReport
java.lang.Object
net.minecraft.client.report.ChatAbuseReport
- Mappings:
Namespace Name official evointermediary net/minecraft/class_7566named net/minecraft/client/report/ChatAbuseReport
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static interfacestatic final recordstatic final record -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionChatAbuseReport(UUID reportedPlayerUuid, com.mojang.authlib.minecraft.report.AbuseReportLimits limits) privateChatAbuseReport(UUID id, Instant timestamp, UUID reportedPlayerUuid, com.mojang.authlib.minecraft.report.AbuseReportLimits limits) -
Method Summary
Modifier and TypeMethodDescriptionprivate com.mojang.authlib.minecraft.report.ReportEvidencecollectEvidence(ChatLog log) private static Int2ObjectMap<ReceivedMessage.ChatMessage>collectEvidences(ChatLog log, int selectedIndex, com.mojang.authlib.minecraft.report.AbuseReportLimits abuseReportLimits) private static IntCollectioncollectIndicesUntilLastSeen(ChatLog log, int selectedIndex, SignedMessage message) private static voidcollectPrecedingMessages(ChatLog log, int selectedIndex, ChatAbuseReport.IndexedMessageConsumer consumer) copy()com.mojang.datafixers.util.Either<ChatAbuseReport.ReportWithId,ChatAbuseReport.ValidationError> finalizeReport(AbuseReportContext reporter) booleanhasSelectedMessage(int index) private static StringserializeContent(Text content) voidsetOpinionComments(String opinionComments) voidsetReason(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) voidtoggleMessageSelection(int index) private com.mojang.authlib.minecraft.report.ReportChatMessagetoReportChatMessage(int index, ReceivedMessage.ChatMessage message) private com.mojang.authlib.minecraft.report.ReportChatMessagetoReportChatMessage(HeaderEntry headerEntry) validate()
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector official aLevo;a:Ljava/util/UUID;intermediary field_39648Lnet/minecraft/class_7566;field_39648:Ljava/util/UUID;named idLnet/minecraft/client/report/ChatAbuseReport;id:Ljava/util/UUID;
-
timestamp
- Mappings:
Namespace Name Mixin selector official bLevo;b:Ljava/time/Instant;intermediary field_39649Lnet/minecraft/class_7566;field_39649:Ljava/time/Instant;named timestampLnet/minecraft/client/report/ChatAbuseReport;timestamp:Ljava/time/Instant;
-
reportedPlayerUuid
- Mappings:
Namespace Name Mixin selector official cLevo;c:Ljava/util/UUID;intermediary field_39650Lnet/minecraft/class_7566;field_39650:Ljava/util/UUID;named reportedPlayerUuidLnet/minecraft/client/report/ChatAbuseReport;reportedPlayerUuid:Ljava/util/UUID;
-
limits
private final com.mojang.authlib.minecraft.report.AbuseReportLimits limits- Mappings:
Namespace Name Mixin selector official dLevo;d:Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;intermediary field_39651Lnet/minecraft/class_7566;field_39651:Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;named limitsLnet/minecraft/client/report/ChatAbuseReport;limits:Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;
-
selections
- Mappings:
Namespace Name Mixin selector official eLevo;e:Lit/unimi/dsi/fastutil/ints/IntSet;intermediary field_39652Lnet/minecraft/class_7566;field_39652:Lit/unimi/dsi/fastutil/ints/IntSet;named selectionsLnet/minecraft/client/report/ChatAbuseReport;selections:Lit/unimi/dsi/fastutil/ints/IntSet;
-
opinionComments
- Mappings:
Namespace Name Mixin selector official fLevo;f:Ljava/lang/String;intermediary field_39653Lnet/minecraft/class_7566;field_39653:Ljava/lang/String;named opinionCommentsLnet/minecraft/client/report/ChatAbuseReport;opinionComments:Ljava/lang/String;
-
reason
- Mappings:
Namespace Name Mixin selector official gLevo;g:Levq;intermediary field_39654Lnet/minecraft/class_7566;field_39654:Lnet/minecraft/class_7573;named reasonLnet/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;)Vintermediary <init>Lnet/minecraft/class_7566;<init>(Ljava/util/UUID;Ljava/time/Instant;Ljava/util/UUID;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)Vnamed <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;)Vintermediary <init>Lnet/minecraft/class_7566;<init>(Ljava/util/UUID;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)Vnamed <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 aLevo;a(Ljava/lang/String;)Vintermediary method_44576Lnet/minecraft/class_7566;method_44576(Ljava/lang/String;)Vnamed setOpinionCommentsLnet/minecraft/client/report/ChatAbuseReport;setOpinionComments(Ljava/lang/String;)V
-
setReason
- Mappings:
Namespace Name Mixin selector official aLevo;a(Levq;)Vintermediary method_44574Lnet/minecraft/class_7566;method_44574(Lnet/minecraft/class_7573;)Vnamed setReasonLnet/minecraft/client/report/ChatAbuseReport;setReason(Lnet/minecraft/client/report/AbuseReportReason;)V
-
toggleMessageSelection
public void toggleMessageSelection(int index) - Mappings:
Namespace Name Mixin selector official aLevo;a(I)Vintermediary method_44569Lnet/minecraft/class_7566;method_44569(I)Vnamed toggleMessageSelectionLnet/minecraft/client/report/ChatAbuseReport;toggleMessageSelection(I)V
-
getReportedPlayerUuid
- Mappings:
Namespace Name Mixin selector official aLevo;a()Ljava/util/UUID;intermediary method_44568Lnet/minecraft/class_7566;method_44568()Ljava/util/UUID;named getReportedPlayerUuidLnet/minecraft/client/report/ChatAbuseReport;getReportedPlayerUuid()Ljava/util/UUID;
-
getSelections
- Mappings:
Namespace Name Mixin selector official bLevo;b()Lit/unimi/dsi/fastutil/ints/IntSet;intermediary method_44579Lnet/minecraft/class_7566;method_44579()Lit/unimi/dsi/fastutil/ints/IntSet;named getSelectionsLnet/minecraft/client/report/ChatAbuseReport;getSelections()Lit/unimi/dsi/fastutil/ints/IntSet;
-
getOpinionComments
- Mappings:
Namespace Name Mixin selector official cLevo;c()Ljava/lang/String;intermediary method_44582Lnet/minecraft/class_7566;method_44582()Ljava/lang/String;named getOpinionCommentsLnet/minecraft/client/report/ChatAbuseReport;getOpinionComments()Ljava/lang/String;
-
getReason
- Mappings:
Namespace Name Mixin selector official dLevo;d()Levq;intermediary method_44583Lnet/minecraft/class_7566;method_44583()Lnet/minecraft/class_7573;named getReasonLnet/minecraft/client/report/ChatAbuseReport;getReason()Lnet/minecraft/client/report/AbuseReportReason;
-
hasSelectedMessage
public boolean hasSelectedMessage(int index) - Mappings:
Namespace Name Mixin selector official bLevo;b(I)Zintermediary method_44580Lnet/minecraft/class_7566;method_44580(I)Znamed hasSelectedMessageLnet/minecraft/client/report/ChatAbuseReport;hasSelectedMessage(I)Z
-
validate
- Mappings:
Namespace Name Mixin selector official eLevo;e()Levo$a;intermediary method_44584Lnet/minecraft/class_7566;method_44584()Lnet/minecraft/class_7566$class_7567;named validateLnet/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 aLevo;a(Levr;)Lcom/mojang/datafixers/util/Either;intermediary method_44575Lnet/minecraft/class_7566;method_44575(Lnet/minecraft/class_7574;)Lcom/mojang/datafixers/util/Either;named finalizeReportLnet/minecraft/client/report/ChatAbuseReport;finalizeReport(Lnet/minecraft/client/report/AbuseReportContext;)Lcom/mojang/datafixers/util/Either;
-
collectEvidence
- Mappings:
Namespace Name Mixin selector official aLevo;a(Levf;)Lcom/mojang/authlib/minecraft/report/ReportEvidence;intermediary method_44571Lnet/minecraft/class_7566;method_44571(Lnet/minecraft/class_7555;)Lcom/mojang/authlib/minecraft/report/ReportEvidence;named collectEvidenceLnet/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 aLevo;a(Levf;Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;Ljava/util/UUID;)Ljava/util/stream/Stream;intermediary method_44961Lnet/minecraft/class_7566;method_44961(Lnet/minecraft/class_7555;Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;Ljava/util/UUID;)Ljava/util/stream/Stream;named streamHeadersFromLnet/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 aLevo;a(Levf;ILcom/mojang/authlib/minecraft/report/AbuseReportLimits;)Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;intermediary method_44958Lnet/minecraft/class_7566;method_44958(Lnet/minecraft/class_7555;ILcom/mojang/authlib/minecraft/report/AbuseReportLimits;)Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;named collectEvidencesLnet/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 aLevo;a(Levf;II)Ljava/util/stream/Stream;intermediary method_44957Lnet/minecraft/class_7566;method_44957(Lnet/minecraft/class_7555;II)Ljava/util/stream/Stream;named streamSucceedingMessagesLnet/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 aLevo;a(Levf;ILevo$b;)Vintermediary method_44960Lnet/minecraft/class_7566;method_44960(Lnet/minecraft/class_7555;ILnet/minecraft/class_7566$class_7632;)Vnamed collectPrecedingMessagesLnet/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 aLevo;a(Levf;ILsd;)Lit/unimi/dsi/fastutil/ints/IntCollection;intermediary method_44959Lnet/minecraft/class_7566;method_44959(Lnet/minecraft/class_7555;ILnet/minecraft/class_7471;)Lit/unimi/dsi/fastutil/ints/IntCollection;named collectIndicesUntilLastSeenLnet/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 aLevo;a(ILevj$a;)Lcom/mojang/authlib/minecraft/report/ReportChatMessage;intermediary method_44570Lnet/minecraft/class_7566;method_44570(ILnet/minecraft/class_7557$class_7558;)Lcom/mojang/authlib/minecraft/report/ReportChatMessage;named toReportChatMessageLnet/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 aLevo;a(Levk;)Lcom/mojang/authlib/minecraft/report/ReportChatMessage;intermediary method_44963Lnet/minecraft/class_7566;method_44963(Lnet/minecraft/class_7630;)Lcom/mojang/authlib/minecraft/report/ReportChatMessage;named toReportChatMessageLnet/minecraft/client/report/ChatAbuseReport;toReportChatMessage(Lnet/minecraft/client/report/log/HeaderEntry;)Lcom/mojang/authlib/minecraft/report/ReportChatMessage;
-
serializeContent
- Mappings:
Namespace Name Mixin selector official aLevo;a(Lrq;)Ljava/lang/String;intermediary method_44577Lnet/minecraft/class_7566;method_44577(Lnet/minecraft/class_2561;)Ljava/lang/String;named serializeContentLnet/minecraft/client/report/ChatAbuseReport;serializeContent(Lnet/minecraft/text/Text;)Ljava/lang/String;
-
copy
- Mappings:
Namespace Name Mixin selector official fLevo;f()Levo;intermediary method_44585Lnet/minecraft/class_7566;method_44585()Lnet/minecraft/class_7566;named copyLnet/minecraft/client/report/ChatAbuseReport;copy()Lnet/minecraft/client/report/ChatAbuseReport;
-