Package net.minecraft.client.resource
Class ServerResourcePackProvider
java.lang.Object
net.minecraft.client.resource.ServerResourcePackProvider
- All Implemented Interfaces:
AutoCloseable
@Environment(CLIENT)
public class ServerResourcePackProvider
extends Object
implements AutoCloseable
- Mappings:
Namespace Name official gha
intermediary net/minecraft/class_1066
named net/minecraft/client/resource/ServerResourcePackProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ResourcePackProvider
private static final class_9039
(package private) final MinecraftClient
private ResourcePackProvider
private class_9041.class_9042
(package private) final class_9044
private final class_9028
private ResourcePackSource
private class_9039
(package private) static final Logger
private static final Text
private static final Pattern
-
Constructor Summary
ConstructorsConstructorDescriptionServerResourcePackProvider
(MinecraftClient minecraftClient, Path path, RunArgs.Network network) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
(package private) NetworkUtils.class_9034
method_55515
(int int2) private class_9038
method_55516
(class_9028 class_9028, Executor executor, Session session, Proxy proxy) private void
method_55517
(class_9041.class_9042 class_9042) method_55518
(@Nullable String string) private @Nullable List<ResourcePackProfile>
void
method_55520
(UUID uUID) void
method_55523
(UUID uUID, URL uRL, @Nullable String string) void
method_55524
(UUID uUID, Path path) private Runnable
method_55525
(Executor executor) private static class_9039
method_55527
(ClientConnection clientConnection) void
method_55528
(ClientConnection clientConnection, class_9044.class_9047 class_9047) void
private static ResourcePackProvider
method_55531
(List<ResourcePackProfile> list) method_55532
(UUID uUID) void
void
void
void
void
void
void
private class_9041
-
Field Details
-
SERVER_NAME_TEXT
- Mappings:
Namespace Name Mixin selector official a
Lgha;a:Lvf;
intermediary field_40562
Lnet/minecraft/class_1066;field_40562:Lnet/minecraft/class_2561;
named SERVER_NAME_TEXT
Lnet/minecraft/client/resource/ServerResourcePackProvider;SERVER_NAME_TEXT:Lnet/minecraft/text/Text;
-
SHA1_PATTERN
- Mappings:
Namespace Name Mixin selector official b
Lgha;b:Ljava/util/regex/Pattern;
intermediary field_5296
Lnet/minecraft/class_1066;field_5296:Ljava/util/regex/Pattern;
named SHA1_PATTERN
Lnet/minecraft/client/resource/ServerResourcePackProvider;SHA1_PATTERN:Ljava/util/regex/Pattern;
-
LOGGER
- Mappings:
Namespace Name Mixin selector official c
Lgha;c:Lorg/slf4j/Logger;
intermediary field_5298
Lnet/minecraft/class_1066;field_5298:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/client/resource/ServerResourcePackProvider;LOGGER:Lorg/slf4j/Logger;
-
field_47593
- Mappings:
Namespace Name Mixin selector official d
Lgha;d:Lapu;
intermediary field_47593
Lnet/minecraft/class_1066;field_47593:Lnet/minecraft/class_3285;
named field_47593
Lnet/minecraft/client/resource/ServerResourcePackProvider;field_47593:Lnet/minecraft/resource/ResourcePackProvider;
-
field_47594
- Mappings:
Namespace Name Mixin selector official e
Lgha;e:Lghc;
intermediary field_47594
Lnet/minecraft/class_1066;field_47594:Lnet/minecraft/class_9039;
named field_47594
Lnet/minecraft/client/resource/ServerResourcePackProvider;field_47594:Lnet/minecraft/class_9039;
-
field_47595
- Mappings:
Namespace Name Mixin selector official f
Lgha;f:Levg;
intermediary field_47595
Lnet/minecraft/class_1066;field_47595:Lnet/minecraft/class_310;
named field_47595
Lnet/minecraft/client/resource/ServerResourcePackProvider;field_47595:Lnet/minecraft/client/MinecraftClient;
-
field_47596
- Mappings:
Namespace Name Mixin selector official g
Lgha;g:Lapu;
intermediary field_47596
Lnet/minecraft/class_1066;field_47596:Lnet/minecraft/class_3285;
named field_47596
Lnet/minecraft/client/resource/ServerResourcePackProvider;field_47596:Lnet/minecraft/resource/ResourcePackProvider;
-
field_47597
- Mappings:
Namespace Name Mixin selector official h
Lgha;h:Lghd$a;
intermediary field_47597
Lnet/minecraft/class_1066;field_47597:Lnet/minecraft/class_9041$class_9042;
named field_47597
Lnet/minecraft/client/resource/ServerResourcePackProvider;field_47597:Lnet/minecraft/class_9041$class_9042;
-
field_47598
- Mappings:
Namespace Name Mixin selector official i
Lgha;i:Lghe;
intermediary field_47598
Lnet/minecraft/class_1066;field_47598:Lnet/minecraft/class_9044;
named field_47598
Lnet/minecraft/client/resource/ServerResourcePackProvider;field_47598:Lnet/minecraft/class_9044;
-
field_47599
- Mappings:
Namespace Name Mixin selector official j
Lgha;j:Laor;
intermediary field_47599
Lnet/minecraft/class_1066;field_47599:Lnet/minecraft/class_9028;
named field_47599
Lnet/minecraft/client/resource/ServerResourcePackProvider;field_47599:Lnet/minecraft/class_9028;
-
field_47600
- Mappings:
Namespace Name Mixin selector official k
Lgha;k:Lapt;
intermediary field_47600
Lnet/minecraft/class_1066;field_47600:Lnet/minecraft/class_5352;
named field_47600
Lnet/minecraft/client/resource/ServerResourcePackProvider;field_47600:Lnet/minecraft/resource/ResourcePackSource;
-
field_47601
- Mappings:
Namespace Name Mixin selector official l
Lgha;l:Lghc;
intermediary field_47601
Lnet/minecraft/class_1066;field_47601:Lnet/minecraft/class_9039;
named field_47601
Lnet/minecraft/client/resource/ServerResourcePackProvider;field_47601:Lnet/minecraft/class_9039;
-
-
Constructor Details
-
ServerResourcePackProvider
public ServerResourcePackProvider(MinecraftClient minecraftClient, Path path, RunArgs.Network network)
-
-
Method Details
-
method_55515
- Mappings:
Namespace Name Mixin selector official a
Lgha;a(I)Laue$a;
intermediary method_55515
Lnet/minecraft/class_1066;method_55515(I)Lnet/minecraft/class_3521$class_9034;
named method_55515
Lnet/minecraft/client/resource/ServerResourcePackProvider;method_55515(I)Lnet/minecraft/client/util/NetworkUtils$class_9034;
-
method_55516
private class_9038 method_55516(class_9028 class_9028, Executor executor, Session session, Proxy proxy) - Mappings:
Namespace Name Mixin selector official a
Lgha;a(Laor;Ljava/util/concurrent/Executor;Levv;Ljava/net/Proxy;)Lghb;
intermediary method_55516
Lnet/minecraft/class_1066;method_55516(Lnet/minecraft/class_9028;Ljava/util/concurrent/Executor;Lnet/minecraft/class_320;Ljava/net/Proxy;)Lnet/minecraft/class_9038;
named method_55516
Lnet/minecraft/client/resource/ServerResourcePackProvider;method_55516(Lnet/minecraft/class_9028;Ljava/util/concurrent/Executor;Lnet/minecraft/client/session/Session;Ljava/net/Proxy;)Lnet/minecraft/class_9038;
-
method_55525
- Mappings:
Namespace Name Mixin selector official a
Lgha;a(Ljava/util/concurrent/Executor;)Ljava/lang/Runnable;
intermediary method_55525
Lnet/minecraft/class_1066;method_55525(Ljava/util/concurrent/Executor;)Ljava/lang/Runnable;
named method_55525
Lnet/minecraft/client/resource/ServerResourcePackProvider;method_55525(Ljava/util/concurrent/Executor;)Ljava/lang/Runnable;
-
method_55542
- Mappings:
Namespace Name Mixin selector official j
Lgha;j()Lghd;
intermediary method_55542
Lnet/minecraft/class_1066;method_55542()Lnet/minecraft/class_9041;
named method_55542
Lnet/minecraft/client/resource/ServerResourcePackProvider;method_55542()Lnet/minecraft/class_9041;
-
method_55519
@Nullable private @Nullable List<ResourcePackProfile> method_55519(List<class_9041.class_9043> list) - Mappings:
Namespace Name Mixin selector official a
Lgha;a(Ljava/util/List;)Ljava/util/List;
intermediary method_55519
Lnet/minecraft/class_1066;method_55519(Ljava/util/List;)Ljava/util/List;
named method_55519
Lnet/minecraft/client/resource/ServerResourcePackProvider;method_55519(Ljava/util/List;)Ljava/util/List;
-
method_55514
- Mappings:
Namespace Name Mixin selector official a
Lgha;a()Lapu;
intermediary method_55514
Lnet/minecraft/class_1066;method_55514()Lnet/minecraft/class_3285;
named method_55514
Lnet/minecraft/client/resource/ServerResourcePackProvider;method_55514()Lnet/minecraft/resource/ResourcePackProvider;
-
method_55531
- Mappings:
Namespace Name Mixin selector official b
Lgha;b(Ljava/util/List;)Lapu;
intermediary method_55531
Lnet/minecraft/class_1066;method_55531(Ljava/util/List;)Lnet/minecraft/class_3285;
named method_55531
Lnet/minecraft/client/resource/ServerResourcePackProvider;method_55531(Ljava/util/List;)Lnet/minecraft/resource/ResourcePackProvider;
-
method_55517
- Mappings:
Namespace Name Mixin selector official a
Lgha;a(Lghd$a;)V
intermediary method_55517
Lnet/minecraft/class_1066;method_55517(Lnet/minecraft/class_9041$class_9042;)V
named method_55517
Lnet/minecraft/client/resource/ServerResourcePackProvider;method_55517(Lnet/minecraft/class_9041$class_9042;)V
-
method_55530
public void method_55530()- Mappings:
Namespace Name Mixin selector official b
Lgha;b()V
intermediary method_55530
Lnet/minecraft/class_1066;method_55530()V
named method_55530
Lnet/minecraft/client/resource/ServerResourcePackProvider;method_55530()V
-
method_55535
public void method_55535()- Mappings:
Namespace Name Mixin selector official c
Lgha;c()V
intermediary method_55535
Lnet/minecraft/class_1066;method_55535()V
named method_55535
Lnet/minecraft/client/resource/ServerResourcePackProvider;method_55535()V
-
method_55536
public void method_55536()- Mappings:
Namespace Name Mixin selector official d
Lgha;d()V
intermediary method_55536
Lnet/minecraft/class_1066;method_55536()V
named method_55536
Lnet/minecraft/client/resource/ServerResourcePackProvider;method_55536()V
-
method_55518
- Mappings:
Namespace Name Mixin selector official a
Lgha;a(Ljava/lang/String;)Lcom/google/common/hash/HashCode;
intermediary method_55518
Lnet/minecraft/class_1066;method_55518(Ljava/lang/String;)Lcom/google/common/hash/HashCode;
named method_55518
Lnet/minecraft/client/resource/ServerResourcePackProvider;method_55518(Ljava/lang/String;)Lcom/google/common/hash/HashCode;
-
method_55523
- Mappings:
Namespace Name Mixin selector official a
Lgha;a(Ljava/util/UUID;Ljava/net/URL;Ljava/lang/String;)V
intermediary method_55523
Lnet/minecraft/class_1066;method_55523(Ljava/util/UUID;Ljava/net/URL;Ljava/lang/String;)V
named method_55523
Lnet/minecraft/client/resource/ServerResourcePackProvider;method_55523(Ljava/util/UUID;Ljava/net/URL;Ljava/lang/String;)V
-
method_55524
- Mappings:
Namespace Name Mixin selector official a
Lgha;a(Ljava/util/UUID;Ljava/nio/file/Path;)V
intermediary method_55524
Lnet/minecraft/class_1066;method_55524(Ljava/util/UUID;Ljava/nio/file/Path;)V
named method_55524
Lnet/minecraft/client/resource/ServerResourcePackProvider;method_55524(Ljava/util/UUID;Ljava/nio/file/Path;)V
-
method_55520
- Mappings:
Namespace Name Mixin selector official a
Lgha;a(Ljava/util/UUID;)V
intermediary method_55520
Lnet/minecraft/class_1066;method_55520(Ljava/util/UUID;)V
named method_55520
Lnet/minecraft/client/resource/ServerResourcePackProvider;method_55520(Ljava/util/UUID;)V
-
method_55537
public void method_55537()- Mappings:
Namespace Name Mixin selector official e
Lgha;e()V
intermediary method_55537
Lnet/minecraft/class_1066;method_55537()V
named method_55537
Lnet/minecraft/client/resource/ServerResourcePackProvider;method_55537()V
-
method_55527
- Mappings:
Namespace Name Mixin selector official a
Lgha;a(Lug;)Lghc;
intermediary method_55527
Lnet/minecraft/class_1066;method_55527(Lnet/minecraft/class_2535;)Lnet/minecraft/class_9039;
named method_55527
Lnet/minecraft/client/resource/ServerResourcePackProvider;method_55527(Lnet/minecraft/network/ClientConnection;)Lnet/minecraft/class_9039;
-
method_55528
- Mappings:
Namespace Name Mixin selector official a
Lgha;a(Lug;Lghe$c;)V
intermediary method_55528
Lnet/minecraft/class_1066;method_55528(Lnet/minecraft/class_2535;Lnet/minecraft/class_9044$class_9047;)V
named method_55528
Lnet/minecraft/client/resource/ServerResourcePackProvider;method_55528(Lnet/minecraft/network/ClientConnection;Lnet/minecraft/class_9044$class_9047;)V
-
method_55538
public void method_55538()- Mappings:
Namespace Name Mixin selector official f
Lgha;f()V
intermediary method_55538
Lnet/minecraft/class_1066;method_55538()V
named method_55538
Lnet/minecraft/client/resource/ServerResourcePackProvider;method_55538()V
-
method_55539
public void method_55539()- Mappings:
Namespace Name Mixin selector official g
Lgha;g()V
intermediary method_55539
Lnet/minecraft/class_1066;method_55539()V
named method_55539
Lnet/minecraft/client/resource/ServerResourcePackProvider;method_55539()V
-
method_55540
public void method_55540()- Mappings:
Namespace Name Mixin selector official h
Lgha;h()V
intermediary method_55540
Lnet/minecraft/class_1066;method_55540()V
named method_55540
Lnet/minecraft/client/resource/ServerResourcePackProvider;method_55540()V
-
method_55532
- Mappings:
Namespace Name Mixin selector official b
Lgha;b(Ljava/util/UUID;)Ljava/util/concurrent/CompletableFuture;
intermediary method_55532
Lnet/minecraft/class_1066;method_55532(Ljava/util/UUID;)Ljava/util/concurrent/CompletableFuture;
named method_55532
Lnet/minecraft/client/resource/ServerResourcePackProvider;method_55532(Ljava/util/UUID;)Ljava/util/concurrent/CompletableFuture;
-
method_55541
public void method_55541()- Mappings:
Namespace Name Mixin selector official i
Lgha;i()V
intermediary method_55541
Lnet/minecraft/class_1066;method_55541()V
named method_55541
Lnet/minecraft/client/resource/ServerResourcePackProvider;method_55541()V
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
-