Interface RecipeManager.MatchGetter<C extends Inventory,T extends Recipe<C>>

Enclosing class:
RecipeManager

public static interface RecipeManager.MatchGetter<C extends Inventory,T extends Recipe<C>>
Mappings:
Namespace Name
official cml$a
intermediary net/minecraft/class_1863$class_7266
named net/minecraft/recipe/RecipeManager$MatchGetter
  • Method Details

    • getFirstMatch

      Optional<RecipeEntry<T>> getFirstMatch(C inventory, World world)
      Mappings:
      Namespace Name Mixin selector
      official a Lcml$a;a(Lbgr;Lcpv;)Ljava/util/Optional;
      intermediary method_42303 Lnet/minecraft/class_1863$class_7266;method_42303(Lnet/minecraft/class_1263;Lnet/minecraft/class_1937;)Ljava/util/Optional;
      named getFirstMatch Lnet/minecraft/recipe/RecipeManager$MatchGetter;getFirstMatch(Lnet/minecraft/inventory/Inventory;Lnet/minecraft/world/World;)Ljava/util/Optional;