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 fak
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 Lfak;a:Lfak$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 Lfak;b:Lfak$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 Lfak;c:Lfak$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<?>,SearchableContainer<?>> instances
      Mappings:
      Namespace Name Mixin selector
      official d Lfak;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 Ladu;a(Ladt;)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, SearchableContainer<T> value)
      Mappings:
      Namespace Name Mixin selector
      official a Lfak;a(Lfak$a;Lfah;)V
      intermediary method_4801 Lnet/minecraft/class_1124;method_4801(Lnet/minecraft/class_1124$class_1125;Lnet/minecraft/class_1123;)V
      named put Lnet/minecraft/client/search/SearchManager;put(Lnet/minecraft/client/search/SearchManager$Key;Lnet/minecraft/client/search/SearchableContainer;)V
    • get

      public <T> SearchableContainer<T> get(SearchManager.Key<T> key)
      Mappings:
      Namespace Name Mixin selector
      official a Lfak;a(Lfak$a;)Lfah;
      intermediary method_4800 Lnet/minecraft/class_1124;method_4800(Lnet/minecraft/class_1124$class_1125;)Lnet/minecraft/class_1123;
      named get Lnet/minecraft/client/search/SearchManager;get(Lnet/minecraft/client/search/SearchManager$Key;)Lnet/minecraft/client/search/SearchableContainer;