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
named net/minecraft/client/search/SearchManager
intermediary net/minecraft/class_1124
official gtb
  • Field Details

    • ITEM_TOOLTIP

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

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

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

      private final Map<SearchManager.Key<?>,SearchManager.Instance<?>> instances
      Mappings:
      Namespace Name Mixin selector
      named instances Lnet/minecraft/client/search/SearchManager;instances:Ljava/util/Map;
      intermediary field_5493 Lnet/minecraft/class_1124;field_5493:Ljava/util/Map;
      official d Lgtb;d: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
      named reload Lnet/minecraft/resource/SynchronousResourceReloader;reload(Lnet/minecraft/resource/ResourceManager;)V
      intermediary method_14491 Lnet/minecraft/class_4013;method_14491(Lnet/minecraft/class_3300;)V
      official a Lauq;a(Laup;)V
    • put

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

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

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

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