Class UploadInfo

java.lang.Object
net.minecraft.client.realms.dto.ValueObject
net.minecraft.client.realms.dto.UploadInfo

@Environment(CLIENT)
public class UploadInfo
extends ValueObject
Mappings:
Namespace Name
official dng
intermediary net/minecraft/class_4888
named net/minecraft/client/realms/dto/UploadInfo
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Ldng;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_22657 Lnet/minecraft/class_4888;field_22657:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/realms/dto/UploadInfo;LOGGER:Lorg/apache/logging/log4j/Logger;
    • field_26467

      private static final Pattern field_26467
      Mappings:
      Namespace Name Mixin selector
      official b Ldng;b:Ljava/util/regex/Pattern;
      intermediary field_26467 Lnet/minecraft/class_4888;field_26467:Ljava/util/regex/Pattern;
      named field_26467 Lnet/minecraft/client/realms/dto/UploadInfo;field_26467:Ljava/util/regex/Pattern;
    • worldClosed

      private final boolean worldClosed
      Mappings:
      Namespace Name Mixin selector
      official c Ldng;c:Z
      intermediary field_22658 Lnet/minecraft/class_4888;field_22658:Z
      named worldClosed Lnet/minecraft/client/realms/dto/UploadInfo;worldClosed:Z
    • token

      @Nullable private final String token
      Mappings:
      Namespace Name Mixin selector
      official d Ldng;d:Ljava/lang/String;
      intermediary field_22659 Lnet/minecraft/class_4888;field_22659:Ljava/lang/String;
      named token Lnet/minecraft/client/realms/dto/UploadInfo;token:Ljava/lang/String;
    • uploadEndpoint

      private final URI uploadEndpoint
      Mappings:
      Namespace Name Mixin selector
      official e Ldng;e:Ljava/net/URI;
      intermediary field_22660 Lnet/minecraft/class_4888;field_22660:Ljava/net/URI;
      named uploadEndpoint Lnet/minecraft/client/realms/dto/UploadInfo;uploadEndpoint:Ljava/net/URI;
  • Constructor Details

    • UploadInfo

      private UploadInfo​(boolean worldClosed, @Nullable String token, URI uploadEndpoint)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldng;<init>(ZLjava/lang/String;Ljava/net/URI;)V
      intermediary <init> Lnet/minecraft/class_4888;<init>(ZLjava/lang/String;Ljava/net/URI;)V
      named <init> Lnet/minecraft/client/realms/dto/UploadInfo;<init>(ZLjava/lang/String;Ljava/net/URI;)V
  • Method Details

    • parse

      @Nullable public static UploadInfo parse​(String json)
      Mappings:
      Namespace Name Mixin selector
      official a Ldng;a(Ljava/lang/String;)Ldng;
      intermediary method_25088 Lnet/minecraft/class_4888;method_25088(Ljava/lang/String;)Lnet/minecraft/class_4888;
      named parse Lnet/minecraft/client/realms/dto/UploadInfo;parse(Ljava/lang/String;)Lnet/minecraft/client/realms/dto/UploadInfo;
    • method_30862

      @Nullable public static URI method_30862​(String string, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Ldng;a(Ljava/lang/String;I)Ljava/net/URI;
      intermediary method_30862 Lnet/minecraft/class_4888;method_30862(Ljava/lang/String;I)Ljava/net/URI;
      named method_30862 Lnet/minecraft/client/realms/dto/UploadInfo;method_30862(Ljava/lang/String;I)Ljava/net/URI;
    • method_30861

      private static int method_30861​(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official a Ldng;a(II)I
      intermediary method_30861 Lnet/minecraft/class_4888;method_30861(II)I
      named method_30861 Lnet/minecraft/client/realms/dto/UploadInfo;method_30861(II)I
    • method_30863

      private static String method_30863​(String string, Matcher matcher)
      Mappings:
      Namespace Name Mixin selector
      official a Ldng;a(Ljava/lang/String;Ljava/util/regex/Matcher;)Ljava/lang/String;
      intermediary method_30863 Lnet/minecraft/class_4888;method_30863(Ljava/lang/String;Ljava/util/regex/Matcher;)Ljava/lang/String;
      named method_30863 Lnet/minecraft/client/realms/dto/UploadInfo;method_30863(Ljava/lang/String;Ljava/util/regex/Matcher;)Ljava/lang/String;
    • createRequestContent

      public static String createRequestContent​(@Nullable String token)
      Mappings:
      Namespace Name Mixin selector
      official b Ldng;b(Ljava/lang/String;)Ljava/lang/String;
      intermediary method_30864 Lnet/minecraft/class_4888;method_30864(Ljava/lang/String;)Ljava/lang/String;
      named createRequestContent Lnet/minecraft/client/realms/dto/UploadInfo;createRequestContent(Ljava/lang/String;)Ljava/lang/String;
    • getToken

      @Nullable public String getToken()
      Mappings:
      Namespace Name Mixin selector
      official a Ldng;a()Ljava/lang/String;
      intermediary method_25087 Lnet/minecraft/class_4888;method_25087()Ljava/lang/String;
      named getToken Lnet/minecraft/client/realms/dto/UploadInfo;getToken()Ljava/lang/String;
    • getUploadEndpoint

      public URI getUploadEndpoint()
      Mappings:
      Namespace Name Mixin selector
      official b Ldng;b()Ljava/net/URI;
      intermediary method_25089 Lnet/minecraft/class_4888;method_25089()Ljava/net/URI;
      named getUploadEndpoint Lnet/minecraft/client/realms/dto/UploadInfo;getUploadEndpoint()Ljava/net/URI;
    • isWorldClosed

      public boolean isWorldClosed()
      Mappings:
      Namespace Name Mixin selector
      official c Ldng;c()Z
      intermediary method_25091 Lnet/minecraft/class_4888;method_25091()Z
      named isWorldClosed Lnet/minecraft/client/realms/dto/UploadInfo;isWorldClosed()Z