Class ChatReportBuilder
java.lang.Object
net.minecraft.client.multiplayer.chat.report.ChatReportBuilder
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
class
static final record
-
Field Summary
Modifier and TypeFieldDescriptionprivate final com.mojang.authlib.minecraft.report.AbuseReportLimits
private final ChatReportBuilder.ChatReport
-
Constructor Summary
ConstructorDescriptionChatReportBuilder
(UUID p_239528_, com.mojang.authlib.minecraft.report.AbuseReportLimits p_239529_) ChatReportBuilder
(ChatReportBuilder.ChatReport p_254092_, com.mojang.authlib.minecraft.report.AbuseReportLimits p_254265_) -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<ChatReportBuilder.Result,
ChatReportBuilder.CannotBuildReason> build
(ReportingContext p_240129_) private com.mojang.authlib.minecraft.report.ReportEvidence
buildEvidence
(ChatLog p_239183_) private com.mojang.authlib.minecraft.report.ReportChatMessage
buildReportedChatMessage
(LoggedChatMessage.Player p_251321_, boolean p_252182_) comments()
copy()
boolean
boolean
isReported
(int p_243333_) reason()
report()
it.unimi.dsi.fastutil.ints.IntSet
void
setComments
(String p_239080_) void
setReason
(ReportReason p_239098_) void
toggleReported
(int p_239052_)
-
Field Details
-
report
-
limits
private final com.mojang.authlib.minecraft.report.AbuseReportLimits limits
-
-
Constructor Details
-
ChatReportBuilder
public ChatReportBuilder(ChatReportBuilder.ChatReport p_254092_, com.mojang.authlib.minecraft.report.AbuseReportLimits p_254265_) -
ChatReportBuilder
public ChatReportBuilder(UUID p_239528_, com.mojang.authlib.minecraft.report.AbuseReportLimits p_239529_)
-
-
Method Details
-
report
-
reportedProfileId
-
reportedMessages
public it.unimi.dsi.fastutil.ints.IntSet reportedMessages() -
comments
-
setComments
-
reason
-
setReason
-
toggleReported
public void toggleReported(int p_239052_) -
isReported
public boolean isReported(int p_243333_) -
hasContent
public boolean hasContent() -
checkBuildable
-
build
public com.mojang.datafixers.util.Either<ChatReportBuilder.Result,ChatReportBuilder.CannotBuildReason> build(ReportingContext p_240129_) -
buildEvidence
-
buildReportedChatMessage
private com.mojang.authlib.minecraft.report.ReportChatMessage buildReportedChatMessage(LoggedChatMessage.Player p_251321_, boolean p_252182_) -
copy
-