Class UsernameAbuseReport.Builder

java.lang.Object
net.minecraft.client.session.report.AbuseReport.Builder<UsernameAbuseReport>
net.minecraft.client.session.report.UsernameAbuseReport.Builder
Enclosing class:
UsernameAbuseReport

@Environment(CLIENT) public static class UsernameAbuseReport.Builder extends AbuseReport.Builder<UsernameAbuseReport>
Mappings:
Namespace Name
named net/minecraft/client/session/report/UsernameAbuseReport$Builder
intermediary net/minecraft/class_8773$class_8774
official fyz$a
  • Constructor Details

    • Builder

      public Builder(UsernameAbuseReport report, com.mojang.authlib.minecraft.report.AbuseReportLimits limits)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/session/report/UsernameAbuseReport$Builder;<init>(Lnet/minecraft/client/session/report/UsernameAbuseReport;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
      intermediary <init> Lnet/minecraft/class_8773$class_8774;<init>(Lnet/minecraft/class_8773;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
      official <init> Lfyz$a;<init>(Lfyz;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
    • Builder

      public Builder(UUID reportedPlayerUuid, String username, com.mojang.authlib.minecraft.report.AbuseReportLimits limits)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/session/report/UsernameAbuseReport$Builder;<init>(Ljava/util/UUID;Ljava/lang/String;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
      intermediary <init> Lnet/minecraft/class_8773$class_8774;<init>(Ljava/util/UUID;Ljava/lang/String;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
      official <init> Lfyz$a;<init>(Ljava/util/UUID;Ljava/lang/String;Lcom/mojang/authlib/minecraft/report/AbuseReportLimits;)V
  • Method Details

    • hasEnoughInfo

      public boolean hasEnoughInfo()
      Specified by:
      hasEnoughInfo in class AbuseReport.Builder<UsernameAbuseReport>
      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 Lfza$a;b()Z
    • validate

      Specified by:
      validate in class AbuseReport.Builder<UsernameAbuseReport>
      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 Lfza$a;c()Lfza$b;
    • build

      public com.mojang.datafixers.util.Either<AbuseReport.ReportWithId,AbuseReport.ValidationError> build(AbuseReportContext context)
      Specified by:
      build in class AbuseReport.Builder<UsernameAbuseReport>
      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 Lfza$a;a(Lfze;)Lcom/mojang/datafixers/util/Either;