Package net.minecraft.client.report
Class ChatAbuseReport
java.lang.Object
net.minecraft.client.report.ChatAbuseReport
- Mappings:
Namespace Name official ffdintermediary net/minecraft/class_7566named net/minecraft/client/report/ChatAbuseReport
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassstatic final recordstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ChatAbuseReport.Draftprivate final com.mojang.authlib.minecraft.report.AbuseReportLimits -
Constructor Summary
ConstructorsConstructorDescriptionChatAbuseReport(UUID reportedPlayerUuid, com.mojang.authlib.minecraft.report.AbuseReportLimits limits) ChatAbuseReport(ChatAbuseReport.Draft draft, com.mojang.authlib.minecraft.report.AbuseReportLimits limits) -
Method Summary
Modifier and TypeMethodDescriptionprivate com.mojang.authlib.minecraft.report.ReportEvidencecollectEvidence(ChatLog log) copy()com.mojang.datafixers.util.Either<ChatAbuseReport.ReportWithId,ChatAbuseReport.ValidationError> finalizeReport(AbuseReportContext reporter) getDraft()booleanbooleanhasSelectedMessage(int index) voidsetOpinionComments(String opinionComments) voidsetReason(AbuseReportReason reason) voidtoggleMessageSelection(int index) private com.mojang.authlib.minecraft.report.ReportChatMessagetoReportChatMessage(ReceivedMessage.ChatMessage message, boolean selected) validate()
-
Field Details
-
draft
- Mappings:
Namespace Name Mixin selector official aLffd;a:Lffd$b;intermediary field_40811Lnet/minecraft/class_7566;field_40811:Lnet/minecraft/class_7566$class_7855;named draftLnet/minecraft/client/report/ChatAbuseReport;draft:Lnet/minecraft/client/report/ChatAbuseReport$Draft;
-
limits
private final com.mojang.authlib.minecraft.report.AbuseReportLimits limits- Mappings:
Namespace Name Mixin selector official bLffd;b: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;
-
-
Constructor Details
-
ChatAbuseReport
public ChatAbuseReport(ChatAbuseReport.Draft draft, com.mojang.authlib.minecraft.report.AbuseReportLimits limits) - Mappings:
Namespace Name Mixin selector official <init>Lffd;<init>(Lffd$b;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)Vintermediary <init>Lnet/minecraft/class_7566;<init>(Lnet/minecraft/class_7566$class_7855;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)Vnamed <init>Lnet/minecraft/client/report/ChatAbuseReport;<init>(Lnet/minecraft/client/report/ChatAbuseReport$Draft;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>Lffd;<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
-
getDraft
- Mappings:
Namespace Name Mixin selector official aLffd;a()Lffd$b;intermediary method_46545Lnet/minecraft/class_7566;method_46545()Lnet/minecraft/class_7566$class_7855;named getDraftLnet/minecraft/client/report/ChatAbuseReport;getDraft()Lnet/minecraft/client/report/ChatAbuseReport$Draft;
-
getReportedPlayerUuid
- Mappings:
Namespace Name Mixin selector official bLffd;b()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 cLffd;c()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 dLffd;d()Ljava/lang/String;intermediary method_44582Lnet/minecraft/class_7566;method_44582()Ljava/lang/String;named getOpinionCommentsLnet/minecraft/client/report/ChatAbuseReport;getOpinionComments()Ljava/lang/String;
-
setOpinionComments
- Mappings:
Namespace Name Mixin selector official aLffd;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
-
getReason
- Mappings:
Namespace Name Mixin selector official eLffd;e()Lffg;intermediary method_44583Lnet/minecraft/class_7566;method_44583()Lnet/minecraft/class_7573;named getReasonLnet/minecraft/client/report/ChatAbuseReport;getReason()Lnet/minecraft/client/report/AbuseReportReason;
-
setReason
- Mappings:
Namespace Name Mixin selector official aLffd;a(Lffg;)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 aLffd;a(I)Vintermediary method_44569Lnet/minecraft/class_7566;method_44569(I)Vnamed toggleMessageSelectionLnet/minecraft/client/report/ChatAbuseReport;toggleMessageSelection(I)V
-
hasSelectedMessage
public boolean hasSelectedMessage(int index) - Mappings:
Namespace Name Mixin selector official bLffd;b(I)Zintermediary method_44580Lnet/minecraft/class_7566;method_44580(I)Znamed hasSelectedMessageLnet/minecraft/client/report/ChatAbuseReport;hasSelectedMessage(I)Z
-
hasContents
public boolean hasContents()- Mappings:
Namespace Name Mixin selector official fLffd;f()Zintermediary method_46546Lnet/minecraft/class_7566;method_46546()Znamed hasContentsLnet/minecraft/client/report/ChatAbuseReport;hasContents()Z
-
validate
- Mappings:
Namespace Name Mixin selector official gLffd;g()Lffd$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 aLffd;a(Lffh;)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 aLffd;a(Lfew;)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;
-
toReportChatMessage
private com.mojang.authlib.minecraft.report.ReportChatMessage toReportChatMessage(ReceivedMessage.ChatMessage message, boolean selected) - Mappings:
Namespace Name Mixin selector official aLffd;a(Lfez$a;Z)Lcom/mojang/authlib/minecraft/report/ReportChatMessage;intermediary method_44570Lnet/minecraft/class_7566;method_44570(Lnet/minecraft/class_7557$class_7558;Z)Lcom/mojang/authlib/minecraft/report/ReportChatMessage;named toReportChatMessageLnet/minecraft/client/report/ChatAbuseReport;toReportChatMessage(Lnet/minecraft/client/report/log/ReceivedMessage$ChatMessage;Z)Lcom/mojang/authlib/minecraft/report/ReportChatMessage;
-
copy
- Mappings:
Namespace Name Mixin selector official hLffd;h()Lffd;intermediary method_44585Lnet/minecraft/class_7566;method_44585()Lnet/minecraft/class_7566;named copyLnet/minecraft/client/report/ChatAbuseReport;copy()Lnet/minecraft/client/report/ChatAbuseReport;
-