Interface RedirectResolver

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface @Environment(CLIENT) public interface RedirectResolver
Mappings:
Namespace Name
official elm
intermediary net/minecraft/class_6371
named net/minecraft/client/network/RedirectResolver
  • Field Details

    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lelm;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_33749 Lnet/minecraft/class_6371;field_33749:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/network/RedirectResolver;LOGGER:Lorg/apache/logging/log4j/Logger;
    • INVALID

      static final RedirectResolver INVALID
      Mappings:
      Namespace Name Mixin selector
      official b Lelm;b:Lelm;
      intermediary field_33750 Lnet/minecraft/class_6371;field_33750:Lnet/minecraft/class_6371;
      named INVALID Lnet/minecraft/client/network/RedirectResolver;INVALID:Lnet/minecraft/client/network/RedirectResolver;
  • Method Details

    • lookupRedirect

      Optional<ServerAddress> lookupRedirect(ServerAddress address)
      Mappings:
      Namespace Name Mixin selector
      official lookupRedirect Lelm;lookupRedirect(Lelj;)Ljava/util/Optional;
      intermediary lookupRedirect Lnet/minecraft/class_6371;lookupRedirect(Lnet/minecraft/class_639;)Ljava/util/Optional;
      named lookupRedirect Lnet/minecraft/client/network/RedirectResolver;lookupRedirect(Lnet/minecraft/client/network/ServerAddress;)Ljava/util/Optional;
    • createSrv

      static RedirectResolver createSrv()
      Mappings:
      Namespace Name Mixin selector
      official createDnsSrvRedirectHandler Lelm;createDnsSrvRedirectHandler()Lelm;
      intermediary method_36909 Lnet/minecraft/class_6371;method_36909()Lnet/minecraft/class_6371;
      named createSrv Lnet/minecraft/client/network/RedirectResolver;createSrv()Lnet/minecraft/client/network/RedirectResolver;