/* * Roughly Enough Items by Danielshe. * Licensed under the MIT License. */ package me.shedaniel.rei.api; import net.minecraft.item.ItemStack; import net.minecraft.util.Identifier; import java.util.List; import java.util.Optional; public interface LiveRecipeGenerator { Identifier getCategoryIdentifier(); Optional> getRecipeFor(ItemStack stack); Optional> getUsageFor(ItemStack stack); }