#How to datagen custom smithing recipes?

4 messages · Page 1 of 1 (latest)

obsidian sequoia
#

Hi! I'm fairly new to modding in general but I've figured out datagen, and was wondering if there's a way to make a custom smithing recipe datagen? (As in, I have a template for another material to put on tools.)

#

i really do not want to make all of those json files by hand snif

wide stratus
#

generator.offerSmithingTrimRecipe

#

if you need a custom smithing upgrade recipe, look at how offerNetheriteUpgradeRecipe uses SmithingTransformRecipeJsonBuilder and build your own recipe from the SmithingTransformRecipeJsonBuilder (or your own helper to do it for you)