{
    "pools": [
      {
        "rolls": {
          "type": "minecraft:binomial",
          "n": {
            "type": "minecraft:storage",
            "storage": "mt:settings",
            "path": "loot_table_rolls.initial"
          },
          "p": {
            "type": "minecraft:score",
            "target": "this",
            "score": "mt.total",
            "scale": 0.00000035
          }
        },
        "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:crossbow",
          "weight": 1,
          "functions": [
            {
              "function": "minecraft:set_attributes",
              "modifiers": [
                {
                  "id": "crossbow",
                  "attribute": "minecraft:movement_speed",
                  "amount": {
                    "min": 0.05,
                    "max": 0.05
                  },
                  "operation": "add_multiplied_total",
                  "slot": [
                    "mainhand"
                  ]
                },
                {
                  "id": "crossbow2",
                  "attribute": "minecraft:movement_speed",
                  "amount": {
                    "min": 0.05,
                    "max": 0.05
                  },
                  "operation": "add_multiplied_total",
                  "slot": "offhand"
                }
              ]
            },
            {
              "function": "minecraft:set_enchantments",
              "enchantments": {
                "minecraft:piercing": {
                  "min": 5,
                  "max": 10
                },
                "minecraft:quick_charge": 5,
                "minecraft:unbreaking": {
                  "min": 1,
                  "max": 10
                },
                "minecraft:mending": {
                  "min": 0,
                  "max": 1
                },
                "minecraft:multishot": {
                  "min": 0,
                  "max": 1
                }
              }
            }
          ]
        },
          {
            "type": "minecraft:loot_table",
            "value": "mt:chests/dark_forest/barbaric_axe",
            "weight": 1
          },
          {
            "type": "minecraft:loot_table",
            "value": "mt:chests/deep_dark/rift_axe",
            "weight": 1
          },
          {
            "type": "minecraft:loot_table",
            "value": "mt:chests/default/netherite_swords",
            "weight": 1
          },
          {
            "type": "minecraft:loot_table",
            "value": "mt:chests/desert/assassin_sword",
            "weight": 1
          },
          {
            "type": "minecraft:item",
            "name": "minecraft:diamond_axe",
            "weight": 1,
            "functions": [
              {
                "function": "minecraft:set_attributes",
                "modifiers": [
                  {
                    "id": "mine_treasure",
                    "attribute": "minecraft:attack_speed",
                    "amount": {
                      "min": 2.6,
                      "max": 2.6
                    },
                    "operation": "add_value",
                    "slot": "mainhand"
                  },
                  {
                    "id": "mine_treasure_rm",
                    "attribute": "minecraft:attack_speed",
                    "amount": -4,
                    "operation": "add_value",
                    "slot": "mainhand"
                  },
                  {
                    "id": "mine_treasure",
                    "attribute": "minecraft:attack_damage",
                    "amount": {
                      "min": 8,
                      "max": 8
                    },
                    "operation": "add_value",
                    "slot": "mainhand"
                  }
                ]
              },
              {
                "function": "minecraft:toggle_tooltips",
                "toggles": {
                  "minecraft:attribute_modifiers": false
                }
              },
              {
                "function": "minecraft:set_enchantments",
                "enchantments": {
                  "minecraft:sharpness": {
                    "min": 1,
                    "max": 3
                  }
                }
              },
              {
                "function": "minecraft:set_components",
                "components": {
                  "minecraft:repair_cost": 9999,
                  "minecraft:unbreakable": {},
                  "minecraft:custom_data": {
                    "mt": "weapon"
                  }
                }
              },
              {
                "function": "set_name",
                "name": [
                  {
                    "text": "Refined Diamond Axe",
                    "color": "light_purple",
                    "italic": false
                  }
                ]
              },
              {
                "function": "minecraft:set_lore",
                "lore": [
                  {
                    "text": "  "
                  },
                  {
                    "text": "When in Main Hand:",
                    "color": "gray",
                    "italic": false
                  },
                  {
                    "text": " 9 Attack Damage",
                    "color": "dark_green",
                    "italic": false
                  },
                  {
                    "text": " 2.6 Attack Speed",
                    "color": "dark_green",
                    "italic": false
                  }
                ],
                 "mode": "replace_all"
              },
              {
                "function": "minecraft:enchant_with_levels",
                "levels": 50
              }
            ]
          },
          {
            "type": "minecraft:loot_table",
            "value": "mt:chests/ice/ice_sword",
            "weight": 2
          },
          {
            "type": "minecraft:loot_table",
            "value": "mt:chests/jungle/rumble_axe",
            "weight": 2
          },
          {
            "type": "minecraft:item",
            "weight": 2,
            "name": "minecraft:brown_shulker_box",
            "functions": [
              {
                "function": "minecraft:set_loot_table",
                "type": "minecraft:shulker_box",
                "name": "mt:chests/mountain/mineshaft",
                "conditions": [
                  {
                    "condition": "minecraft:entity_scores",
                    "entity": "this",
                    "scores": {
                      "mt.total": {
                        "min": 200000
                      }
                    }
                  }
                ]
              }
            ]
          },
          {
            "type": "minecraft:loot_table",
            "value": "mt:chests/mushroom/mushroom_shield",
            "weight": 1
          },
          {
            "type": "minecraft:loot_table",
            "value": "mt:chests/ocean/oceanic_spear",
            "weight": 1
          },
          {
            "type": "minecraft:item",
            "weight": 1,
            "name": "minecraft:crossbow",
            "functions": [
              {
                "function": "minecraft:set_components",
                "components": {
                  "minecraft:repair_cost": 99999,
                  "minecraft:unbreakable": {},
                  "minecraft:custom_name": {
                    "text": "Drylands Piercer",
                    "color": "gold",
                    "italic": false
                  },
                  "minecraft:lore": [
                    {
                      "text": " "
                    },
                    {
                      "text": "Ability:",
                      "color": "green",
                      "italic": false
                    },
                    {
                      "text": "Shots deal additional 3 true ",
                      "color": "gray",
                      "italic": false
                    },
                    {
                      "text": "damage, works with rockets. ",
                      "color": "gray",
                      "italic": false
                    }
                  ],                  
                  "minecraft:custom_data": {
                    "weapon": "drylands_piercer",
                    "mt": "weapon"
                  }
                }
              },
              {
                "function": "minecraft:set_enchantments",
                "enchantments": {
                  "mt:weapons/drylands_piercer": 1,
                  "minecraft:piercing": {
                    "min": 1,
                    "max": 10
                  },
                  "minecraft:quick_charge": {
                    "min": 1,
                    "max": 3
                  },
                  "minecraft:multishot": {
                    "min": 0,
                    "max": 1
                  }
                }
              }
            ]
          },
          {
            "type": "minecraft:loot_table",
            "value": "mt:chests/soul_valley/soul_scythe",
            "weight": 1
          },
          {
            "type": "minecraft:loot_table",
            "value": "mt:chests/swamp/toxic_machette",
            "weight": 1
          },
          {
            "type": "minecraft:item",
            "name": "minecraft:netherite_shovel",
            "functions": [
              {
                "function": "minecraft:set_enchantments",
                "enchantments": {
                  "minecraft:efficiency": {
                    "min": 0,
                    "max": 10
                  },
                  "minecraft:mending": {
                    "min": 0,
                    "max": 1
                  },
                  "minecraft:unbreaking": {
                    "min": 0,
                    "max": 10
                  },
                  "minecraft:silk_touch": {
                    "min": 0,
                    "max": 1
                  },
                  "minecraft:fortune": {
                    "min": 0,
                    "max": 5
                  }
                }
              },
              {
                "function": "minecraft:set_attributes",
                "modifiers": [
                  {
                    "id": "mine_treasure",
                    "attribute": "minecraft:attack_damage",
                    "amount": 9,
                    "operation": "add_value",
                    "slot": "mainhand"
                  },
                  {
                    "id": "mine_treasure_rm",
                    "attribute": "minecraft:attack_speed",
                    "amount": -2.5,
                    "operation": "add_value",
                    "slot": "mainhand"
                  }
                ]
              },
              {
                "function": "minecraft:toggle_tooltips",
                "toggles": {
                  "minecraft:attribute_modifiers": false
                }
              },
              {
                "function": "set_name",
                "name": [
                  {
                    "text": "Forged Netherite Shovel",
                    "color": "gold",
                    "italic": false
                  }
                ]
              },
              {
                "function": "minecraft:set_lore",
                "lore": [
                  {
                    "text": "  "
                  },
                  {
                    "text": "When in Main Hand:",
                    "color": "gray",
                    "italic": false
                  },
                  {
                    "text": " 10 Attack Damage",
                    "color": "dark_green",
                    "italic": false
                  },
                  {
                    "text": " 1.5 Attack Speed",
                    "color": "dark_green",
                    "italic": false
                  }
                ],
                 "mode": "replace_all"
              }
            ]
          },
          {
            "type": "minecraft:item",
            "name": "minecraft:spyglass",
            "functions": [
              {
                "function": "minecraft:toggle_tooltips",
                "toggles": {
                  "minecraft:attribute_modifiers": false
                }
              },
              {
                "function": "set_name",
                "name": [
                  {
                    "text": "Laser Scope",
                    "color": "gold",
                    "italic": false
                  }
                ]
              },
              {
                "function": "minecraft:set_components",
                "components": {
                  "minecraft:enchantment_glint_override": true,
                  "minecraft:custom_data": {
                    "weapon": "mt.laser_scope",
                    "mt": "weapon"
                  }
                }
              },
              {
                "function": "minecraft:set_lore",
                "lore": [
                  {
                    "text": "Charges a laser dealing insane ",
                    "color": "gray",
                    "italic": false
                  },
                  {
                    "text": "damage to an entity in its scope. ",
                    "color": "gray",
                    "italic": false
                  },
                  {
                    "text": " ",
                    "color": "gray",
                    "italic": false
                  },
                  {
                    "text": "Costs 5 levels per use. ",
                    "color": "gray",
                    "italic": false
                  },
                  {
                    "text": "Range of 300 blocks. ",
                    "color": "gray",
                    "italic": false
                  }
                ],
                 "mode": "replace_all"
              }
            ]
          },
          {
            "type": "minecraft:loot_table",
            "value": "mt:chests/wind/hurricane_sword",
            "weight": 1
          }
        ]
      }
    ]
  }