Package com.hbm_m.recipe
Class AnvilRecipeManager
java.lang.Object
com.hbm_m.recipe.AnvilRecipeManager
-
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<AnvilRecipe>findRecipe(net.minecraft.world.level.Level level, net.minecraft.world.item.ItemStack slotA, net.minecraft.world.item.ItemStack slotB, AnvilTier tier) static List<AnvilRecipe>getAllRecipes(net.minecraft.world.level.Level level) static List<AnvilRecipe>static Optional<AnvilRecipe>getRecipe(net.minecraft.world.level.Level level, net.minecraft.resources.ResourceLocation id) static List<AnvilRecipe>searchRecipes(net.minecraft.world.level.Level level, String query)
-
Method Details
-
getAllRecipes
-
getClientRecipes
-
searchRecipes
-
findRecipe
public static Optional<AnvilRecipe> findRecipe(net.minecraft.world.level.Level level, net.minecraft.world.item.ItemStack slotA, net.minecraft.world.item.ItemStack slotB, AnvilTier tier) -
getRecipe
public static Optional<AnvilRecipe> getRecipe(net.minecraft.world.level.Level level, net.minecraft.resources.ResourceLocation id)
-