{
  "name": "spartanweaponry:loot",
  "requires": ["spartanweaponry"],
  "lootRules": [
    {
      "level": [0, 1, 2],
      "each": true,
      "type": "WEAPONS",
      "quantity": 2,
      "loot": [
        {"data": {"name": "minecraft:stick"}, "weight": 50},

        {"data": {"name": "spartanweaponry:longbow_wood"}, "weight": 1},
        {"data": {"name": "spartanweaponry:crossbow_wood"}, "weight": 1},

        {"data": {"name": "spartanweaponry:longbow_leather"}, "weight": 1},
        {"data": {"name": "spartanweaponry:crossbow_leather"}, "weight": 1},

        {"data": {"name": "spartanweaponry:dagger_stone"}, "weight": 1},
        {"data": {"name": "spartanweaponry:longsword_stone"}, "weight": 1},
        {"data": {"name": "spartanweaponry:katana_stone"}, "weight": 1},
        {"data": {"name": "spartanweaponry:saber_stone"}, "weight": 1},
        {"data": {"name": "spartanweaponry:rapier_stone"}, "weight": 1},
        {"data": {"name": "spartanweaponry:greatsword_stone"}, "weight": 1},
        {"data": {"name": "spartanweaponry:hammer_stone"}, "weight": 1},
        {"data": {"name": "spartanweaponry:warhammer_stone"}, "weight": 1},
        {"data": {"name": "spartanweaponry:spear_stone"}, "weight": 1},
        {"data": {"name": "spartanweaponry:halberd_stone"}, "weight": 1},
        {"data": {"name": "spartanweaponry:pike_stone"}, "weight": 1},
        {"data": {"name": "spartanweaponry:lance_stone"}, "weight": 1},
        {"data": {"name": "spartanweaponry:throwing_knife_stone"}, "weight": 1},
        {"data": {"name": "spartanweaponry:throwing_axe_stone"}, "weight": 1},
        {"data": {"name": "spartanweaponry:javelin_stone"}, "weight": 1},
        {"data": {"name": "spartanweaponry:boomerang_stone"}, "weight": 1},
        {"data": {"name": "spartanweaponry:battleaxe_stone"}, "weight": 1},
        {"data": {"name": "spartanweaponry:mace_stone"}, "weight": 1},
        {"data": {"name": "spartanweaponry:glaive_stone"}, "weight": 1},
        {"data": {"name": "spartanweaponry:staff_stone"}, "weight": 1},

        {"data": {"name": "spartanweaponry:longbow_bronze"}, "weight": 1},
        {"data": {"name": "spartanweaponry:crossbow_bronze"}, "weight": 1},
        {"data": {"name": "spartanweaponry:battleaxe_bronze"}, "weight": 1},
        {"data": {"name": "spartanweaponry:boomerang_bronze"}, "weight": 1},
        {"data": {"name": "spartanweaponry:dagger_bronze"}, "weight": 1},
        {"data": {"name": "spartanweaponry:glaive_bronze"}, "weight": 1},
        {"data": {"name": "spartanweaponry:greatsword_bronze"}, "weight": 1},
        {"data": {"name": "spartanweaponry:halberd_bronze"}, "weight": 1},
        {"data": {"name": "spartanweaponry:hammer_bronze"}, "weight": 1},
        {"data": {"name": "spartanweaponry:javelin_bronze"}, "weight": 1},
        {"data": {"name": "spartanweaponry:katana_bronze"}, "weight": 1},
        {"data": {"name": "spartanweaponry:lance_bronze"}, "weight": 1},
        {"data": {"name": "spartanweaponry:longsword_bronze"}, "weight": 1},
        {"data": {"name": "spartanweaponry:mace_bronze"}, "weight": 1},
        {"data": {"name": "spartanweaponry:pike_bronze"}, "weight": 1},
        {"data": {"name": "spartanweaponry:rapier_bronze"}, "weight": 1},
        {"data": {"name": "spartanweaponry:saber_bronze"}, "weight": 1},
        {"data": {"name": "spartanweaponry:spear_bronze"}, "weight": 1},
        {"data": {"name": "spartanweaponry:staff_bronze"}, "weight": 1},
        {"data": {"name": "spartanweaponry:throwing_axe_bronze"}, "weight": 1},
        {"data": {"name": "spartanweaponry:throwing_knife_bronze"}, "weight": 1},
        {"data": {"name": "spartanweaponry:warhammer_bronze"}, "weight": 1}
      ]
    },
    {
      "level": [1, 2, 3],
      "each": true,
      "type": "WEAPONS",
      "quantity": 3,
      "loot": [
        {"data": {"name": "minecraft:stick"}, "weight": 50},

        {"data": {"name": "spartanweaponry:longbow_silver"}, "weight": 1},
        {"data": {"name": "spartanweaponry:crossbow_silver"}, "weight": 1},
        {"data": {"name": "spartanweaponry:battleaxe_silver"}, "weight": 1},
        {"data": {"name": "spartanweaponry:boomerang_silver"}, "weight": 1},
        {"data": {"name": "spartanweaponry:dagger_silver"}, "weight": 1},
        {"data": {"name": "spartanweaponry:glaive_silver"}, "weight": 1},
        {"data": {"name": "spartanweaponry:greatsword_silver"}, "weight": 1},
        {"data": {"name": "spartanweaponry:halberd_silver"}, "weight": 1},
        {"data": {"name": "spartanweaponry:hammer_silver"}, "weight": 1},
        {"data": {"name": "spartanweaponry:javelin_silver"}, "weight": 1},
        {"data": {"name": "spartanweaponry:katana_silver"}, "weight": 1},
        {"data": {"name": "spartanweaponry:lance_silver"}, "weight": 1},
        {"data": {"name": "spartanweaponry:longsword_silver"}, "weight": 1},
        {"data": {"name": "spartanweaponry:mace_silver"}, "weight": 1},
        {"data": {"name": "spartanweaponry:pike_silver"}, "weight": 1},
        {"data": {"name": "spartanweaponry:rapier_silver"}, "weight": 1},
        {"data": {"name": "spartanweaponry:saber_silver"}, "weight": 1},
        {"data": {"name": "spartanweaponry:spear_silver"}, "weight": 1},
        {"data": {"name": "spartanweaponry:staff_silver"}, "weight": 1},
        {"data": {"name": "spartanweaponry:throwing_axe_silver"}, "weight": 1},
        {"data": {"name": "spartanweaponry:throwing_knife_silver"}, "weight": 1},
        {"data": {"name": "spartanweaponry:warhammer_silver"}, "weight": 1},

        {"data": {"name": "spartanweaponry:battleaxe_gold"}, "weight": 1},
        {"data": {"name": "spartanweaponry:boomerang_gold"}, "weight": 1},
        {"data": {"name": "spartanweaponry:dagger_gold"}, "weight": 1},
        {"data": {"name": "spartanweaponry:glaive_gold"}, "weight": 1},
        {"data": {"name": "spartanweaponry:greatsword_gold"}, "weight": 1},
        {"data": {"name": "spartanweaponry:halberd_gold"}, "weight": 1},
        {"data": {"name": "spartanweaponry:hammer_gold"}, "weight": 1},
        {"data": {"name": "spartanweaponry:javelin_gold"}, "weight": 1},
        {"data": {"name": "spartanweaponry:katana_gold"}, "weight": 1},
        {"data": {"name": "spartanweaponry:lance_gold"}, "weight": 1},
        {"data": {"name": "spartanweaponry:longsword_gold"}, "weight": 1},
        {"data": {"name": "spartanweaponry:mace_gold"}, "weight": 1},
        {"data": {"name": "spartanweaponry:pike_gold"}, "weight": 1},
        {"data": {"name": "spartanweaponry:rapier_gold"}, "weight": 1},
        {"data": {"name": "spartanweaponry:saber_gold"}, "weight": 1},
        {"data": {"name": "spartanweaponry:spear_gold"}, "weight": 1},
        {"data": {"name": "spartanweaponry:staff_gold"}, "weight": 1},
        {"data": {"name": "spartanweaponry:throwing_axe_gold"}, "weight": 1},
        {"data": {"name": "spartanweaponry:throwing_knife_gold"}, "weight": 1},
        {"data": {"name": "spartanweaponry:warhammer_gold"}, "weight": 1},

        {"data": {"name": "spartanweaponry:longbow_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:crossbow_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:battleaxe_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:boomerang_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:dagger_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:glaive_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:greatsword_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:halberd_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:hammer_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:javelin_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:katana_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:lance_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:longsword_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:mace_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:pike_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:rapier_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:saber_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:spear_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:staff_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:throwing_axe_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:throwing_knife_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:warhammer_iron"}, "weight": 1}
      ]
    },
    {
      "level": [3, 4],
      "each": true,
      "type": "WEAPONS",
      "quantity": 4,
      "loot": [
        {"data": {"name": "minecraft:stick"}, "weight": 50},

        {"data": {"name": "spartanweaponry:longbow_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:crossbow_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:battleaxe_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:boomerang_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:dagger_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:glaive_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:greatsword_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:halberd_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:hammer_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:javelin_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:katana_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:lance_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:longsword_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:mace_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:pike_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:rapier_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:saber_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:spear_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:staff_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:throwing_axe_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:throwing_knife_iron"}, "weight": 1},
        {"data": {"name": "spartanweaponry:warhammer_iron"}, "weight": 1},

        {"data": {"name": "spartanweaponry:longbow_steel"}, "weight": 1},
        {"data": {"name": "spartanweaponry:crossbow_steel"}, "weight": 1},
        {"data": {"name": "spartanweaponry:battleaxe_steel"}, "weight": 1},
        {"data": {"name": "spartanweaponry:boomerang_steel"}, "weight": 1},
        {"data": {"name": "spartanweaponry:dagger_steel"}, "weight": 1},
        {"data": {"name": "spartanweaponry:glaive_steel"}, "weight": 1},
        {"data": {"name": "spartanweaponry:greatsword_steel"}, "weight": 1},
        {"data": {"name": "spartanweaponry:halberd_steel"}, "weight": 1},
        {"data": {"name": "spartanweaponry:hammer_steel"}, "weight": 1},
        {"data": {"name": "spartanweaponry:javelin_steel"}, "weight": 1},
        {"data": {"name": "spartanweaponry:katana_steel"}, "weight": 1},
        {"data": {"name": "spartanweaponry:lance_steel"}, "weight": 1},
        {"data": {"name": "spartanweaponry:longsword_steel"}, "weight": 1},
        {"data": {"name": "spartanweaponry:mace_steel"}, "weight": 1},
        {"data": {"name": "spartanweaponry:pike_steel"}, "weight": 1},
        {"data": {"name": "spartanweaponry:rapier_steel"}, "weight": 1},
        {"data": {"name": "spartanweaponry:saber_steel"}, "weight": 1},
        {"data": {"name": "spartanweaponry:spear_steel"}, "weight": 1},
        {"data": {"name": "spartanweaponry:staff_steel"}, "weight": 1},
        {"data": {"name": "spartanweaponry:throwing_axe_steel"}, "weight": 1},
        {"data": {"name": "spartanweaponry:throwing_knife_steel"}, "weight": 1},
        {"data": {"name": "spartanweaponry:warhammer_steel"}, "weight": 1},

        {"data": {"name": "spartanweaponry:longbow_diamond"}, "weight": 1},
        {"data": {"name": "spartanweaponry:crossbow_diamond"}, "weight": 1},
        {"data": {"name": "spartanweaponry:caestus_studded"}, "weight": 1},
        {"data": {"name": "spartanweaponry:club_studded"}, "weight": 1},
        {"data": {"name": "spartanweaponry:battleaxe_diamond"}, "weight": 1},
        {"data": {"name": "spartanweaponry:boomerang_diamond"}, "weight": 1},
        {"data": {"name": "spartanweaponry:dagger_diamond"}, "weight": 1},
        {"data": {"name": "spartanweaponry:glaive_diamond"}, "weight": 1},
        {"data": {"name": "spartanweaponry:greatsword_diamond"}, "weight": 1},
        {"data": {"name": "spartanweaponry:halberd_diamond"}, "weight": 1},
        {"data": {"name": "spartanweaponry:hammer_diamond"}, "weight": 1},
        {"data": {"name": "spartanweaponry:javelin_diamond"}, "weight": 1},
        {"data": {"name": "spartanweaponry:katana_diamond"}, "weight": 1},
        {"data": {"name": "spartanweaponry:lance_diamond"}, "weight": 1},
        {"data": {"name": "spartanweaponry:longsword_diamond"}, "weight": 1},
        {"data": {"name": "spartanweaponry:mace_diamond"}, "weight": 1},
        {"data": {"name": "spartanweaponry:pike_diamond"}, "weight": 1},
        {"data": {"name": "spartanweaponry:rapier_diamond"}, "weight": 1},
        {"data": {"name": "spartanweaponry:saber_diamond"}, "weight": 1},
        {"data": {"name": "spartanweaponry:spear_diamond"}, "weight": 1},
        {"data": {"name": "spartanweaponry:staff_diamond"}, "weight": 1},
        {"data": {"name": "spartanweaponry:throwing_axe_diamond"}, "weight": 1},
        {"data": {"name": "spartanweaponry:throwing_knife_diamond"}, "weight": 1},
        {"data": {"name": "spartanweaponry:warhammer_diamond"}, "weight": 1}
      ]
    }
  ]
}
