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 flj
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 Lflj;a:Lflj$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 Lflj;b:Lflj$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 Lflj;c:Lflj$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 Lflj;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 Lahv;a(Lahu;)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 Lflj;a(Lflj$a;Lflj$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 Lflj;b(Lflj$a;)Lflj$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 Lflj;a(Lflj$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 Lflj;a(Lflj$a;)Lflk;
      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;