Newer
Older
void-pack-super-server / server / config / levelup2 / json / loot_tables / digging / rare_dig.json
{
  "pools": [
    {
      "name": "rare_treasure",
      "rolls": 1,
      "entries": [
        {
          "type": "item",
          "name": "minecraft:diamond",
          "weight": 1,
          "functions": [
            {
              "function": "fortune_enchant",
              "count": {
                "min": 0,
                "max": 3
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:stone_sword",
          "weight": 2,
          "functions": [
            {
              "function": "set_damage",
              "damage": {
                "min": 0,
                "max": 0.90
              }
            },
            {
              "function": "enchant_with_levels",
              "levels": 30,
              "treasure": true
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:stone_shovel",
          "weight": 2,
          "functions": [
            {
              "function": "set_damage",
              "damage": {
                "min": 0,
                "max": 0.90
              }
            },
            {
              "function": "enchant_with_levels",
              "levels": 30,
              "treasure": true
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:stone_pickaxe",
          "weight": 2,
          "functions": [
            {
              "function": "set_damage",
              "damage": {
                "min": 0,
                "max": 0.90
              }
            },
            {
              "function": "enchant_with_levels",
              "levels": 30,
              "treasure": true
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:stone_axe",
          "weight": 2,
          "functions": [
            {
              "function": "set_damage",
              "damage": {
                "min": 0,
                "max": 0.90
              }
            },
            {
              "function": "enchant_with_levels",
              "levels": 30,
              "treasure": true
            }
          ]
        }
      ]
    }
  ]
}