{
  "name": "fnar:loot_weapons",
  "lootRules": [
    {"level": 0, "type": "WEAPONS", "loot": [{"data": {"type": "weapon", "level": 0}}], "each": true, "quantity": 1},
    {"level": 1, "type": "WEAPONS", "loot": [{"data": {"type": "weapon", "level": 1}}], "each": true, "quantity": 1},
    {"level": 2, "type": "WEAPONS", "loot": [{"data": {"type": "weapon", "level": 2}}], "each": true, "quantity": 1},
    {"level": 3, "type": "WEAPONS", "loot": [{"data": {"type": "weapon", "level": 3}}], "each": true, "quantity": 1},
    {"level": 4, "type": "WEAPONS", "loot": [{"data": {"type": "weapon", "level": 4}}], "each": true, "quantity": 1},
    {
      "level": [0, 1, 2, 3, 4],
      "type": "WEAPONS",
      "each": true,
      "quantity": 3,
      "loot": [
        {"data": {"name": "minecraft:arrow", "min": 4, "max": 8}, "weight": 1},
        {"data": {"name": "minecraft:arrow", "min": 4, "max": 8}, "weight": 1},
        {"data": {"type": "potion", "name": "strength"}, "weight": 1},
        {"data": {"type": "potion", "name": "swiftness"}, "weight": 1},
        {"data": {"type": "weapon", "level": 0}, "weight": 1},
        {"data": {"type": "weapon", "level": 1}, "weight": 1}
      ]
    },
    {
      "level": [1, 2, 3, 4],
      "type": "WEAPONS",
      "each": false,
      "quantity": 1,
      "loot": [
        {"data": {"type": "weapon", "level": 0, "ench": false}, "weight": 8},
        {"data": {"type": "weapon", "level": 1, "ench": false}, "weight": 8},
        {"data": {"type": "weapon", "level": 2, "ench": false}, "weight": 4},
        {"data": {"type": "weapon", "level": 3, "ench": false}, "weight": 2},
        {"data": {"type": "weapon", "level": 4, "ench": false}, "weight": 1}
      ]
    },

    {
      "level": [0], "type": "WEAPONS", "each": true, "quantity": 1,
        "loot": [
          {"data": {"type": "weapon", "level": 0}, "weight": 3},
          {"data": {"type": "weapon", "level": 1}, "weight": 1}
        ]
    },

    {
      "level": [1], "type": "WEAPONS", "each": true, "quantity": 1,
        "loot": [
          {"data": {"type": "weapon", "level": 0}, "weight": 3},
          {"data": {"type": "weapon", "level": 1}, "weight": 1}
        ]
    },

    {
      "level": [2], "type": "WEAPONS", "each": true, "quantity": 1,
        "loot": [
          {"data": {"type": "weapon", "level": 1}, "weight": 3},
          {"data": {"type": "weapon", "level": 2}, "weight": 1}
        ]
    },

    {
      "level": [3], "type": "WEAPONS", "each": true, "quantity": 1,
        "loot": [
          {"data": {"type": "weapon", "level": 2}, "weight": 3},
          {"data": {"type": "weapon", "level": 3}, "weight": 1}
        ]
    },

    {
      "level": [4], "type": "WEAPONS", "each": true, "quantity": 1,
        "loot": [
          {"data": {"type": "weapon", "level": 3}, "weight": 3},
          {"data": {"type": "weapon", "level": 4}, "weight": 1}
        ]
    }
  ]
}
