Package net.minecraft.client.report
Class ChatAbuseReport
java.lang.Object
net.minecraft.client.report.ChatAbuseReport
- Mappings:
Namespace Name official feb
intermediary net/minecraft/class_7566
named net/minecraft/client/report/ChatAbuseReport
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
static final record
static final record
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ChatAbuseReport.Draft
private final com.mojang.authlib.minecraft.report.AbuseReportLimits
-
Constructor Summary
ConstructorDescriptionChatAbuseReport
(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.ReportEvidence
collectEvidence
(ChatLog log) copy()
com.mojang.datafixers.util.Either<ChatAbuseReport.ReportWithId,
ChatAbuseReport.ValidationError> finalizeReport
(AbuseReportContext reporter) getDraft()
boolean
boolean
hasSelectedMessage
(int index) void
setOpinionComments
(String opinionComments) void
setReason
(AbuseReportReason reason) void
toggleMessageSelection
(int index) private com.mojang.authlib.minecraft.report.ReportChatMessage
toReportChatMessage
(ReceivedMessage.ChatMessage message, boolean selected) validate()
-
Field Details
-
draft
- Mappings:
Namespace Name Mixin selector official a
Lfeb;a:Lfeb$b;
intermediary field_40811
Lnet/minecraft/class_7566;field_40811:Lnet/minecraft/class_7566$class_7855;
named draft
Lnet/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 b
Lfeb;b: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;
-
-
Constructor Details
-
ChatAbuseReport
public ChatAbuseReport(ChatAbuseReport.Draft draft, com.mojang.authlib.minecraft.report.AbuseReportLimits limits) - Mappings:
Namespace Name Mixin selector official <init>
Lfeb;<init>(Lfeb$b;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
intermediary <init>
Lnet/minecraft/class_7566;<init>(Lnet/minecraft/class_7566$class_7855;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
named <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>
Lfeb;<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
-
getDraft
- Mappings:
Namespace Name Mixin selector official a
Lfeb;a()Lfeb$b;
intermediary method_46545
Lnet/minecraft/class_7566;method_46545()Lnet/minecraft/class_7566$class_7855;
named getDraft
Lnet/minecraft/client/report/ChatAbuseReport;getDraft()Lnet/minecraft/client/report/ChatAbuseReport$Draft;
-
getReportedPlayerUuid
- Mappings:
Namespace Name Mixin selector official b
Lfeb;b()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 c
Lfeb;c()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 d
Lfeb;d()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;
-
setOpinionComments
- Mappings:
Namespace Name Mixin selector official a
Lfeb;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
-
getReason
- Mappings:
Namespace Name Mixin selector official e
Lfeb;e()Lfee;
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;
-
setReason
- Mappings:
Namespace Name Mixin selector official a
Lfeb;a(Lfee;)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
Lfeb;a(I)V
intermediary method_44569
Lnet/minecraft/class_7566;method_44569(I)V
named toggleMessageSelection
Lnet/minecraft/client/report/ChatAbuseReport;toggleMessageSelection(I)V
-
hasSelectedMessage
public boolean hasSelectedMessage(int index) - Mappings:
Namespace Name Mixin selector official b
Lfeb;b(I)Z
intermediary method_44580
Lnet/minecraft/class_7566;method_44580(I)Z
named hasSelectedMessage
Lnet/minecraft/client/report/ChatAbuseReport;hasSelectedMessage(I)Z
-
hasContents
public boolean hasContents()- Mappings:
Namespace Name Mixin selector official f
Lfeb;f()Z
intermediary method_46546
Lnet/minecraft/class_7566;method_46546()Z
named hasContents
Lnet/minecraft/client/report/ChatAbuseReport;hasContents()Z
-
validate
- Mappings:
Namespace Name Mixin selector official g
Lfeb;g()Lfeb$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
Lfeb;a(Lfef;)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
Lfeb;a(Lfdu;)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;
-
toReportChatMessage
private com.mojang.authlib.minecraft.report.ReportChatMessage toReportChatMessage(ReceivedMessage.ChatMessage message, boolean selected) - Mappings:
Namespace Name Mixin selector official a
Lfeb;a(Lfdx$a;Z)Lcom/mojang/authlib/minecraft/report/ReportChatMessage;
intermediary method_44570
Lnet/minecraft/class_7566;method_44570(Lnet/minecraft/class_7557$class_7558;Z)Lcom/mojang/authlib/minecraft/report/ReportChatMessage;
named toReportChatMessage
Lnet/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 h
Lfeb;h()Lfeb;
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;
-