{
  "name": "fnar:loot_ore",
  "lootRules": [
    {"level": [0,1,2,3,4], "type": "ORE", "each": true, "quantity": 1, "loot": [{"data": {"name": "minecraft:coal", "min": 1, "max": 4}}]},
    {"level": [0,1,2,3,4], "type": "ORE", "each": true, "quantity": 1, "loot": [{"data": {"name": "minecraft:dye", "meta": 4, "min": 1, "max": 3}}]},
    {"level": [0,1,2,3,4], "type": "ORE", "each": true, "quantity": 4, "loot": [
        {"data": {"name": "minecraft:iron_nugget", "min": 1, "max": 4}, "weight": 2},
        {"data": {"name": "minecraft:gold_nugget", "min": 1, "max": 2}, "weight": 1},
		{"data": {"name": "iceandfire:silver_nugget", "min": 1, "max": 2}, "weight": 1}
      ]
    },

    {"level": 0, "type": "ORE", "each": true, "quantity": 8, "loot": [
        {"data": {"name": "minecraft:iron_nugget", "min": 1, "max": 4}, "weight": 2},
        {"data": {"name": "minecraft:gold_nugget", "min": 1, "max": 2}, "weight": 2},
        {"data": {"name": "minecraft:iron_ingot"}, "weight": 1},
        {"data": {"name": "minecraft:gold_ingot"}, "weight": 1},
		{"data": {"name": "iceandfire:silver_nugget"}, "weight": 1}
      ]
    },
    {"level": 1, "type": "ORE", "each": true, "quantity": 8, "loot": [
        {"data": {"name": "minecraft:iron_ingot"}, "weight": 4},
        {"data": {"name": "minecraft:gold_ingot"}, "weight": 4},
        {"data": {"name": "minecraft:redstone"}, "weight": 1},
        {"data": {"name": "minecraft:emerald"}, "weight": 1},
        {"data": {"name": "minecraft:diamond"}, "weight": 1}
    ]
    },
    {"level": 2, "type": "ORE", "each": true, "quantity": 8, "loot": [
        {"data": {"name": "minecraft:iron_ingot"}, "weight": 2},
        {"data": {"name": "minecraft:gold_ingot"}, "weight": 2},
        {"data": {"name": "minecraft:redstone"}, "weight": 2},
        {"data": {"name": "minecraft:diamond"}, "weight": 1},
        {"data": {"name": "minecraft:emerald"}, "weight": 1}
      ]
    },
    {"level": 3, "type": "ORE", "each": true, "quantity": 8, "loot": [
        {"data": {"name": "minecraft:iron_ingot"}, "weight": 1},
        {"data": {"name": "minecraft:gold_ingot"}, "weight": 1},
        {"data": {"name": "minecraft:redstone"}, "weight": 1},
        {"data": {"name": "minecraft:diamond"}, "weight": 1},
        {"data": {"name": "minecraft:emerald"}, "weight": 1}
    ]
    },
    {
      "level": 4, "type": "ORE", "each": true, "quantity": 8, "loot": [
        {"data": {"name": "minecraft:gold_ingot"}, "weight": 4},
        {"data": {"name": "minecraft:iron_ingot"}, "weight": 4},
        {"data": {"name": "minecraft:redstone"}, "weight": 4},
        {"data": {"name": "minecraft:diamond"}, "weight": 4},
        {"data": {"name": "minecraft:emerald"}, "weight": 4},
        {"data": {"name": "minecraft:gold_block"}, "weight": 2},
        {"data": {"name": "minecraft:iron_block"}, "weight": 2},
        {"data": {"name": "minecraft:lapis_block"}, "weight": 2},
        {"data": {"name": "minecraft:redstone_block"}, "weight": 2},
        {"data": {"name": "minecraft:emerald_block"}, "weight": 1},
        {"data": {"name": "minecraft:diamond_block"}, "weight": 1}
      ]
    }
  ]
}
