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_299998_, com.mojang.authlib.minecraft.report.AbuseReportLimits p_299869_)
  • Method Details

    • report

      public R report()
    • reportedProfileId

      public UUID reportedProfileId()
    • comments

      public String comments()
    • attested

      public boolean attested()
    • setComments

      public void setComments(String p_299837_)
    • reason

      @Nullable public ReportReason reason()
    • setReason

      public void setReason(ReportReason p_299937_)
    • setAttested

      public void setAttested(boolean p_352965_)
    • 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_299877_)