Class UploadResult.Builder

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

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

    • statusCode

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

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

    • Builder

      public Builder()
  • Method Details

    • withStatusCode

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

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

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