Skip to content

Adding Books

SaphieNyako edited this page May 18, 2026 · 3 revisions

Make a datapack with the following structure;

Example Structure

└── data
    └── lore_master
        └── lore_master_books
             └── books.json

You can copy/paste the json file; Books 1.20.1 Forge

Books 1.21.1 NeoForge

1.20.1 Forge:

You can add any item if needed

{
    "mod": "feywild",
    "item": "feywild:feywild_lexicon",
    "count": 1
  }

"mod"

Add the name of the mod the item/guide book belongs too. This has to be the source name. If the mod is not installed or if the item doesnt excist it won't be added.

"item"

The item uses the Resource name in minecraft. For Patchouli books this is a bit more complex and we use NBT.

"count"

You can add a stack if needed but the default should be "1".

nbt/patchouli

Example:

{
    "mod": "naturesaura",
    "item": "patchouli:guide_book",
    "nbt": {
      "patchouli:book": "naturesaura:book"
    },
    "count": 1
  }

Since it's a patchouli book the item should reference to "patchouli:guide_book" Depending on how the book's resourcelocation is registered in the mod you add it's resource location behind "patchouli:book":

Tip: It helps to look at the source code of a mod at assets/models/items to see how the book is named in the mod. Or use F3 H to toggle Advanced Tooltips. This will show the resourceloation of the items when hovering over them.

2026-05-18_12 22 44

1.21.1 Forge:

You can add any item if needed

{
    "mod": "feywild",
    "item": "feywild:feywild_lexicon",
    "count": 1
  }

"mod"

Add the name of the mod the item/guide book belongs too. This has to be the source name. If the mod is not installed or if the item doesnt excist it won't be added.

"item"

The item uses the Resource name in minecraft. For Patchouli books this is a bit more complex and we use NBT.

"count"

You can add a stack if needed but the default should be "1".

component/patchouli

Example:

{
    "mod": "productivebees",
    "item": "patchouli:guide_book",
    "components": {
      "patchouli:book": "productivebees:guide"
    },
    "count": 1
  }

neoforge uses components instead of nbt.

Since it's a patchouli book the item should reference to "patchouli:guide_book" Depending on how the book's resourcelocation is registered in the mod you add it's resource location behind "patchouli:book":

Tip: It helps to look at the source code of a mod at assets/models/items to see how the book is named in the mod. Or use F3 H to toggle Advanced Tooltips. This will show the resourceloation of the items when hovering over them.

2026-05-18_12 22 44

Clone this wiki locally