As with models and tags, recipes also have subtypes, for now digitality only supports shapeless crafting recipes, but we are aiming to expand the support in the future.
Shapeless crafting
data.shapelessRecipe("<recipe id>",newItemTemplate("<item name>","<item count (optional)>"),<ArrayList of ingredient names/ingredient 1>,"<ingredient 2>"...);
Example
// This code registers the "funnymod:test" recipe that produces 2 sticks and uses a diamond block and a golden carrot as the ingredientsVirtualDataPack data =newVirtualDataPack("funnymod");data.shapelessRecipe("test",newItemTemplate("minecraft:stick",2),"minecraft:diamond_block","minecraft:golden_carrot");