{
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:written_book",
          "weight": 1,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": 1
            },
            {
              "function": "minecraft:set_components",
              "components": {
                "minecraft:written_book_content": {
                  "title": "Mine Treasure",
                  "author": "Frozytime",
                    "pages": [
                      {
                        "text": "\n\n\n  Mine Treasure\n\n - Loot Crates.\n\n/trigger mt_stats\n\nto view your stats",
                        "color": "black",
                        "bold": true
                      },
                      [
                        {
                          "text": "\nIntroduction:",
                          "color": "black",
                          "bold": true,
                          "italic": false
                        },
                        {
                          "text": "\nPage: 2",
                          "color": "black",
                          "bold": false,
                          "italic": false
                        },
                        {
                          "text": "\nTreasure-types:",
                          "color": "black",
                          "bold": true,
                          "italic": false
                        },
                        {
                          "text": "\nPage: 3-7",
                          "color": "black",
                          "bold": false,
                          "italic": false
                        },
                        {
                          "text": "\nBiome-specific:\n",
                          "color": "black",
                          "bold": true,
                          "italic": false
                        },
                        {
                          "text": "Page: 8-14",
                          "bold": false
                        },
                        {
                          "text": "\nStone-types:\n",
                          "bold": true
                        },
                        {
                          "text": "Page: 15-17",
                          "bold": false
                        },
                        {
                          "text": "\nLoot Progression:\n"
                        },
                        {
                          "text": "Page: 18",
                          "bold": false,
                          "italic": false
                        },
                        {
                          "text": "\nCustom Items:\n"
                        },
                        {
                          "text": "Page: 19-21",
                          "bold": false
                        }
                      ],
                      {
                        "text": "Mine Treasure is designed to add chance to Minecraft's mining. Mining stone-related blocks will give the player the possibility to find a treasure. These treasures differ in rarity and types such as tiers and biome-specific loot.",
                        "color": "black",
                        "italic": false
                      },
                      [
                        {
                          "text": "Common Treasure:\n",
                          "color": "#8C817E",
                          "italic": false
                        },
                        {
                          "text": "Has the highest chance to spawn. Meaning it is the most common out of any Treasure. The loot contained in them is very basic and mediocre. Their convenience comes in an easier way of obtaining common resources.",
                          "color": "black"
                        }
                      ],
                      [
                        {
                          "text": "Rare Treasure:\n",
                          "color": "blue",
                          "italic": false
                        },
                        {
                          "text": "Has a lower chance to spawn. Contains decent loot such as tools, armor, and other utilities which are quite useful. These can hold quite powerful items if the player is lucky enough to stumble upon them.",
                          "color": "black"
                        }
                      ],
                      [
                        {
                          "text": "Epic Treasure:\n",
                          "color": "red",
                          "italic": false
                        },
                        {
                          "text": "Has a slim chance to spawn. The loot is reaching end-game levels of strength. Extremely useful items and utilities can be found in these treasures. Potentially changing the game for the player who finds one.",
                          "color": "black"
                        }
                      ],
                      [
                        {
                          "text": "Legendary Treasure:\n",
                          "color": "gold",
                          "italic": false
                        },
                        {
                          "text": "Has a really low chance to spawn. The best tier of loot one could imagine. Powerful weapons, armor, and utility items which determine the outcome in any fight. If one is lucky enough to find one, they have a severe advantage.",
                          "color": "black"
                        }
                      ],
                      [
                        {
                          "text": "Mythical Treasure:\n",
                          "color": "light_purple",
                          "italic": false
                        },
                        {
                          "text": "Rarest tier, progression is not needed to obtain powerful items locked behind progression. These powerful weapons, armor, and utility items determine the outcome in any fight. Finding one gives a severe advantage.",
                          "color": "black"
                        }
                      ],
                      [
                        {
                          "text": "Treasure Spawn Rates:\n",
                          "color": "black",
                          "bold": true
                        },
                        {
                          "text": "Common: 1.000%\nRare: 0.250%\nEpic: 0.032%\nLegendary: 0.016%\nMythical: 0.004%",
                          "color": "black"
                        }
                      ],
                      [
                        {
                          "text": "Default biomes:",
                          "bold": true
                        },
                        {
                          "text": "\nPlains\nRiver\nForest\nBirch Forest\nOld Growth B. Forest\nStony Shore\nBeach",
                          "bold": false
                        }
                      ],
                      [
                        {
                          "text": "Ocean biomes:\n",
                          "bold": true
                        },
                        {
                          "text": "Ocean\nWarm Ocean\nLukewarm Ocean\nCold Ocean\nDeep Ocean\nDeep Cold Ocean\nDeep Lukewarm Ocean\nDeep Frozen Ocean\nFrozen Ocean",
                          "bold": false
                        }
                      ],
                      [
                        {
                          "text": "Mountain biomes:\n",
                          "bold": true
                        },
                        {
                          "text": "Jagged Peaks\nFrozen Peaks\nStony Peaks\nGrove\nSnowy Slopes\n",
                          "bold": false
                        },
                        {
                          "text": "Ice biomes:\n"
                        },
                        {
                          "text": "Snowy Beach\nSnowy Plains\nIce Spikes\nFrozen River",
                          "bold": false
                        },
                        {
                          "text": "\n\n"
                        },
                        {
                          "text": "Dark Forest biome",
                          "bold": true
                        }
                      ],
                      [
                        {
                          "text": "Badlands biomes:\n",
                          "bold": true
                        },
                        {
                          "text": "Badlands\nWooded Badlands\nEroded Badlands\n",
                          "bold": false
                        },
                        {
                          "text": "\nLush Caves biome\n\nDripstone C. biome\n",
                          "bold": true
                        },
                        {
                          "text": "\nMushroom F. biome\n\nSwamp biomes:\n",
                          "bold": true
                        },
                        {
                          "text": "Swamp\nMangrove Swamp",
                          "bold": false
                        },
                        {
                          "text": "\n",
                          "bold": true
                        }
                      ],
                      [
                        {
                          "text": "Taiga biomes:\n",
                          "bold": true
                        },
                        {
                          "text": "Taiga\nSnowy Taiga\nOld G. Pine Taiga\nOld G. Spruce Taiga\n",
                          "bold": false
                        },
                        {
                          "text": "\nDesert biome\n\nSavanna biomes:\n",
                          "bold": true
                        },
                        {
                          "text": "Savanna\nSavanna Plateau\nWindswept Savanna",
                          "bold": false
                        }
                      ],
                      [
                        {
                          "text": "Jungle biomes:\n",
                          "bold": true
                        },
                        {
                          "text": "Jungle\nSparse Jungle\nBamboo Jungle\n",
                          "bold": false
                        },
                        {
                          "text": "Flower biomes:\n",
                          "bold": true
                        },
                        {
                          "text": "Flower Forest\nSunflower Plains\nMeadow\n",
                          "bold": false
                        },
                        {
                          "text": "Wind Biomes:",
                          "bold": true
                        },
                        {
                          "text": "\nWindswept Forest\nWindswept Hills\nWindswept G. Hills\n\n",
                          "bold": false
                        }
                      ],
                      [
                        {
                          "text": "Deep Dark biome\n\nSoul Valley biome \n\nNether Wastes\n\nCrimson Forest\n\nWarped Forest\n\n",
                          "bold": true
                        },
                        {
                          "text": "Basalt Deltas biome\n\nEnd biome\n\n",
                          "bold": true
                        }
                      ],
                      [
                        {
                          "text": "Stone-types:\n",
                          "bold": true,
                          "italic": false
                        },
                        {
                          "text": "Stone-types are extremely important in Mine Treasure. They have different treasure spawn rates.\n\nStone:\nCommon: 1%\nRare: 0.25%\nEpic: 0.032%\nLegendary: 0.016%\nMythical: 0.008%",
                          "bold": false
                        }
                      ],
                      {
                        "text": "Granite: Higher epic rates at the cost of lower common and rare\nDiorite: Higher common rates, but lower epic and rare\nAndesite/Magma Block: Higher rare, lower common and epic\nOres: Higher everything"
                      },
                      {
                        "text": "Deepslate/End Stone: Higher everything\nDeepslate Ore: Even higher\nDiamond Ore: Highest possible chance for everything. Strategy is to instamine Stone ASAP and try to find an Efficiency 9+ Pickaxe in the Deep Dark or Mountain."
                      },
                      [
                        {
                          "text": "Loot Progression:\n",
                          "bold": true
                        },
                        {
                          "text": "The amount of blocks mined will be counted towards unlocking new items in treasures. The loot amount is also increased the more blocks you mine, usually it can be noticeable per 10,000 blocks.",
                          "bold": false
                        }
                      ],
                      [
                        {
                          "text": "Custom Items:\n",
                          "bold": true
                        },
                        {
                          "text": "Most custom items spawn with random attributes, making every weapon feel unique. Many of them are Biome Pieces. These pieces of armor are extremely powerful and easily surpass Netherite. Armor values may go up as high as 25% higher than Netherite.",
                          "bold": false
                        }
                      ],
                      {
                        "text": "Custom weapons rival End Crystal explosions. Combine different sets to utilize a weapon to its full potential. Utility items such as arrows, potions, runes, and food can define the outcome of battles."
                      },
                      [
                        {
                          "text": "Tips and Tricks:\n",
                          "bold": true
                        },
                        {
                          "text": "The faster one mines, the higher likelihood of finding treasures. Mountain Common Treasures may give Haste II potions, while the Deep Dark biomes often contain Diamond Pickaxes.",
                          "bold": false
                        }
                      ],
                      {
                        "text": "Thank you for downloading my data pack! Feedback is appreciated. Enjoy your adventure!\n\n- Frozytime"
                      }
                    ]                                            
                }
              }
            },
            {
              "function": "minecraft:set_name",
              "name": [
                {
                  "text": "Mine Treasure - Guidebook",
                  "color": "gold",
                  "italic": false
                }
              ]
            },
            {
              "function": "minecraft:set_lore",
              "lore": [
                {
                  "text": " "
                },
                {
                  "text": "A guide to the Mine Treasure",
                  "color": "gray",
                  "italic": false
                }
              ],
              "mode": "replace_all"
            }
          ]
        }
      ]
    }
  ]
}
