Class ChatAbuseReport
java.lang.Object
net.minecraft.client.network.abusereport.ChatAbuseReport
- Mappings:
Namespace Name official eupintermediary net/minecraft/class_7566named net/minecraft/client/network/abusereport/ChatAbuseReport
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic 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 static Stringbase64Encode(byte[] bs) private com.mojang.authlib.minecraft.report.ReportEvidencecollectEvidence(ChatLog log) 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 IntStreamstreamNeighboringIndices(ChatLog log, int index) voidtoggleMessageSelection(int index) private com.mojang.authlib.minecraft.report.ReportChatMessagetoReportChatMessage(int index, ReceivedMessage.ChatMessage message) validate()
-
Field Details
-
CHAT
- See Also:
- Mappings:
Namespace Name Mixin selector official aLeup;a:Ljava/lang/String;intermediary field_39645Lnet/minecraft/class_7566;field_39645:Ljava/lang/String;named CHATLnet/minecraft/client/network/abusereport/ChatAbuseReport;CHAT:Ljava/lang/String;
-
id
- Mappings:
Namespace Name Mixin selector official bLeup;b:Ljava/util/UUID;intermediary field_39648Lnet/minecraft/class_7566;field_39648:Ljava/util/UUID;named idLnet/minecraft/client/network/abusereport/ChatAbuseReport;id:Ljava/util/UUID;
-
timestamp
- Mappings:
Namespace Name Mixin selector official cLeup;c:Ljava/time/Instant;intermediary field_39649Lnet/minecraft/class_7566;field_39649:Ljava/time/Instant;named timestampLnet/minecraft/client/network/abusereport/ChatAbuseReport;timestamp:Ljava/time/Instant;
-
reportedPlayerUuid
- Mappings:
Namespace Name Mixin selector official dLeup;d:Ljava/util/UUID;intermediary field_39650Lnet/minecraft/class_7566;field_39650:Ljava/util/UUID;named reportedPlayerUuidLnet/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 eLeup;e:Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;intermediary field_39651Lnet/minecraft/class_7566;field_39651:Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;named limitsLnet/minecraft/client/network/abusereport/ChatAbuseReport;limits:Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;
-
selections
- Mappings:
Namespace Name Mixin selector official fLeup;f:Lit/unimi/dsi/fastutil/ints/IntSet;intermediary field_39652Lnet/minecraft/class_7566;field_39652:Lit/unimi/dsi/fastutil/ints/IntSet;named selectionsLnet/minecraft/client/network/abusereport/ChatAbuseReport;selections:Lit/unimi/dsi/fastutil/ints/IntSet;
-
opinionComments
- Mappings:
Namespace Name Mixin selector official gLeup;g:Ljava/lang/String;intermediary field_39653Lnet/minecraft/class_7566;field_39653:Ljava/lang/String;named opinionCommentsLnet/minecraft/client/network/abusereport/ChatAbuseReport;opinionComments:Ljava/lang/String;
-
reason
- Mappings:
Namespace Name Mixin selector official hLeup;h:Leur;intermediary field_39654Lnet/minecraft/class_7566;field_39654:Lnet/minecraft/class_7573;named reasonLnet/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;)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/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;)Vintermediary <init>Lnet/minecraft/class_7566;<init>(Ljava/util/UUID;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)Vnamed <init>Lnet/minecraft/client/network/abusereport/ChatAbuseReport;<init>(Ljava/util/UUID;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
-
-
Method Details
-
setOpinionComments
- Mappings:
Namespace Name Mixin selector official aLeup;a(Ljava/lang/String;)Vintermediary method_44576Lnet/minecraft/class_7566;method_44576(Ljava/lang/String;)Vnamed setOpinionCommentsLnet/minecraft/client/network/abusereport/ChatAbuseReport;setOpinionComments(Ljava/lang/String;)V
-
setReason
- Mappings:
Namespace Name Mixin selector official aLeup;a(Leur;)Vintermediary method_44574Lnet/minecraft/class_7566;method_44574(Lnet/minecraft/class_7573;)Vnamed setReasonLnet/minecraft/client/network/abusereport/ChatAbuseReport;setReason(Lnet/minecraft/client/report/AbuseReportReason;)V
-
toggleMessageSelection
public void toggleMessageSelection(int index) - Mappings:
Namespace Name Mixin selector official aLeup;a(I)Vintermediary method_44569Lnet/minecraft/class_7566;method_44569(I)Vnamed toggleMessageSelectionLnet/minecraft/client/network/abusereport/ChatAbuseReport;toggleMessageSelection(I)V
-
getReportedPlayerUuid
- Mappings:
Namespace Name Mixin selector official aLeup;a()Ljava/util/UUID;intermediary method_44568Lnet/minecraft/class_7566;method_44568()Ljava/util/UUID;named getReportedPlayerUuidLnet/minecraft/client/network/abusereport/ChatAbuseReport;getReportedPlayerUuid()Ljava/util/UUID;
-
getSelections
- Mappings:
Namespace Name Mixin selector official bLeup;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/network/abusereport/ChatAbuseReport;getSelections()Lit/unimi/dsi/fastutil/ints/IntSet;
-
getOpinionComments
- Mappings:
Namespace Name Mixin selector official cLeup;c()Ljava/lang/String;intermediary method_44582Lnet/minecraft/class_7566;method_44582()Ljava/lang/String;named getOpinionCommentsLnet/minecraft/client/network/abusereport/ChatAbuseReport;getOpinionComments()Ljava/lang/String;
-
getReason
- Mappings:
Namespace Name Mixin selector official dLeup;d()Leur;intermediary method_44583Lnet/minecraft/class_7566;method_44583()Lnet/minecraft/class_7573;named getReasonLnet/minecraft/client/network/abusereport/ChatAbuseReport;getReason()Lnet/minecraft/client/report/AbuseReportReason;
-
hasSelectedMessage
public boolean hasSelectedMessage(int index) - Mappings:
Namespace Name Mixin selector official bLeup;b(I)Zintermediary method_44580Lnet/minecraft/class_7566;method_44580(I)Znamed hasSelectedMessageLnet/minecraft/client/network/abusereport/ChatAbuseReport;hasSelectedMessage(I)Z
-
validate
- Mappings:
Namespace Name Mixin selector official eLeup;e()Leup$a;intermediary method_44584Lnet/minecraft/class_7566;method_44584()Lnet/minecraft/class_7566$class_7567;named validateLnet/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 aLeup;a(Leus;)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/network/abusereport/ChatAbuseReport;finalizeReport(Lnet/minecraft/client/report/AbuseReportContext;)Lcom/mojang/datafixers/util/Either;
-
collectEvidence
- Mappings:
Namespace Name Mixin selector official aLeup;a(Leuj;)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/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 aLeup;a(ILeul$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/network/abusereport/ChatAbuseReport;toReportChatMessage(ILnet/minecraft/client/report/ReceivedMessage$ChatMessage;)Lcom/mojang/authlib/minecraft/report/ReportChatMessage;
-
serializeContent
- Mappings:
Namespace Name Mixin selector official aLeup;a(Lrm;)Ljava/lang/String;intermediary method_44577Lnet/minecraft/class_7566;method_44577(Lnet/minecraft/class_2561;)Ljava/lang/String;named serializeContentLnet/minecraft/client/network/abusereport/ChatAbuseReport;serializeContent(Lnet/minecraft/text/Text;)Ljava/lang/String;
-
base64Encode
- Mappings:
Namespace Name Mixin selector official aLeup;a([B)Ljava/lang/String;intermediary method_44578Lnet/minecraft/class_7566;method_44578([B)Ljava/lang/String;named base64EncodeLnet/minecraft/client/network/abusereport/ChatAbuseReport;base64Encode([B)Ljava/lang/String;
-
streamNeighboringIndices
- Mappings:
Namespace Name Mixin selector official aLeup;a(Leuj;I)Ljava/util/stream/IntStream;intermediary method_44572Lnet/minecraft/class_7566;method_44572(Lnet/minecraft/class_7555;I)Ljava/util/stream/IntStream;named streamNeighboringIndicesLnet/minecraft/client/network/abusereport/ChatAbuseReport;streamNeighboringIndices(Lnet/minecraft/client/report/ChatLog;I)Ljava/util/stream/IntStream;
-
copy
- Mappings:
Namespace Name Mixin selector official fLeup;f()Leup;intermediary method_44585Lnet/minecraft/class_7566;method_44585()Lnet/minecraft/class_7566;named copyLnet/minecraft/client/network/abusereport/ChatAbuseReport;copy()Lnet/minecraft/client/network/abusereport/ChatAbuseReport;
-