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 ffs
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 Lffs;a:Lorg/slf4j/Logger;
      intermediary field_33749 Lnet/minecraft/class_6371;field_33749:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/client/network/RedirectResolver;LOGGER:Lorg/slf4j/Logger;
    • INVALID

      static final RedirectResolver INVALID
      Mappings:
      Namespace Name Mixin selector
      official b Lffs;b:Lffs;
      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 Lffs;lookupRedirect(Lffp;)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 Lffs;createDnsSrvRedirectHandler()Lffs;
      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;