{
  "type": "minecraft:entity",
  "pools": [
    {
      "name": "crystals",
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 2,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 1.0,
                "max": 8.0,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "scalinghealth:heart_crystal_shard"
        },
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": 0.0,
                "max": 5.0,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "scalinghealth:power_crystal_shard"
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:random_chance_with_looting",
          "chance": 0.055,
          "looting_multiplier": 0.005
        },
        {
          "condition": "minecraft:killed_by_player"
        }
      ]
    },
    {
      "name": "difficulty_mutators",
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": 1
            }
          ],
          "name": "scalinghealth:cursed_heart"
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:random_chance_with_looting",
          "chance": 0.015,
          "looting_multiplier": 0.025
        }
      ]
    },
    {
      "name": "blights",
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 5,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": -1.0,
                "max": 1.0,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "scalinghealth:heart_crystal"
        },
        {
          "type": "minecraft:item",
          "weight": 2,
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": {
                "min": -1.0,
                "max": 1.0,
                "type": "minecraft:uniform"
              }
            }
          ],
          "name": "scalinghealth:power_crystal"
        }
      ],
      "conditions": [
        {
          "condition": "scalinghealth:mob_properties",
          "entity": "this",
          "is_blight": true,
          "difficulty": {
            "min": 0.0,
            "max": 2.14748365E9
          }
        },
        {
          "condition": "minecraft:killed_by_player"
        }
      ]
    }
  ]
}