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
official foq$a
intermediary net/minecraft/class_8773$class_8774
named net/minecraft/client/session/report/UsernameAbuseReport$Builder
  • Constructor Details

    • Builder

      public Builder(UsernameAbuseReport report, com.mojang.authlib.minecraft.report.AbuseReportLimits limits)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfoq$a;<init>(Lfoq;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
      named <init> Lnet/minecraft/client/session/report/UsernameAbuseReport$Builder;<init>(Lnet/minecraft/client/session/report/UsernameAbuseReport;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
      official <init> Lfoq$a;<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
      named <init> Lnet/minecraft/client/session/report/UsernameAbuseReport$Builder;<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
      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

      Specified by:
      validate in class AbuseReport.Builder<UsernameAbuseReport>
      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 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
      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;