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 ewc
intermediary net/minecraft/class_6371
named net/minecraft/client/network/RedirectResolver
  • Field Details

    • LOGGER

      static final org.slf4j.Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lewc;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 Lewc;b:Lewc;
      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 Lewc;lookupRedirect(Levz;)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 Lewc;createDnsSrvRedirectHandler()Lewc;
      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;