Class ChatReport.Builder
java.lang.Object
net.minecraft.client.multiplayer.chat.report.Report.Builder<ChatReport>
net.minecraft.client.multiplayer.chat.report.ChatReport.Builder
- Enclosing class:
ChatReport
-
Field Summary
Fields inherited from class net.minecraft.client.multiplayer.chat.report.Report.Builder
limits, report
-
Constructor Summary
ConstructorDescriptionBuilder
(ChatReport p_300891_, com.mojang.authlib.minecraft.report.AbuseReportLimits p_300207_) -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either
<Report.Result, Report.CannotBuildReason> build
(ReportingContext p_298383_) private com.mojang.authlib.minecraft.report.ReportEvidence
buildEvidence
(ReportingContext p_297642_) private com.mojang.authlib.minecraft.report.ReportChatMessage
buildReportedChatMessage
(LoggedChatMessage.Player p_299286_, boolean p_299614_) copy()
boolean
boolean
isReported
(int p_298529_) it.unimi.dsi.fastutil.ints.IntSet
void
toggleReported
(int p_300108_) Methods inherited from class net.minecraft.client.multiplayer.chat.report.Report.Builder
attested, comments, reason, report, reportedProfileId, setAttested, setComments, setReason
-
Constructor Details
-
Builder
public Builder(ChatReport p_300891_, com.mojang.authlib.minecraft.report.AbuseReportLimits p_300207_) -
Builder
-
-
Method Details
-
reportedMessages
public it.unimi.dsi.fastutil.ints.IntSet reportedMessages() -
toggleReported
public void toggleReported(int p_300108_) -
isReported
public boolean isReported(int p_298529_) -
hasContent
public boolean hasContent()- Specified by:
hasContent
in classReport.Builder<ChatReport>
-
checkBuildable
- Overrides:
checkBuildable
in classReport.Builder<ChatReport>
-
build
public com.mojang.datafixers.util.Either<Report.Result,Report.CannotBuildReason> build(ReportingContext p_298383_) - Specified by:
build
in classReport.Builder<ChatReport>
-
buildEvidence
private com.mojang.authlib.minecraft.report.ReportEvidence buildEvidence(ReportingContext p_297642_) -
buildReportedChatMessage
private com.mojang.authlib.minecraft.report.ReportChatMessage buildReportedChatMessage(LoggedChatMessage.Player p_299286_, boolean p_299614_) -
copy
-