Class AllowedAddressResolver

java.lang.Object
net.minecraft.client.network.AllowedAddressResolver

@Environment(CLIENT) public class AllowedAddressResolver extends Object
Mappings:
Namespace Name
named net/minecraft/client/network/AllowedAddressResolver
intermediary net/minecraft/class_6370
official fzp
  • Field Details

    • DEFAULT

      public static final AllowedAddressResolver DEFAULT
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT Lnet/minecraft/client/network/AllowedAddressResolver;DEFAULT:Lnet/minecraft/client/network/AllowedAddressResolver;
      intermediary field_33745 Lnet/minecraft/class_6370;field_33745:Lnet/minecraft/class_6370;
      official a Lfzp;a:Lfzp;
    • addressResolver

      private final AddressResolver addressResolver
      Mappings:
      Namespace Name Mixin selector
      named addressResolver Lnet/minecraft/client/network/AllowedAddressResolver;addressResolver:Lnet/minecraft/client/network/AddressResolver;
      intermediary field_33746 Lnet/minecraft/class_6370;field_33746:Lnet/minecraft/class_6369;
      official b Lfzp;b:Lfzo;
    • redirectResolver

      private final RedirectResolver redirectResolver
      Mappings:
      Namespace Name Mixin selector
      named redirectResolver Lnet/minecraft/client/network/AllowedAddressResolver;redirectResolver:Lnet/minecraft/client/network/RedirectResolver;
      intermediary field_33747 Lnet/minecraft/class_6370;field_33747:Lnet/minecraft/class_6371;
      official c Lfzp;c:Lfzq;
    • blockListChecker

      private final BlockListChecker blockListChecker
      Mappings:
      Namespace Name Mixin selector
      named blockListChecker Lnet/minecraft/client/network/AllowedAddressResolver;blockListChecker:Lnet/minecraft/client/network/BlockListChecker;
      intermediary field_33847 Lnet/minecraft/class_6370;field_33847:Lnet/minecraft/class_6394;
      official d Lfzp;d:Lfzl;
  • Constructor Details

    • AllowedAddressResolver

      AllowedAddressResolver(AddressResolver addressResolver, RedirectResolver redirectResolver, BlockListChecker blockListChecker)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/network/AllowedAddressResolver;<init>(Lnet/minecraft/client/network/AddressResolver;Lnet/minecraft/client/network/RedirectResolver;Lnet/minecraft/client/network/BlockListChecker;)V
      intermediary <init> Lnet/minecraft/class_6370;<init>(Lnet/minecraft/class_6369;Lnet/minecraft/class_6371;Lnet/minecraft/class_6394;)V
      official <init> Lfzp;<init>(Lfzo;Lfzq;Lfzl;)V
  • Method Details

    • resolve

      public Optional<Address> resolve(ServerAddress address)
      Mappings:
      Namespace Name Mixin selector
      named resolve Lnet/minecraft/client/network/AllowedAddressResolver;resolve(Lnet/minecraft/client/network/ServerAddress;)Ljava/util/Optional;
      intermediary method_36907 Lnet/minecraft/class_6370;method_36907(Lnet/minecraft/class_639;)Ljava/util/Optional;
      official a Lfzp;a(Lfzn;)Ljava/util/Optional;