Class SearchManager

java.lang.Object
net.minecraft.client.search.SearchManager
All Implemented Interfaces:
ResourceReloader, SynchronousResourceReloader

@Environment(CLIENT) public class SearchManager extends Object implements SynchronousResourceReloader
Mappings:
Namespace Name
official fnh
intermediary net/minecraft/class_1124
named net/minecraft/client/search/SearchManager
  • Field Details

    • ITEM_TOOLTIP

      public static final SearchManager.Key<ItemStack> ITEM_TOOLTIP
      Mappings:
      Namespace Name Mixin selector
      official a Lfnh;a:Lfnh$a;
      intermediary field_5495 Lnet/minecraft/class_1124;field_5495:Lnet/minecraft/class_1124$class_1125;
      named ITEM_TOOLTIP Lnet/minecraft/client/search/SearchManager;ITEM_TOOLTIP:Lnet/minecraft/client/search/SearchManager$Key;
    • ITEM_TAG

      public static final SearchManager.Key<ItemStack> ITEM_TAG
      Mappings:
      Namespace Name Mixin selector
      official b Lfnh;b:Lfnh$a;
      intermediary field_5494 Lnet/minecraft/class_1124;field_5494:Lnet/minecraft/class_1124$class_1125;
      named ITEM_TAG Lnet/minecraft/client/search/SearchManager;ITEM_TAG:Lnet/minecraft/client/search/SearchManager$Key;
    • RECIPE_OUTPUT

      public static final SearchManager.Key<RecipeResultCollection> RECIPE_OUTPUT
      Mappings:
      Namespace Name Mixin selector
      official c Lfnh;c:Lfnh$a;
      intermediary field_5496 Lnet/minecraft/class_1124;field_5496:Lnet/minecraft/class_1124$class_1125;
      named RECIPE_OUTPUT Lnet/minecraft/client/search/SearchManager;RECIPE_OUTPUT:Lnet/minecraft/client/search/SearchManager$Key;
    • instances

      private final Map<SearchManager.Key<?>,SearchManager.Instance<?>> instances
      Mappings:
      Namespace Name Mixin selector
      official d Lfnh;d:Ljava/util/Map;
      intermediary field_5493 Lnet/minecraft/class_1124;field_5493:Ljava/util/Map;
      named instances Lnet/minecraft/client/search/SearchManager;instances:Ljava/util/Map;
  • Constructor Details

    • SearchManager

      public SearchManager()
  • Method Details

    • reload

      public void reload(ResourceManager manager)
      Performs the reload in the apply executor, or the game engine.
      Specified by:
      reload in interface SynchronousResourceReloader
      Parameters:
      manager - the resource manager
      Mappings:
      Namespace Name Mixin selector
      official a Lain;a(Laim;)V
      intermediary method_14491 Lnet/minecraft/class_4013;method_14491(Lnet/minecraft/class_3300;)V
      named reload Lnet/minecraft/resource/SynchronousResourceReloader;reload(Lnet/minecraft/resource/ResourceManager;)V
    • put

      public <T> void put(SearchManager.Key<T> key, SearchManager.ProviderGetter<T> providerGetter)
      Mappings:
      Namespace Name Mixin selector
      official a Lfnh;a(Lfnh$a;Lfnh$b;)V
      intermediary method_4801 Lnet/minecraft/class_1124;method_4801(Lnet/minecraft/class_1124$class_1125;Lnet/minecraft/class_1124$class_7456;)V
      named put Lnet/minecraft/client/search/SearchManager;put(Lnet/minecraft/client/search/SearchManager$Key;Lnet/minecraft/client/search/SearchManager$ProviderGetter;)V
    • getInstance

      private <T> SearchManager.Instance<T> getInstance(SearchManager.Key<T> key)
      Mappings:
      Namespace Name Mixin selector
      official b Lfnh;b(Lfnh$a;)Lfnh$c;
      intermediary method_43805 Lnet/minecraft/class_1124;method_43805(Lnet/minecraft/class_1124$class_1125;)Lnet/minecraft/class_1124$class_7457;
      named getInstance Lnet/minecraft/client/search/SearchManager;getInstance(Lnet/minecraft/client/search/SearchManager$Key;)Lnet/minecraft/client/search/SearchManager$Instance;
    • reload

      public <T> void reload(SearchManager.Key<T> key, List<T> values)
      Mappings:
      Namespace Name Mixin selector
      official a Lfnh;a(Lfnh$a;Ljava/util/List;)V
      intermediary method_43804 Lnet/minecraft/class_1124;method_43804(Lnet/minecraft/class_1124$class_1125;Ljava/util/List;)V
      named reload Lnet/minecraft/client/search/SearchManager;reload(Lnet/minecraft/client/search/SearchManager$Key;Ljava/util/List;)V
    • get

      public <T> SearchProvider<T> get(SearchManager.Key<T> key)
      Mappings:
      Namespace Name Mixin selector
      official a Lfnh;a(Lfnh$a;)Lfni;
      intermediary method_4800 Lnet/minecraft/class_1124;method_4800(Lnet/minecraft/class_1124$class_1125;)Lnet/minecraft/class_1129;
      named get Lnet/minecraft/client/search/SearchManager;get(Lnet/minecraft/client/search/SearchManager$Key;)Lnet/minecraft/client/search/SearchProvider;