Class IngredientRecipeHelpers

java.lang.Object
org.cyclops.cyclopscore.ingredient.recipe.IngredientRecipeHelpers

public class IngredientRecipeHelpers extends Object
Helpers for the conversion between IRecipeDefinition and Recipe.
  • Constructor Details

    • IngredientRecipeHelpers

      public IngredientRecipeHelpers()
  • Method Details

    • getPrototypesFromIngredient

      public static IPrototypedIngredientAlternatives<net.minecraft.world.item.ItemStack,Integer> getPrototypesFromIngredient(net.minecraft.world.item.crafting.Ingredient ingredient)
      Create prototyped ingredient alternatives from the given ingredient.
      Parameters:
      ingredient - An ingredient.
      Returns:
      Prototyped alternatives.