With the recipe registry now implemented in API 7, I was wondering how to view the ingredients of a specific recipe?
I can get all recipes by using
Sponge.getRegistry().getCraftingRecipeRegistry().getRecipes() (or the equivalent for smelting recipes) and then iterating over that collection, but a single recipe object of type
CraftingRecipe only tells me if an inventory isValid, and what the output of the recipe is.
The ingredients have to be specified when building the recipe with the builder, so I was expecting them to be available after the recipe is registered, but that doesn't seem to be the case - or am I missing something obvious here?
Cheers & Thanks for the help