Step 1: Download and extract demo content
The best approach to creating a book as a datapack (as opposed to datagen) is to create a datapack from the demo book, and then modify and extend it to your needs. This saves you a lot of time and effort in manually creating a valid file structure for your book.
First, download the modonomicon source code, as it contains the demo book:
- Start by visiting https://github.com/klikli-dev/modonomicon
- Find the green "Code" button and click it. Then click "Download ZIP" at the bottom of the dropdown menu.
- Extract the ZIP file to a location of your choice.
- Remember where you extracted the files, you will need them in a future step.