类 UploadInfo


  • @Environment(CLIENT)
    public class UploadInfo
    extends ValueObject
    Mappings:
    Namespace Name
    official dra
    intermediary net/minecraft/class_4888
    named net/minecraft/client/realms/dto/UploadInfo
    • 字段详细资料

      • LOGGER

        private static final Logger LOGGER
        Mappings:
        Namespace Name Mixin selector
        official a Ldra;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_32116

        private static final String field_32116
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official b Ldra;b:Ljava/lang/String;
        intermediary field_32116 Lnet/minecraft/class_4888;field_32116:Ljava/lang/String;
        named field_32116 Lnet/minecraft/client/realms/dto/UploadInfo;field_32116:Ljava/lang/String;
      • field_32117

        private static final int field_32117
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official c Ldra;c:I
        intermediary field_32117 Lnet/minecraft/class_4888;field_32117:I
        named field_32117 Lnet/minecraft/client/realms/dto/UploadInfo;field_32117:I
      • field_26467

        private static final Pattern field_26467
        Mappings:
        Namespace Name Mixin selector
        official d Ldra;d: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 e Ldra;e: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 @Nullable String token
        Mappings:
        Namespace Name Mixin selector
        official f Ldra;f: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 g Ldra;g: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;
    • 构造器详细资料

      • UploadInfo

        private UploadInfo​(boolean worldClosed,
                           @Nullable
                           @Nullable String token,
                           URI uploadEndpoint)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldra;<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
    • 方法详细资料

      • parse

        @Nullable
        public static @Nullable UploadInfo parse​(String json)
        Mappings:
        Namespace Name Mixin selector
        official a Ldra;a(Ljava/lang/String;)Ldra;
        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 @Nullable URI method_30862​(String string,
                                                 int int2)
        Mappings:
        Namespace Name Mixin selector
        official a Ldra;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 Ldra;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 Ldra;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
                                                  @Nullable String token)
        Mappings:
        Namespace Name Mixin selector
        official b Ldra;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 @Nullable String getToken()
        Mappings:
        Namespace Name Mixin selector
        official a Ldra;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 Ldra;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 Ldra;c()Z
        intermediary method_25091 Lnet/minecraft/class_4888;method_25091()Z
        named isWorldClosed Lnet/minecraft/client/realms/dto/UploadInfo;isWorldClosed()Z