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

    • LOGGER

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

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

    • lookupRedirect

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

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