Class UploadResult.Builder

java.lang.Object
net.minecraft.client.realms.util.UploadResult.Builder
Enclosing class:
UploadResult

@Environment(CLIENT) public static class UploadResult.Builder extends Object
Mappings:
Namespace Name
named net/minecraft/client/realms/util/UploadResult$Builder
intermediary net/minecraft/class_4429$class_4430
official fkm$a
  • Field Details

    • statusCode

      private int statusCode
      Mappings:
      Namespace Name Mixin selector
      named statusCode Lnet/minecraft/client/realms/util/UploadResult$Builder;statusCode:I
      intermediary field_20207 Lnet/minecraft/class_4429$class_4430;field_20207:I
      official a Lfkm$a;a:I
    • errorMessage

      private String errorMessage
      Mappings:
      Namespace Name Mixin selector
      named errorMessage Lnet/minecraft/client/realms/util/UploadResult$Builder;errorMessage:Ljava/lang/String;
      intermediary field_20208 Lnet/minecraft/class_4429$class_4430;field_20208:Ljava/lang/String;
      official b Lfkm$a;b:Ljava/lang/String;
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • withStatusCode

      public UploadResult.Builder withStatusCode(int statusCode)
      Mappings:
      Namespace Name Mixin selector
      named withStatusCode Lnet/minecraft/client/realms/util/UploadResult$Builder;withStatusCode(I)Lnet/minecraft/client/realms/util/UploadResult$Builder;
      intermediary method_21542 Lnet/minecraft/class_4429$class_4430;method_21542(I)Lnet/minecraft/class_4429$class_4430;
      official a Lfkm$a;a(I)Lfkm$a;
    • withErrorMessage

      public UploadResult.Builder withErrorMessage(@Nullable @Nullable String errorMessage)
      Mappings:
      Namespace Name Mixin selector
      named withErrorMessage Lnet/minecraft/client/realms/util/UploadResult$Builder;withErrorMessage(Ljava/lang/String;)Lnet/minecraft/client/realms/util/UploadResult$Builder;
      intermediary method_21543 Lnet/minecraft/class_4429$class_4430;method_21543(Ljava/lang/String;)Lnet/minecraft/class_4429$class_4430;
      official a Lfkm$a;a(Ljava/lang/String;)Lfkm$a;
    • build

      public UploadResult build()
      Mappings:
      Namespace Name Mixin selector
      named build Lnet/minecraft/client/realms/util/UploadResult$Builder;build()Lnet/minecraft/client/realms/util/UploadResult;
      intermediary method_21541 Lnet/minecraft/class_4429$class_4430;method_21541()Lnet/minecraft/class_4429;
      official a Lfkm$a;a()Lfkm;