Class AllowedAddressResolver

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

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

    • DEFAULT

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

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

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

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

    • AllowedAddressResolver

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

    • resolve

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