In the past I did it by calling GameRegistry.addRecipe(...) and passed the ShapelessOreRecipe. The method no longer exists. I have tried registering a recipe like one normally would, but creating a ShapelessOreRecipe and then getting the ingredients with
shapelessOreRecipe.getIngredients()
one by one. Didn't work. I also tried
CraftingHelper.getIngredient()
with the string of the ore recipe. Didn't work either.
How would I go about it?