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 cdq$a
intermediary net/minecraft/class_1863$class_7266
named net/minecraft/recipe/RecipeManager$MatchGetter
  • Method Summary

    Modifier and Type
    Method
    Description
    getFirstMatch(C inventory, World world)
     
  • Method Details

    • getFirstMatch

      Optional<T> getFirstMatch(C inventory, World world)
      Mappings:
      Namespace Name Mixin selector
      official a Lcdq$a;a(Lbac;Lcgx;)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;