Class AbuseReport.Builder<R extends AbuseReport>

java.lang.Object
net.minecraft.client.session.report.AbuseReport.Builder<R>
Direct Known Subclasses:
ChatAbuseReport.Builder, SkinAbuseReport.Builder, UsernameAbuseReport.Builder
Enclosing class:
AbuseReport

@Environment(CLIENT) public abstract static class AbuseReport.Builder<R extends AbuseReport> extends Object
Mappings:
Namespace Name
official fos$a
intermediary net/minecraft/class_7855$class_8775
named net/minecraft/client/session/report/AbuseReport$Builder
  • Field Details

    • report

      protected final R extends AbuseReport report
      Mappings:
      Namespace Name Mixin selector
      official a Lfos$a;a:Lfos;
      intermediary field_46061 Lnet/minecraft/class_7855$class_8775;field_46061:Lnet/minecraft/class_7855;
      named report Lnet/minecraft/client/session/report/AbuseReport$Builder;report:Lnet/minecraft/client/session/report/AbuseReport;
    • limits

      protected final com.mojang.authlib.minecraft.report.AbuseReportLimits limits
      Mappings:
      Namespace Name Mixin selector
      official b Lfos$a;b:Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;
      intermediary field_46062 Lnet/minecraft/class_7855$class_8775;field_46062:Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;
      named limits Lnet/minecraft/client/session/report/AbuseReport$Builder;limits:Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;
  • Constructor Details

    • Builder

      protected Builder(R report, com.mojang.authlib.minecraft.report.AbuseReportLimits limits)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfos$a;<init>(Lfos;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
      intermediary <init> Lnet/minecraft/class_7855$class_8775;<init>(Lnet/minecraft/class_7855;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
      named <init> Lnet/minecraft/client/session/report/AbuseReport$Builder;<init>(Lnet/minecraft/client/session/report/AbuseReport;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
  • Method Details

    • getReport

      public R getReport()
      Mappings:
      Namespace Name Mixin selector
      official e Lfos$a;e()Lfos;
      intermediary method_53611 Lnet/minecraft/class_7855$class_8775;method_53611()Lnet/minecraft/class_7855;
      named getReport Lnet/minecraft/client/session/report/AbuseReport$Builder;getReport()Lnet/minecraft/client/session/report/AbuseReport;
    • getReportedPlayerUuid

      public UUID getReportedPlayerUuid()
      Mappings:
      Namespace Name Mixin selector
      official f Lfos$a;f()Ljava/util/UUID;
      intermediary method_53612 Lnet/minecraft/class_7855$class_8775;method_53612()Ljava/util/UUID;
      named getReportedPlayerUuid Lnet/minecraft/client/session/report/AbuseReport$Builder;getReportedPlayerUuid()Ljava/util/UUID;
    • getOpinionComments

      public String getOpinionComments()
      Mappings:
      Namespace Name Mixin selector
      official g Lfos$a;g()Ljava/lang/String;
      intermediary method_53613 Lnet/minecraft/class_7855$class_8775;method_53613()Ljava/lang/String;
      named getOpinionComments Lnet/minecraft/client/session/report/AbuseReport$Builder;getOpinionComments()Ljava/lang/String;
    • setOpinionComments

      public void setOpinionComments(String opinionComments)
      Mappings:
      Namespace Name Mixin selector
      official a Lfos$a;a(Ljava/lang/String;)V
      intermediary method_53610 Lnet/minecraft/class_7855$class_8775;method_53610(Ljava/lang/String;)V
      named setOpinionComments Lnet/minecraft/client/session/report/AbuseReport$Builder;setOpinionComments(Ljava/lang/String;)V
    • getReason

      Mappings:
      Namespace Name Mixin selector
      official h Lfos$a;h()Lfou;
      intermediary method_53614 Lnet/minecraft/class_7855$class_8775;method_53614()Lnet/minecraft/class_7573;
      named getReason Lnet/minecraft/client/session/report/AbuseReport$Builder;getReason()Lnet/minecraft/client/session/report/AbuseReportReason;
    • setReason

      public void setReason(AbuseReportReason reason)
      Mappings:
      Namespace Name Mixin selector
      official a Lfos$a;a(Lfou;)V
      intermediary method_53609 Lnet/minecraft/class_7855$class_8775;method_53609(Lnet/minecraft/class_7573;)V
      named setReason Lnet/minecraft/client/session/report/AbuseReport$Builder;setReason(Lnet/minecraft/client/session/report/AbuseReportReason;)V
    • hasEnoughInfo

      public abstract boolean hasEnoughInfo()
      Mappings:
      Namespace Name Mixin selector
      official b Lfos$a;b()Z
      intermediary method_53602 Lnet/minecraft/class_7855$class_8775;method_53602()Z
      named hasEnoughInfo Lnet/minecraft/client/session/report/AbuseReport$Builder;hasEnoughInfo()Z
    • validate

      @Nullable public abstract @Nullable AbuseReport.ValidationError validate()
      Mappings:
      Namespace Name Mixin selector
      official c Lfos$a;c()Lfos$b;
      intermediary method_53605 Lnet/minecraft/class_7855$class_8775;method_53605()Lnet/minecraft/class_7855$class_7567;
      named validate Lnet/minecraft/client/session/report/AbuseReport$Builder;validate()Lnet/minecraft/client/session/report/AbuseReport$ValidationError;
    • build

      public abstract com.mojang.datafixers.util.Either<AbuseReport.ReportWithId,AbuseReport.ValidationError> build(AbuseReportContext context)
      Mappings:
      Namespace Name Mixin selector
      official a Lfos$a;a(Lfow;)Lcom/mojang/datafixers/util/Either;
      intermediary method_53600 Lnet/minecraft/class_7855$class_8775;method_53600(Lnet/minecraft/class_7574;)Lcom/mojang/datafixers/util/Either;
      named build Lnet/minecraft/client/session/report/AbuseReport$Builder;build(Lnet/minecraft/client/session/report/AbuseReportContext;)Lcom/mojang/datafixers/util/Either;