I am trying to write my own mod that adds a few useful recipes to the game, but I can't figure out how to add the enchanted book recipes (with enchantments on them). I thought that I can add this recipe to the game using JSON file, but it does not support this feature.
Are there any ways to add this recipe to the game. I am new to coding minecraft mods, so sorry for this question in advance. Any help is welcome and, if possible, with examples.
Thanks.