{
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:knowledge_book",
          "functions": [
            {
              "function": "minecraft:set_custom_data",
              "tag": "{gravetome:tag}"
            },
            {
              "function": "minecraft:set_components",
              "components": {
                "minecraft:recipes": [
                  "survivalplus:tomes/grave"
                ],
                "minecraft:enchantment_glint_override": true
              }
            },
            {
              "function": "minecraft:set_name",
              "entity": "this",
              "name": {
                "text": "Grave Tome"
              },
              "target": "item_name"
            },
            {
              "function": "minecraft:set_lore",
              "entity": "this",
              "lore": [
                {
                  "text": "Teleport to your last death point",
                  "color": "gray",
                  "italic": false
                },
                {
                  "text": "Can only be used once per death",
                  "color": "red",
                  "italic": false
                }
              ],
              "mode": "append"
            }
          ]
        }
      ]
    }
  ]
}