ServerEvents.tags('item', event => {
    const metals = [
        'tin',
        'copper',
        'silver',
        'gold',
        'bronze',
        'iron',
        'steel'
    ]
    const piercing = [
        'rogatina',
        'winged_rogatina',
        'antique_spear',
        'doru',
        'retiarius',
        'sarissa',
        'triarii_spear',
        'lance',
        'billhook',
        'boar_spear',
        'glaive',
        'goedendag',
        'military_fork',
        'partisan',
        'short_spear',
        'welsh_guisarme',
        'pike',
        'ranseur',
        'ahlspiess',
        'chivalrylance',
        'guisarme'
    ]
    const crushing = [
        'bar_mace',
        'crow_beak',
        'round_mace',
        'war_hammer',
        'hammer_spear',
        'two_handed_evening_star',
        'heavymace',
        'heavywarhammer',
        'lucernhammer',
        'morgenstern',
        'chainmorgenstern'
    ]
    const packs = [
        'antiquelegacy',
        'magistuarmory',
        'magistuarmoryaddon',
        'slavicarmory'
    ]

    metals.forEach(metal => {
        piercing.forEach(weapon => {
            packs.forEach(pack => {

                const id = `${pack}:${metal}_${weapon}`

                event.remove('minecraft:swords', id )
                event.remove('tfc:deals_slashing_damage', id )
                event.add('c:tools/spear', id )
                event.add('tfc:deals_piercing_damage', id )
            })
        })
    })
    metals.forEach(metal => {
        crushing.forEach(weapon => {
            packs.forEach(pack => {

                const id = `${pack}:${metal}_${weapon}`

                event.remove('minecraft:swords', id )
                event.remove('tfc:deals_slashing_damage', id )
                event.add('c:tools/mace', id )
                event.add('tfc:deals_crushing_damage', id )
            })
        })
    })

    event.add('c:tools/scythe', 'magistuarmoryaddon:steel_scythe')
})

const lightArmorList = [
    "minecraft:leather_helmet",
    "minecraft:leather_chestplate",
    "minecraft:leather_leggings",
    "minecraft:leather_boots",
    "magistuarmory:chainmail_boots",
    "magistuarmory:coif",
    "magistuarmory:gambeson_chestplate",
    "magistuarmory:pantyhose",
    "magistuarmory:gambeson_boots",
    "magistuarmory:cuirassier_leggings",
    "magistuarmory:cuirassier_boots",
    "magistuarmoryaddon:linen_coif",
    "magistuarmoryaddon:orange_puff_and_slash_chestplate",
    "magistuarmoryaddon:straw_hat",
    "magistuarmoryaddon:fancy_hat",
    "magistuarmoryaddon:tunic",
    "magistuarmoryaddon:tunic_boots",
    "magistuarmoryaddon:doublet",
    "magistuarmoryaddon:shoes",
    "magistuarmoryaddon:tilted_puff_and_slash_hat",
    "magistuarmoryaddon:landsknecht_orange_hat_decoration",
    "magistuarmoryaddon:landsknecht_magenta_hat_decoration",
    "magistuarmoryaddon:landsknecht_light_blue_hat_decoration",
    "magistuarmoryaddon:landsknecht_yellow_hat_decoration",
    "magistuarmoryaddon:landsknecht_lime_hat_decoration",
    "magistuarmoryaddon:landsknecht_pink_hat_decoration",
    "magistuarmoryaddon:landsknecht_gray_hat_decoration",
    "magistuarmoryaddon:landsknecht_light_gray_hat_decoration",
    "magistuarmoryaddon:landsknecht_cyan_hat_decoration",
    "magistuarmoryaddon:landsknecht_purple_hat_decoration",
    "magistuarmoryaddon:landsknecht_blue_hat_decoration",
    "magistuarmoryaddon:landsknecht_brown_hat_decoration",
    "magistuarmoryaddon:landsknecht_green_hat_decoration",
    "magistuarmoryaddon:landsknecht_red_hat_decoration",
    "magistuarmoryaddon:landsknecht_black_hat_decoration",
    "magistuarmoryaddon:landsknecht_white_hat_decoration",
    "slavicarmory:kaftan",
    "slavicarmory:kaftan_boots",
    "slavicarmory:shapka",
    "slavicarmory:rus_gambeson",
    "slavicarmory:rus_gambeson_boots",
    "antiquelegacy:linothorax",
    "antiquelegacy:sandals",
    "antiquelegacy:phrygian_cap",
    "antiquelegacy:short_phrygian_cap",
    "antiquelegacy:celtic_tunic",
    "antiquelegacy:celtic_tunic_boots",
    "antiquelegacy:celtic_pants",
    "antiquelegacy:red_celtic_pants",
    "antiquelegacy:green_celtic_pants",
    "antiquelegacy:brown_celtic_pants",
    "antiquelegacy:black_celtic_pants",
    "antiquelegacy:fabric_left_hand_manika_decoration",
    "antiquelegacy:fabric_right_hand_manika_decoration",
    "antiquelegacy:chiton_decoration",
    "antiquelegacy:subarmalis_decoration",
    "antiquelegacy:fur_cloak_decoration",
    "magistuarmoryaddon:white_puff_and_slash_chestplate",
    "magistuarmoryaddon:white_puff_and_slash_leggings",
    "magistuarmoryaddon:puff_and_slash_boots",
    "magistuarmoryaddon:condottiero_cap",
    "magistuarmoryaddon:orange_puff_and_slash_leggings",
    "magistuarmoryaddon:magenta_puff_and_slash_chestplate",
    "magistuarmoryaddon:magenta_puff_and_slash_leggings",
    "magistuarmoryaddon:light_blue_puff_and_slash_chestplate",
    "magistuarmoryaddon:light_blue_puff_and_slash_leggings",
    "magistuarmoryaddon:yellow_puff_and_slash_chestplate",
    "magistuarmoryaddon:yellow_puff_and_slash_leggings",
    "magistuarmoryaddon:lime_puff_and_slash_chestplate",
    "magistuarmoryaddon:lime_puff_and_slash_leggings",
    "magistuarmoryaddon:pink_puff_and_slash_chestplate",
    "magistuarmoryaddon:pink_puff_and_slash_leggings",
    "magistuarmoryaddon:gray_puff_and_slash_chestplate",
    "magistuarmoryaddon:gray_puff_and_slash_leggings",
    "magistuarmoryaddon:light_gray_puff_and_slash_chestplate",
    "magistuarmoryaddon:light_gray_puff_and_slash_leggings",
    "magistuarmoryaddon:cyan_puff_and_slash_chestplate",
    "magistuarmoryaddon:cyan_puff_and_slash_leggings",
    "magistuarmoryaddon:purple_puff_and_slash_chestplate",
    "magistuarmoryaddon:purple_puff_and_slash_leggings",
    "magistuarmoryaddon:blue_puff_and_slash_chestplate",
    "magistuarmoryaddon:blue_puff_and_slash_leggings",
    "magistuarmoryaddon:brown_puff_and_slash_chestplate",
    "magistuarmoryaddon:brown_puff_and_slash_leggings",
    "magistuarmoryaddon:green_puff_and_slash_chestplate",
    "magistuarmoryaddon:green_puff_and_slash_leggings",
    "magistuarmoryaddon:red_puff_and_slash_chestplate",
    "magistuarmoryaddon:red_puff_and_slash_leggings",
    "magistuarmoryaddon:black_puff_and_slash_chestplate",
    "magistuarmoryaddon:black_puff_and_slash_leggings"
]

const heavyArmorList = [
    "magistuarmoryaddon:gilded_close_helmet",
    "magistuarmoryaddon:gilded_darkblued_greenwich_armet",
    "magistuarmoryaddon:gilded_darkblued_greenwich_chestplate",
    "magistuarmoryaddon:gilded_darkblued_greenwich_boots",
    "magistuarmoryaddon:gilded_dark_close_helmet",
    "magistuarmoryaddon:gilded_fox_grotesque_maximilian_helmet",
    "magistuarmoryaddon:gilded_grilled_helmet",
    "magistuarmoryaddon:grilled_helmet",
    "magistuarmoryaddon:lion_helmet",
    "magistuarmoryaddon:gilded_peascod_chestplate",
    "magistuarmoryaddon:peascod_chestplate",
    "magistuarmoryaddon:alla_tedesca_boots",
    "magistuarmoryaddon:alla_tedesca_chestplate",
    "magistuarmoryaddon:splint_boots",
    "magistuarmoryaddon:splint_leggings",
    "magistuarmoryaddon:splint_chestplate",
    "magistuarmoryaddon:opened_sallet",
    "magistuarmoryaddon:maximilian_burgonet",
    "magistuarmoryaddon:dark_peascod_chestplate",
    "magistuarmoryaddon:gilded_dark_peascod_chestplate",
    "magistuarmoryaddon:two_eye_slits_sallet",
    "magistuarmoryaddon:sallet_without_visor",
    "magistuarmoryaddon:german_bascinet",
    "magistuarmoryaddon:red_greathelm",
    "magistuarmoryaddon:white_greathelm",
    "magistuarmoryaddon:yellow_greathelm",
    "magistuarmoryaddon:gilded_greathelm",
    "magistuarmoryaddon:dark_bellows_maximilian_helmet",
    "magistuarmory:sallet",
    "magistuarmory:jousting_boots",
    "magistuarmory:jousting_leggings",
    "magistuarmory:jousting_chestplate",
    "magistuarmory:stechhelm",
    "magistuarmory:knight_boots",
    "magistuarmory:knight_leggings",
    "magistuarmory:knight_chestplate",
    "magistuarmory:armet",
    "magistuarmory:gothic_chestplate",
    "magistuarmory:gothic_leggings",
    "magistuarmory:gothic_boots",
    "magistuarmory:maximilian_helmet",
    "magistuarmory:maximilian_chestplate",
    "magistuarmory:maximilian_leggings",
    "magistuarmory:maximilian_boots",
    "magistuarmory:kastenbrust_boots",
    "magistuarmory:kastenbrust_leggings",
    "magistuarmory:kastenbrust_chestplate",
    "magistuarmory:greathelm",
    "magistuarmory:ceremonialarmet",
    "magistuarmory:ceremonial_chestplate",
    "magistuarmory:ceremonial_boots",
    "magistuarmory:bascinet",
    "magistuarmory:xivcenturyknight_chestplate",
    "magistuarmory:xivcenturyknight_leggings",
    "magistuarmoryaddon:dark_gothic_helmet",
    "magistuarmoryaddon:dark_jousting_boots",
    "magistuarmoryaddon:dark_jousting_leggings",
    "magistuarmoryaddon:dark_jousting_chestplate",
    "magistuarmoryaddon:dark_jousting_helmet",
    "magistuarmoryaddon:dark_knight_boots",
    "magistuarmoryaddon:dark_knight_leggings",
    "magistuarmoryaddon:dark_knight_chestplate",
    "magistuarmoryaddon:dark_knight_helmet",
    "magistuarmoryaddon:dark_gothic_chestplate",
    "magistuarmoryaddon:dark_gothic_leggings",
    "magistuarmoryaddon:dark_gothic_boots",
    "magistuarmoryaddon:dark_maximilian_helmet",
    "magistuarmoryaddon:dark_maximilian_chestplate",
    "magistuarmoryaddon:dark_maximilian_leggings",
    "magistuarmoryaddon:dark_maximilian_boots",
    "magistuarmoryaddon:dark_grand_bascinet",
    "magistuarmoryaddon:avant_chestplate",
    "magistuarmoryaddon:avant_leggings",
    "magistuarmoryaddon:dark_kastenbrust_chestplate",
    "magistuarmoryaddon:british_armet",
    "magistuarmoryaddon:milanese_armet",
    "magistuarmoryaddon:pikeman_boots",
    "magistuarmoryaddon:pikeman_chestplate",
    "magistuarmoryaddon:savoyard_helmet",
    "magistuarmoryaddon:dark_kastenbrust_boots",
    "magistuarmoryaddon:dark_kastenbrust_leggings",
    "magistuarmoryaddon:devilish_grotesque_maximilian_helmet",
    "magistuarmoryaddon:late_burgonet",
    "magistuarmoryaddon:dark_heavy_cuirassier_boots",
    "magistuarmoryaddon:dark_heavy_cuirassier_chestplate",
    "magistuarmoryaddon:heavy_cuirassier_boots",
    "magistuarmoryaddon:heavy_cuirassier_chestplate",
    "magistuarmoryaddon:closed_burgonet",
    "magistuarmoryaddon:late_greathelm",
    "magistuarmoryaddon:lobster_tailed_helmet",
    "magistuarmoryaddon:late_bascinet",
    "magistuarmoryaddon:avant_boots",
    "magistuarmoryaddon:sallet_without_neck_protection",
    "magistuarmoryaddon:bellows_maximilian_helmet",
    "magistuarmoryaddon:cuman_captain_helmet",
    "magistuarmoryaddon:mirror_chestplate",
    "magistuarmoryaddon:early_greathelm",
    "magistuarmoryaddon:dark_crusader_helmet",
    "magistuarmoryaddon:klappvisor_bascinet",
    "magistuarmoryaddon:bicoque",
    "magistuarmoryaddon:dark_late_sallet",
    "magistuarmoryaddon:late_sallet",
    "magistuarmoryaddon:dark_greenwich_boots",
    "magistuarmoryaddon:dark_greenwich_chestplate",
    "magistuarmoryaddon:dark_greenwich_armet",
    "magistuarmoryaddon:dark_gilded_greenwich_boots",
    "magistuarmoryaddon:dark_gilded_greenwich_chestplate",
    "magistuarmoryaddon:dark_gilded_greenwich_armet",
    "magistuarmory:xivcenturyknight_boots",
    "magistuarmory:grand_bascinet",
    "magistuarmoryaddon:facial_grotesque_maximilian_helmet",
    "magistuarmoryaddon:steel_puff_and_slash_chestplate",
    "magistuarmoryaddon:steel_puff_and_slash_boots",
    "magistuarmoryaddon:gilded_steel_puff_and_slash_chestplate",
    "magistuarmoryaddon:gilded_steel_puff_and_slash_boots",
    "magistuarmoryaddon:silvered_dark_bellows_maximilian_helmet",
    "magistuarmoryaddon:silvered_dark_maximilian_helmet",
    "magistuarmoryaddon:silvered_dark_maximilian_chestplate",
    "magistuarmoryaddon:silvered_dark_maximilian_boots",
    "magistuarmoryaddon:ceremonial_kastenbrust_chestplate",
    "magistuarmoryaddon:gilded_maximilian_chestplate",
    "magistuarmoryaddon:gilded_maximilian_helmet",
    "magistuarmoryaddon:gilded_exquisite_maximilian_helmet",
    "magistuarmoryaddon:english_knight_boots",
    "magistuarmoryaddon:english_knight_chestplate",
    "magistuarmoryaddon:gilded_xivcenturyknight_boots",
    "magistuarmoryaddon:gilded_xivcenturyknight_chestplate",
    "magistuarmoryaddon:ceremonial_kastenbrust_boots",
    "magistuarmoryaddon:gilded_grand_bascinet",
    "magistuarmoryaddon:gilded_greenwich_chestplate",
    "magistuarmoryaddon:gilded_greenwich_armet",
    "magistuarmoryaddon:gilded_gothic_boots",
    "magistuarmoryaddon:gilded_gothic_chestplate",
    "magistuarmoryaddon:gilded_sallet",
    "magistuarmoryaddon:gilded_dark_gothic_boots",
    "magistuarmoryaddon:gilded_dark_gothic_chestplate",
    "magistuarmoryaddon:gilded_dark_sallet",
    "magistuarmoryaddon:gilded_maximilian_boots",
    "magistuarmoryaddon:gilded_greenwich_boots",
    "magistuarmoryaddon:greenwich_armet",
    "magistuarmoryaddon:greenwich_chestplate",
    "magistuarmoryaddon:greenwich_boots",
    "magistuarmoryaddon:dark_heavy_brigandine_boots",
    "magistuarmoryaddon:dark_heavy_brigandine_leggings",
    "magistuarmoryaddon:dark_heavy_brigandine_chestplate",
    "magistuarmoryaddon:gilded_heavy_brigandine_boots",
    "magistuarmoryaddon:gilded_heavy_brigandine_leggings",
    "magistuarmoryaddon:gilded_heavy_brigandine_chestplate",
    "magistuarmoryaddon:heavy_brigandine_boots",
    "magistuarmoryaddon:heavy_brigandine_leggings",
    "magistuarmoryaddon:heavy_brigandine_chestplate",
    "magistuarmoryaddon:sugarloaf_helmet",
    "magistuarmoryaddon:gilded_sugarloaf_helmet",
    "magistuarmoryaddon:patrician_tuher_helmet",
    "magistuarmoryaddon:close_helmet",
    "magistuarmoryaddon:exquisite_maximilian_helmet",
    "magistuarmoryaddon:proto_maximilian_chestplate",
    "magistuarmoryaddon:proto_maximilian_boots",
    "magistuarmoryaddon:dark_proto_maximilian_chestplate",
    "magistuarmoryaddon:dark_proto_maximilian_boots",
    "magistuarmoryaddon:engraved_chestplate",
    "magistuarmoryaddon:engraved_close_helmet",
    "magistuarmoryaddon:darkblued_sallet",
    "magistuarmoryaddon:darkblued_maximilian_boots",
    "magistuarmoryaddon:darkblued_maximilian_leggings",
    "magistuarmoryaddon:darkblued_maximilian_chestplate",
    "magistuarmoryaddon:darkblued_maximilian_helmet",
    "magistuarmoryaddon:darkblued_knight_boots",
    "magistuarmoryaddon:darkblued_knight_leggings",
    "magistuarmoryaddon:darkblued_gothic_boots",
    "magistuarmoryaddon:darkblued_greenwich_armet",
    "magistuarmoryaddon:darkblued_greenwich_chestplate",
    "magistuarmoryaddon:darkblued_greenwich_boots",
    "magistuarmoryaddon:darkblued_kastenbrust_chestplate",
    "magistuarmoryaddon:darkblued_kastenbrust_leggings",
    "magistuarmoryaddon:darkblued_kastenbrust_boots",
    "magistuarmoryaddon:darkblued_armet",
    "magistuarmoryaddon:darkblued_knight_chestplate",
    "magistuarmoryaddon:darkblued_gothic_leggings",
    "magistuarmoryaddon:darkblued_gothic_chestplate",
    "magistuarmoryaddon:embosed_parade_chestplate",
    "magistuarmoryaddon:dark_gilded_parade_boots",
    "magistuarmoryaddon:dark_gilded_parade_chestplate",
    "magistuarmoryaddon:dark_gilded_parade_burgonet",
    "magistuarmoryaddon:embosed_parade_burgonet",
    "magistuarmoryaddon:articulated_chestplate",
    "magistuarmoryaddon:embosed_parade_boots",
    "magistuarmoryaddon:fully_gilded_greenwich_chestplate",
    "magistuarmoryaddon:fully_gilded_greenwich_armet",
    "magistuarmoryaddon:fully_gilded_grand_bascinet",
    "magistuarmoryaddon:fully_gilded_gothic_boots",
    "magistuarmoryaddon:fully_gilded_gothic_leggings",
    "magistuarmoryaddon:fully_gilded_gothic_chestplate",
    "magistuarmoryaddon:fully_gilded_articulated_chestplate",
    "magistuarmoryaddon:fully_gilded_armet",
    "magistuarmoryaddon:fox_grotesque_maximilian_helmet",
    "magistuarmoryaddon:fully_gilded_greenwich_boots",
    "magistuarmoryaddon:fully_gilded_grilled_helmet",
    "magistuarmoryaddon:fully_gilded_jousting_helmet",
    "magistuarmoryaddon:fully_gilded_jousting_chestplate",
    "magistuarmoryaddon:fully_gilded_jousting_leggings",
    "magistuarmoryaddon:fully_gilded_jousting_boots",
    "magistuarmoryaddon:fully_gilded_kastenbrust_chestplate",
    "magistuarmoryaddon:fully_gilded_kastenbrust_leggings",
    "magistuarmoryaddon:fully_gilded_kastenbrust_boots",
    "magistuarmoryaddon:fully_gilded_sallet",
    "magistuarmoryaddon:fully_gilded_milanese_armet",
    "magistuarmoryaddon:fully_gilded_maximilian_boots",
    "magistuarmoryaddon:fully_gilded_maximilian_leggings",
    "magistuarmoryaddon:fully_gilded_maximilian_chestplate",
    "magistuarmoryaddon:fully_gilded_maximilian_helmet",
    "magistuarmoryaddon:fully_gilded_knight_boots",
    "magistuarmoryaddon:fully_gilded_knight_leggings",
    "magistuarmoryaddon:fully_gilded_knight_chestplate",
    "tfc:metal/helmet/bismuth_bronze",
    "tfc:metal/chestplate/bismuth_bronze",
    "tfc:metal/greaves/bismuth_bronze",
    "tfc:metal/boots/bismuth_bronze",
    "tfc:metal/helmet/black_bronze",
    "tfc:metal/chestplate/black_bronze",
    "tfc:metal/greaves/black_bronze",
    "tfc:metal/boots/black_bronze",
    "tfc:metal/helmet/bronze",
    "tfc:metal/chestplate/bronze",
    "tfc:metal/greaves/bronze",
    "tfc:metal/boots/bronze",
    "tfc:metal/helmet/copper",
    "tfc:metal/chestplate/copper",
    "tfc:metal/greaves/copper",
    "tfc:metal/boots/copper",
    "tfc:metal/helmet/wrought_iron",
    "tfc:metal/chestplate/wrought_iron",
    "tfc:metal/greaves/wrought_iron",
    "tfc:metal/boots/wrought_iron",
    "tfc:metal/helmet/steel",
    "tfc:metal/chestplate/steel",
    "tfc:metal/greaves/steel",
    "tfc:metal/boots/steel",
    "tfc:metal/helmet/black_steel",
    "tfc:metal/chestplate/black_steel",
    "tfc:metal/greaves/black_steel",
    "tfc:metal/boots/black_steel",
    "tfc:metal/helmet/blue_steel",
    "tfc:metal/chestplate/blue_steel",
    "tfc:metal/greaves/blue_steel",
    "tfc:metal/boots/blue_steel",
    "tfc:metal/helmet/red_steel",
    "tfc:metal/chestplate/red_steel",
    "tfc:metal/greaves/red_steel",
    "tfc:metal/boots/red_steel"
    ];

const mediumArmorList = [
        "slavicarmory:byzantine_scale_chestplate",
      "slavicarmory:gilded_byzantine_scale_chestplate",
      "slavicarmory:rus_scale_chestplate",
      "slavicarmory:rus_scale_boots",
      "slavicarmory:gilded_rus_scale_chestplate",
      "slavicarmory:gilded_rus_scale_boots",
      "antiquelegacy:scale_thorax",
      "antiquelegacy:scythian_scale_thorax",
      "antiquelegacy:iron_scythian_scale_helmet",
      "antiquelegacy:bronze_scythian_scale_helmet",
      "magistuarmoryaddon:scale_helmet",
      "slavicarmory:rus_heavy_lamellar_chestplate",
      "slavicarmory:gilded_lamellar_mail_chestplate",
      "slavicarmory:lamellar_mail_boots",
      "slavicarmory:lamellar_mail_chestplate",
      "slavicarmory:gilded_byzantine_lamellar_chestplate",
      "slavicarmory:byzantine_lamellar_chestplate",
      "magistuarmory:lamellar_boots",
      "slavicarmory:gilded_rus_heavy_lamellar_boots",
      "slavicarmory:rus_heavy_lamellar_boots",
      "slavicarmory:gilded_rus_heavy_lamellar_chestplate",
      "slavicarmory:bulgar_helmet",
      "slavicarmory:tagancha_helmet",
      "slavicarmory:gilded_tagancha_helmet",
      "slavicarmory:ozernoe_helmet",
      "slavicarmory:gnezdovo_helmet",
      "slavicarmory:gilded_gnezdovo_helmet",
      "slavicarmory:eastern_kettlehat",
      "slavicarmory:gilded_eastern_kettlehat",
      "slavicarmory:varangian_helmet",
      "slavicarmory:andreevski_helmet",
      "slavicarmory:gilded_andreevski_helmet",
      "slavicarmory:nikolskoe_helmet",
      "slavicarmory:gilded_nikolskoe_helmet",
      "slavicarmory:erikhonka",
      "slavicarmory:gilded_erikhonka",
      "slavicarmory:late_phrygian_helmet",
      "slavicarmory:gilded_late_phrygian_helmet",
      "slavicarmory:gilded_shater_helmet",
      "slavicarmory:varangian_guard_helmet",
      "slavicarmory:shater_helmet",
      "slavicarmory:gilded_raikovec_helmet",
      "slavicarmory:raikovec_helmet",
      "slavicarmory:kuyak_breastplate",
      "slavicarmory:gilded_bahteretz_chestplate",
      "slavicarmory:kuyak_chestplate",
      "slavicarmory:bahteretz_boots",
      "antiquelegacy:officer_squamata",
      "antiquelegacy:bronze_squamata",
      "antiquelegacy:iron_squamata",
      "antiquelegacy:kuban_helmet",
      "antiquelegacy:scythian_attic_helmet",
      "magistuarmoryaddon:gallowglass_leggings",
      "magistuarmoryaddon:gallowglass_boots",
      "magistuarmoryaddon:gilded_half_armor",
      "magistuarmoryaddon:sturmhaube",
      "magistuarmoryaddon:silvered_dark_half_armor",
      "magistuarmoryaddon:coat_of_plates_boots",
      "magistuarmoryaddon:coat_of_plates_chestplate",
      "magistuarmoryaddon:scale_helmet",
      "magistuarmoryaddon:gilded_early_cabasset",
      "magistuarmoryaddon:dark_early_cabasset",
      "magistuarmoryaddon:early_cabasset",
      "magistuarmoryaddon:gilded_cabasset",
      "magistuarmoryaddon:cabasset",
      "magistuarmoryaddon:late_kettlehat",
      "magistuarmoryaddon:cuman_helmet",
      "magistuarmoryaddon:gilded_chainmail_leggings",
      "magistuarmoryaddon:gilded_chainmail_coif",
      "magistuarmoryaddon:gilded_chainmail_chestplate",
      "magistuarmoryaddon:light_cuman_helmet",
      "magistuarmoryaddon:mamluk_helmet",
      "magistuarmory:halfarmor_chestplate",
      "magistuarmory:barbute",
      "magistuarmory:platemail_boots",
      "magistuarmory:platemail_leggings",
      "magistuarmory:platemail_chestplate",
      "magistuarmory:kettlehat",
      "magistuarmory:chainmail_chestplate",
      "magistuarmory:chainmail_helmet",
      "magistuarmory:cuirassier_chestplate",
      "magistuarmory:cuirassier_helmet",
      "magistuarmory:wingedhussar_chestplate",
      "magistuarmory:shishak",
      "magistuarmory:norman_helmet",
      "magistuarmory:brigandine_chestplate",
      "magistuarmory:crusader_boots",
      "magistuarmory:crusader_leggings",
      "magistuarmory:crusader_chestplate",
      "magistuarmory:crown_decoration",
      "magistuarmory:minicrown_decoration",
      "magistuarmory:lamellar_boots",
      "magistuarmory:lamellar_chestplate",
      "magistuarmory:face_helmet",
      "slavicarmory:yushman_chestplate",
      "slavicarmory:gilded_yushman_chestplate",
      "slavicarmory:rus_chainmail_coif",
      "slavicarmory:rus_chainmail_chestplate",
      "slavicarmory:rus_chainmail_leggings",
      "slavicarmory:rus_chainmail_boots",
      "antiquelegacy:hamata",
      "antiquelegacy:hamata_optio",
      "antiquelegacy:late_hamata",
      "antiquelegacy:open_attic_helmet",
      "antiquelegacy:provocator_helmet",
      "antiquelegacy:secutor_helmet",
      "antiquelegacy:segmentata",
      "antiquelegacy:thracian_helmet",
      "antiquelegacy:tinned_muscle_cuirass",
      "antiquelegacy:tinned_phrygian_helmet",
      "antiquelegacy:cardiophylax",
      "antiquelegacy:iron_thorax",
      "antiquelegacy:iron_roman_greaves",
      "antiquelegacy:bronze_roman_greaves",
      "antiquelegacy:agen_port_helmet",
      "antiquelegacy:celtic_montefortino_helmet",
      "antiquelegacy:la_gorge_meillet",
      "antiquelegacy:sava_helmet",
      "antiquelegacy:waterloo_helmet",
      "antiquelegacy:left_gladiator_shoulder_pad_decoration",
      "antiquelegacy:left_gladiator_shoulder_pad_decoration",
      "antiquelegacy:right_gladiator_shoulder_pad_decoration",
      "antiquelegacy:iron_left_hand_manika_decoration",
      "antiquelegacy:bronze_left_hand_manika_decoration",
      "antiquelegacy:iron_right_hand_manika_decoration",
      "antiquelegacy:bronze_right_hand_manika_decoration",
      "magistuarmoryaddon:morion",
      "magistuarmoryaddon:dark_crusader_boots",
      "magistuarmoryaddon:dark_crusader_leggings",
      "magistuarmoryaddon:dark_crusader_chestplate",
      "magistuarmoryaddon:xiii_century_knight_boots",
      "magistuarmoryaddon:mirror_boots",
      "magistuarmoryaddon:xiii_century_knight_leggings",
      "magistuarmoryaddon:chapel",
      "magistuarmoryaddon:chained_gambeson",
      "magistuarmoryaddon:chained_gambeson_boots",
      "magistuarmoryaddon:tablet_helmet",
      "magistuarmoryaddon:burgundian_kettlehat",
      "magistuarmoryaddon:light_burgonet",
      "magistuarmoryaddon:visored_kettlehat",
      "magistuarmoryaddon:cervelliere",
      "magistuarmoryaddon:closed_barbute",
      "magistuarmoryaddon:kulah_khud",
      "magistuarmoryaddon:saracen_helmet",
      "magistuarmoryaddon:saracen_chestplate",
      "magistuarmoryaddon:saracen_boots",
      "magistuarmoryaddon:xiii_century_knight_chestplate",
      "magistuarmoryaddon:gallowglass_chestplate",
      "antiquelegacy:attic_helmet",
      "antiquelegacy:bell_cuirass",
      "antiquelegacy:beotian_helmet",
      "antiquelegacy:bronzed_gallea",
      "antiquelegacy:bronze_ridge_helmet",
      "antiquelegacy:bronze_coolus",
      "antiquelegacy:bronze_intercisa",
      "antiquelegacy:bronze_melos",
      "antiquelegacy:bronze_muscle_cuirass",
      "antiquelegacy:bronze_niederbieber_helmet",
      "antiquelegacy:bronze_phrygian_helmet",
      "antiquelegacy:bronze_pilos_closet",
      "antiquelegacy:bronze_pilos",
      "antiquelegacy:roman_parade_helmet",
      "antiquelegacy:bronze_apulo_corinthian_helmet",
      "antiquelegacy:chalcidian_helmet",
      "antiquelegacy:corinthian_helmet",
      "antiquelegacy:gallea",
      "antiquelegacy:gilded_gallea",
      "antiquelegacy:golden_ridge_helmet",
      "antiquelegacy:greek_greaves",
      "antiquelegacy:heddernheim_helmet",
      "antiquelegacy:illirian_helmet",
      "antiquelegacy:iron_ridge_helmet",
      "antiquelegacy:iron_intercisa",
      "antiquelegacy:iron_melos",
      "antiquelegacy:iron_niederbieber_helmet",
      "antiquelegacy:iron_pilos",
      "antiquelegacy:murmillo_helmet",
      "antiquelegacy:musculata"
    ];

TFCEvents.data(event => {
    lightArmorList.forEach(armor => {
        event.itemDamageResistance(armor, {
            slashing: 5,
            piercing: 0,
            crushing: 5
        });
    });
});
TFCEvents.data(event => {
    mediumArmorList.forEach(armor => {
        event.itemDamageResistance(armor, {
            slashing: 15,
            piercing: 10,
            crushing: 25
        });
    });
});
TFCEvents.data(event => {
    heavyArmorList.forEach(armor => {
        event.itemDamageResistance(armor, {
            slashing: 30,
            piercing: 30,
            crushing: 15
        });
    });
});