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
named net/minecraft/client/session/report/AbuseReport$Builder
intermediary net/minecraft/class_7855$class_8775
official fzb$a
  • Field Details

    • report

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

      protected final com.mojang.authlib.minecraft.report.AbuseReportLimits limits
      Mappings:
      Namespace Name Mixin selector
      named limits Lnet/minecraft/client/session/report/AbuseReport$Builder;limits:Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;
      intermediary field_46062 Lnet/minecraft/class_7855$class_8775;field_46062:Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;
      official b Lfzb$a;b: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
      named <init> Lnet/minecraft/client/session/report/AbuseReport$Builder;<init>(Lnet/minecraft/client/session/report/AbuseReport;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
      official <init> Lfzb$a;<init>(Lfzb;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
  • Method Details

    • getReport

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

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

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

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

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

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

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

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

      public abstract com.mojang.datafixers.util.Either<AbuseReport.ReportWithId,AbuseReport.ValidationError> build(AbuseReportContext context)
      Mappings:
      Namespace Name Mixin selector
      named build Lnet/minecraft/client/session/report/AbuseReport$Builder;build(Lnet/minecraft/client/session/report/AbuseReportContext;)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;
      official a Lfzb$a;a(Lfzf;)Lcom/mojang/datafixers/util/Either;