{
  "pools": [
    {
      "name": "quark:stoneling",
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "minecraft:lapis_lazuli",
          "conditions": [
            {
              "condition": "quark:flag",
              "flag": "stoneling_drop_diamond_heart"
            }
          ]
        },
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "minecraft:lapis_lazuli"
        }
      ]
    },
    {
      "name": "quark:stoneling_map",
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "weight": 1,
          "name": "quark:pathfinders_quill",
          "functions": [
            {
              "function": "minecraft:set_nbt",
              "tag": "{\"targetBiome\":\"quark:glimmering_weald\",\"targetBiomeColor\":-13535930}"
            }
          ],
          "conditions": [
            {
              "condition": "quark:flag",
              "flag": "pathfinder_maps"
            },
            {
              "condition": "quark:flag",
              "flag": "glimmering_weald"
            },
            {
              "condition": "quark:flag",
              "flag": "stoneling_weald_pathfinder"
            },
            {
              "condition": "minecraft:killed_by_player"
            },
            {
              "condition": "minecraft:entity_properties",
              "entity": "this",
              "predicate": {
                "nbt": "{playerMade:0b}"
              }
            },
            {
              "condition": "minecraft:random_chance_with_looting",
              "chance": 0.08,
              "looting_multiplier": 0.02
            },
            {
              "condition": "minecraft:inverted",
              "term": {
                "condition": "quark:in_biome",
                "target": "quark:glimmering_weald"
              }
            }
          ]
        }
      ]
    }
  ]
}
