this doesn't compile yet, but have something to peek at
This commit is contained in:
parent
973f1019a5
commit
5fcdd978d7
329 changed files with 3247 additions and 2953 deletions
|
@ -1,17 +1,17 @@
|
|||
package WayofTime.bloodmagic.util.helper;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.crafting.CraftingManager;
|
||||
import net.minecraft.item.crafting.IRecipe;
|
||||
import WayofTime.bloodmagic.api.recipe.TartaricForgeRecipe;
|
||||
import WayofTime.bloodmagic.api.registry.AltarRecipeRegistry;
|
||||
import WayofTime.bloodmagic.api.registry.TartaricForgeRecipeRegistry;
|
||||
import net.minecraftforge.fml.common.registry.ForgeRegistries;
|
||||
|
||||
public class RecipeHelper
|
||||
{
|
||||
public static IRecipe getRecipeForOutput(ItemStack stack)
|
||||
{
|
||||
for (IRecipe recipe : CraftingManager.getInstance().getRecipeList())
|
||||
for (IRecipe recipe : ForgeRegistries.RECIPES.getValues())
|
||||
{
|
||||
if (recipe != null)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue