Class ChatAbuseReport.Builder
java.lang.Object
net.minecraft.client.session.report.AbuseReport.Builder<ChatAbuseReport>
net.minecraft.client.session.report.ChatAbuseReport.Builder
- Enclosing class:
ChatAbuseReport
@Environment(CLIENT)
public static class ChatAbuseReport.Builder
extends AbuseReport.Builder<ChatAbuseReport>
- Mappings:
Namespace Name official foo$a
intermediary net/minecraft/class_7566$class_8772
named net/minecraft/client/session/report/ChatAbuseReport$Builder
-
Field Summary
Fields inherited from class net.minecraft.client.session.report.AbuseReport.Builder
limits, report
-
Constructor Summary
ConstructorDescriptionBuilder
(ChatAbuseReport report, com.mojang.authlib.minecraft.report.AbuseReportLimits limits) -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<AbuseReport.ReportWithId,
AbuseReport.ValidationError> build
(AbuseReportContext context) private com.mojang.authlib.minecraft.report.ReportEvidence
collectEvidences
(AbuseReportContext context) copy()
boolean
boolean
isMessageSelected
(int index) void
toggleMessageSelection
(int index) private com.mojang.authlib.minecraft.report.ReportChatMessage
toReportChatMessage
(ReceivedMessage.ChatMessage message, boolean selected) validate()
Methods inherited from class net.minecraft.client.session.report.AbuseReport.Builder
getOpinionComments, getReason, getReport, getReportedPlayerUuid, setOpinionComments, setReason
-
Constructor Details
-
Builder
public Builder(ChatAbuseReport report, com.mojang.authlib.minecraft.report.AbuseReportLimits limits) - Mappings:
Namespace Name Mixin selector official <init>
Lfoo$a;<init>(Lfoo;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
intermediary <init>
Lnet/minecraft/class_7566$class_8772;<init>(Lnet/minecraft/class_7566;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
named <init>
Lnet/minecraft/client/session/report/ChatAbuseReport$Builder;<init>(Lnet/minecraft/client/session/report/ChatAbuseReport;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
-
Builder
public Builder(UUID reportedPlayerUuid, com.mojang.authlib.minecraft.report.AbuseReportLimits limits) - Mappings:
Namespace Name Mixin selector official <init>
Lfoo$a;<init>(Ljava/util/UUID;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
intermediary <init>
Lnet/minecraft/class_7566$class_8772;<init>(Ljava/util/UUID;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
named <init>
Lnet/minecraft/client/session/report/ChatAbuseReport$Builder;<init>(Ljava/util/UUID;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
-
-
Method Details
-
getSelectedMessages
- Mappings:
Namespace Name Mixin selector official a
Lfoo$a;a()Lit/unimi/dsi/fastutil/ints/IntSet;
intermediary method_53597
Lnet/minecraft/class_7566$class_8772;method_53597()Lit/unimi/dsi/fastutil/ints/IntSet;
named getSelectedMessages
Lnet/minecraft/client/session/report/ChatAbuseReport$Builder;getSelectedMessages()Lit/unimi/dsi/fastutil/ints/IntSet;
-
toggleMessageSelection
public void toggleMessageSelection(int index) - Mappings:
Namespace Name Mixin selector official a
Lfoo$a;a(I)V
intermediary method_53598
Lnet/minecraft/class_7566$class_8772;method_53598(I)V
named toggleMessageSelection
Lnet/minecraft/client/session/report/ChatAbuseReport$Builder;toggleMessageSelection(I)V
-
isMessageSelected
public boolean isMessageSelected(int index) - Mappings:
Namespace Name Mixin selector official b
Lfoo$a;b(I)Z
intermediary method_53603
Lnet/minecraft/class_7566$class_8772;method_53603(I)Z
named isMessageSelected
Lnet/minecraft/client/session/report/ChatAbuseReport$Builder;isMessageSelected(I)Z
-
hasEnoughInfo
public boolean hasEnoughInfo()- Specified by:
hasEnoughInfo
in classAbuseReport.Builder<ChatAbuseReport>
- Mappings:
Namespace Name Mixin selector official b
Lfos$a;b()Z
intermediary method_53602
Lnet/minecraft/class_7855$class_8775;method_53602()Z
named hasEnoughInfo
Lnet/minecraft/client/session/report/AbuseReport$Builder;hasEnoughInfo()Z
-
validate
- Specified by:
validate
in classAbuseReport.Builder<ChatAbuseReport>
- Mappings:
Namespace Name Mixin selector official c
Lfos$a;c()Lfos$b;
intermediary method_53605
Lnet/minecraft/class_7855$class_8775;method_53605()Lnet/minecraft/class_7855$class_7567;
named validate
Lnet/minecraft/client/session/report/AbuseReport$Builder;validate()Lnet/minecraft/client/session/report/AbuseReport$ValidationError;
-
build
public com.mojang.datafixers.util.Either<AbuseReport.ReportWithId,AbuseReport.ValidationError> build(AbuseReportContext context) - Specified by:
build
in classAbuseReport.Builder<ChatAbuseReport>
- Mappings:
Namespace Name Mixin selector official a
Lfos$a;a(Lfow;)Lcom/mojang/datafixers/util/Either;
intermediary method_53600
Lnet/minecraft/class_7855$class_8775;method_53600(Lnet/minecraft/class_7574;)Lcom/mojang/datafixers/util/Either;
named build
Lnet/minecraft/client/session/report/AbuseReport$Builder;build(Lnet/minecraft/client/session/report/AbuseReportContext;)Lcom/mojang/datafixers/util/Either;
-
collectEvidences
private com.mojang.authlib.minecraft.report.ReportEvidence collectEvidences(AbuseReportContext context) - Mappings:
Namespace Name Mixin selector official b
Lfoo$a;b(Lfow;)Lcom/mojang/authlib/minecraft/report/ReportEvidence;
intermediary method_53604
Lnet/minecraft/class_7566$class_8772;method_53604(Lnet/minecraft/class_7574;)Lcom/mojang/authlib/minecraft/report/ReportEvidence;
named collectEvidences
Lnet/minecraft/client/session/report/ChatAbuseReport$Builder;collectEvidences(Lnet/minecraft/client/session/report/AbuseReportContext;)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
Lfoo$a;a(Lfok$a;Z)Lcom/mojang/authlib/minecraft/report/ReportChatMessage;
intermediary method_53599
Lnet/minecraft/class_7566$class_8772;method_53599(Lnet/minecraft/class_7557$class_7558;Z)Lcom/mojang/authlib/minecraft/report/ReportChatMessage;
named toReportChatMessage
Lnet/minecraft/client/session/report/ChatAbuseReport$Builder;toReportChatMessage(Lnet/minecraft/client/session/report/log/ReceivedMessage$ChatMessage;Z)Lcom/mojang/authlib/minecraft/report/ReportChatMessage;
-
copy
- Mappings:
Namespace Name Mixin selector official d
Lfoo$a;d()Lfoo$a;
intermediary method_53606
Lnet/minecraft/class_7566$class_8772;method_53606()Lnet/minecraft/class_7566$class_8772;
named copy
Lnet/minecraft/client/session/report/ChatAbuseReport$Builder;copy()Lnet/minecraft/client/session/report/ChatAbuseReport$Builder;
-