{
  "__comment": "Keep in mind that trolls drop their weapon(club/axe) and sometimes broken materials from them(cobblestone/sticks). That can be disabled in ice_and_fire.cfg",
  "pools": [
    {
      "name": "troll_forest",
      "rolls": 2,
      "entries": [
        {
          "type": "item",
          "name": "iceandfire:troll_leather_frost",
          "weight": 1,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 4
              }
            },
            {
              "function": "looting_enchant",
              "count": {
                "min": 0,
                "max": 1
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "iceandfire:troll_tusk",
          "weight": 1,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": -1,
                "max": 2
              }
            },
            {
              "function": "looting_enchant",
              "count": {
                "min": 0,
                "max": 1
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "minecraft:snowball",
          "weight": 1,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": 1,
                "max": 8
              }
            },
            {
              "function": "looting_enchant",
              "count": {
                "min": 0,
                "max": 1
              }
            }
          ]
        },
        {
          "type": "item",
          "name": "thermal:sapphire",
          "weight": 1,
          "functions": [
            {
              "function": "set_count",
              "count": {
                "min": -5,
                "max": 1
              }
            },
            {
              "function": "looting_enchant",
              "count": {
                "min": 0,
                "max": 0
              }
            }
          ]
        }
      ]
    },
    {
      "name": "troll_skull",
      "conditions": [
        {
          "condition": "killed_by_player"
        },
        {
          "condition": "random_chance_with_looting",
          "chance": 0.025,
          "looting_multiplier": 0.01
        }
      ],
      "rolls": 1,
      "entries": [
        {
          "type": "item",
          "name": "iceandfire:troll_skull",
          "weight": 1
        }
      ]
    }
  ]
}