Class Report.Builder<R extends Report>

java.lang.Object
net.minecraft.client.multiplayer.chat.report.Report.Builder<R>
Direct Known Subclasses:
ChatReport.Builder, NameReport.Builder, SkinReport.Builder
Enclosing class:
Report

public abstract static class Report.Builder<R extends Report> extends Object
  • Field Details

    • report

      protected final R extends Report report
    • limits

      protected final com.mojang.authlib.minecraft.report.AbuseReportLimits limits
  • Constructor Details

    • Builder

      protected Builder(R p_299684_, com.mojang.authlib.minecraft.report.AbuseReportLimits p_297887_)
  • Method Details

    • report

      public R report()
    • reportedProfileId

      public UUID reportedProfileId()
    • comments

      public String comments()
    • attested

      public boolean attested()
    • setComments

      public void setComments(String p_298827_)
    • reason

      @Nullable public ReportReason reason()
    • setReason

      public void setReason(ReportReason p_298659_)
    • setAttested

      public void setAttested(boolean p_344722_)
    • hasContent

      public abstract boolean hasContent()
    • checkBuildable

      @Nullable public Report.CannotBuildReason checkBuildable()
    • build

      public abstract com.mojang.datafixers.util.Either<Report.Result,Report.CannotBuildReason> build(ReportingContext p_301358_)