/* * 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(); @Deprecated default Optional> getRecipeFor(ItemStack stack) { return Optional.empty(); } default Optional> getRecipeFor(EntryStack entry) { return Optional.empty(); } @Deprecated default Optional> getUsageFor(ItemStack stack) { return Optional.empty(); } default Optional> getUsageFor(EntryStack entry) { return Optional.empty(); } }