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 fju$a
intermediary net/minecraft/class_8773$class_8774
named net/minecraft/client/session/report/UsernameAbuseReport$Builder
-
Field Summary
Fields inherited from class net.minecraft.client.session.report.AbuseReport.Builder
limits, report
-
Constructor Summary
ConstructorDescriptionBuilder
(UUID reportedPlayerUuid, String username, com.mojang.authlib.minecraft.report.AbuseReportLimits limits) Builder
(UsernameAbuseReport report, com.mojang.authlib.minecraft.report.AbuseReportLimits limits) -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<AbuseReport.ReportWithId,
AbuseReport.ValidationError> build
(AbuseReportContext context) boolean
validate()
Methods inherited from class net.minecraft.client.session.report.AbuseReport.Builder
getOpinionComments, getReason, getReport, getReportedPlayerUuid, setOpinionComments, setReason
-
Constructor Details
-
Builder
public Builder(UsernameAbuseReport report, com.mojang.authlib.minecraft.report.AbuseReportLimits limits) - Mappings:
Namespace Name Mixin selector official <init>
Lfju$a;<init>(Lfju;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>
Lfju$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 classAbuseReport.Builder<UsernameAbuseReport>
- Mappings:
Namespace Name Mixin selector official b
Lfjv$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 classAbuseReport.Builder<UsernameAbuseReport>
- Mappings:
Namespace Name Mixin selector official c
Lfjv$a;c()Lfjv$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 classAbuseReport.Builder<UsernameAbuseReport>
- Mappings:
Namespace Name Mixin selector official a
Lfjv$a;a(Lfjz;)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;
-