Class NetworkUtils

java.lang.Object
net.minecraft.client.util.NetworkUtils

public class NetworkUtils
extends Object
Mappings:
Namespace Name
official afx
intermediary net/minecraft/class_3521
named net/minecraft/client/util/NetworkUtils
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lafx;b:Lorg/apache/logging/log4j/Logger;
      intermediary field_15665 Lnet/minecraft/class_3521;field_15665:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/util/NetworkUtils;LOGGER:Lorg/apache/logging/log4j/Logger;
    • downloadExecutor

      public static final ListeningExecutorService downloadExecutor
      Mappings:
      Namespace Name Mixin selector
      official a Lafx;a:Lcom/google/common/util/concurrent/ListeningExecutorService;
      intermediary field_15664 Lnet/minecraft/class_3521;field_15664:Lcom/google/common/util/concurrent/ListeningExecutorService;
      named downloadExecutor Lnet/minecraft/client/util/NetworkUtils;downloadExecutor:Lcom/google/common/util/concurrent/ListeningExecutorService;
  • Constructor Details

    • NetworkUtils

      public NetworkUtils()
  • Method Details

    • download

      @Environment(CLIENT) public static CompletableFuture<?> download​(File file, String string, Map<String,​String> map, int int2, @Nullable ProgressListener progressListener, Proxy proxy)
      Mappings:
      Namespace Name Mixin selector
      official a Lafx;a(Ljava/io/File;Ljava/lang/String;Ljava/util/Map;ILagd;Ljava/net/Proxy;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_15301 Lnet/minecraft/class_3521;method_15301(Ljava/io/File;Ljava/lang/String;Ljava/util/Map;ILnet/minecraft/class_3536;Ljava/net/Proxy;)Ljava/util/concurrent/CompletableFuture;
      named download Lnet/minecraft/client/util/NetworkUtils;download(Ljava/io/File;Ljava/lang/String;Ljava/util/Map;ILnet/minecraft/util/ProgressListener;Ljava/net/Proxy;)Ljava/util/concurrent/CompletableFuture;
    • findLocalPort

      public static int findLocalPort()
      Mappings:
      Namespace Name Mixin selector
      official a Lafx;a()I
      intermediary method_15302 Lnet/minecraft/class_3521;method_15302()I
      named findLocalPort Lnet/minecraft/client/util/NetworkUtils;findLocalPort()I