Class RecipeUtil

java.lang.Object
com.hrznstudio.titanium.util.RecipeUtil

public class RecipeUtil extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Collection<net.minecraft.world.item.crafting.SmeltingRecipe>
    getCookingRecipes(net.minecraft.world.level.Level world)
     
    static <T extends net.minecraft.world.item.crafting.Recipe<?>>
    List<T>
    getRecipes(net.minecraft.world.level.Level world, net.minecraft.world.item.crafting.RecipeType<T> recipeType)
     
    static net.minecraft.world.item.crafting.SmeltingRecipe
    getSmelingRecipeFor(net.minecraft.world.level.Level world, net.minecraft.world.item.ItemStack stack)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RecipeUtil

      public RecipeUtil()
  • Method Details

    • getRecipes

      public static <T extends net.minecraft.world.item.crafting.Recipe<?>> List<T> getRecipes(net.minecraft.world.level.Level world, net.minecraft.world.item.crafting.RecipeType<T> recipeType)
    • getCookingRecipes

      public static Collection<net.minecraft.world.item.crafting.SmeltingRecipe> getCookingRecipes(net.minecraft.world.level.Level world)
    • getSmelingRecipeFor

      @Nullable public static net.minecraft.world.item.crafting.SmeltingRecipe getSmelingRecipeFor(net.minecraft.world.level.Level world, net.minecraft.world.item.ItemStack stack)