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 Report.Builder
limits, report -
Constructor Summary
ConstructorsConstructorDescriptionBuilder(UUID reportedProfileId, AbuseReportLimits limits) Builder(ChatReport report, AbuseReportLimits limits) -
Method Summary
Modifier and TypeMethodDescriptionbuild(ReportingContext reportingContext) private ReportEvidencebuildEvidence(ReportingContext reportingContext) private ReportChatMessagebuildReportedChatMessage(LoggedChatMessage.Player chat, boolean reported) @Nullable Report.CannotBuildReasoncopy()booleanbooleanisReported(int id) it.unimi.dsi.fastutil.ints.IntSetvoidtoggleReported(int id) Methods inherited from class Report.Builder
attested, comments, reason, report, reportedProfileId, setAttested, setComments, setReason
-
Constructor Details
-
Builder
-
Builder
-
-
Method Details
-
reportedMessages
public it.unimi.dsi.fastutil.ints.IntSet reportedMessages() -
toggleReported
public void toggleReported(int id) -
isReported
public boolean isReported(int id) -
hasContent
public boolean hasContent()- Specified by:
hasContentin classReport.Builder<ChatReport>
-
checkBuildable
- Overrides:
checkBuildablein classReport.Builder<ChatReport>
-
build
- Specified by:
buildin classReport.Builder<ChatReport>
-
buildEvidence
-
buildReportedChatMessage
-
copy
-