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_299929_, com.mojang.authlib.minecraft.report.AbuseReportLimits p_299930_) -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<Report.Result,
Report.CannotBuildReason> build
(ReportingContext p_299928_) private com.mojang.authlib.minecraft.report.ReportEvidence
buildEvidence
(ReportingContext p_299855_) private com.mojang.authlib.minecraft.report.ReportChatMessage
buildReportedChatMessage
(LoggedChatMessage.Player p_299916_, boolean p_299962_) copy()
boolean
boolean
isReported
(int p_299830_) it.unimi.dsi.fastutil.ints.IntSet
void
toggleReported
(int p_299851_) Methods inherited from class net.minecraft.client.multiplayer.chat.report.Report.Builder
comments, reason, report, reportedProfileId, setComments, setReason
-
Constructor Details
-
Builder
public Builder(ChatReport p_299929_, com.mojang.authlib.minecraft.report.AbuseReportLimits p_299930_) -
Builder
-
-
Method Details
-
reportedMessages
public it.unimi.dsi.fastutil.ints.IntSet reportedMessages() -
toggleReported
public void toggleReported(int p_299851_) -
isReported
public boolean isReported(int p_299830_) -
hasContent
public boolean hasContent()- Specified by:
hasContent
in classReport.Builder<ChatReport>
-
checkBuildable
- Specified by:
checkBuildable
in classReport.Builder<ChatReport>
-
build
public com.mojang.datafixers.util.Either<Report.Result,Report.CannotBuildReason> build(ReportingContext p_299928_) - Specified by:
build
in classReport.Builder<ChatReport>
-
buildEvidence
private com.mojang.authlib.minecraft.report.ReportEvidence buildEvidence(ReportingContext p_299855_) -
buildReportedChatMessage
private com.mojang.authlib.minecraft.report.ReportChatMessage buildReportedChatMessage(LoggedChatMessage.Player p_299916_, boolean p_299962_) -
copy
-