{
  "type": "minecraft:block",
  "pools": [
    {
      "name": "copper_pile",
      "rolls": 1.0,
      "entries": [
        {
          "type": "minecraft:item",
          "conditions": [
            {
              "condition": "minecraft:block_state_property",
              "block": "iceandfire:copper_pile",
              "properties": {
                "layers": "1"
              }
            }
          ],
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": 2
            }
          ],
          "name": "thermal:copper_nugget"
        },
        {
          "type": "minecraft:item",
          "conditions": [
            {
              "condition": "minecraft:block_state_property",
              "block": "iceandfire:copper_pile",
              "properties": {
                "layers": "2"
              }
            }
          ],
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": 4
            }
          ],
          "name": "thermal:copper_nugget"
        },
        {
          "type": "minecraft:item",
          "conditions": [
            {
              "condition": "minecraft:block_state_property",
              "block": "iceandfire:copper_pile",
              "properties": {
                "layers": "3"
              }
            }
          ],
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": 6
            }
          ],
          "name": "thermal:copper_nugget"
        },
        {
          "type": "minecraft:item",
          "conditions": [
            {
              "condition": "minecraft:block_state_property",
              "block": "iceandfire:copper_pile",
              "properties": {
                "layers": "4"
              }
            }
          ],
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": 8
            }
          ],
          "name": "thermal:copper_nugget"
        },
        {
          "type": "minecraft:item",
          "conditions": [
            {
              "condition": "minecraft:block_state_property",
              "block": "iceandfire:copper_pile",
              "properties": {
                "layers": "5"
              }
            }
          ],
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": 10
            }
          ],
          "name": "thermal:copper_nugget"
        },
        {
          "type": "minecraft:item",
          "conditions": [
            {
              "condition": "minecraft:block_state_property",
              "block": "iceandfire:copper_pile",
              "properties": {
                "layers": "6"
              }
            }
          ],
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": 12
            }
          ],
          "name": "thermal:copper_nugget"
        },
        {
          "type": "minecraft:item",
          "conditions": [
            {
              "condition": "minecraft:block_state_property",
              "block": "iceandfire:copper_pile",
              "properties": {
                "layers": "7"
              }
            }
          ],
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": 14
            }
          ],
          "name": "thermal:copper_nugget"
        },
        {
          "type": "minecraft:item",
          "conditions": [
            {
              "condition": "minecraft:block_state_property",
              "block": "iceandfire:copper_pile",
              "properties": {
                "layers": "8"
              }
            }
          ],
          "functions": [
            {
              "function": "minecraft:set_count",
              "count": 16
            }
          ],
          "name": "thermal:copper_nugget"
        }
      ]
    }
  ]
}