const CLEAN_TOOLTIP_CONFIG = {

    weapons: {
        targets: [
            "#forge:weapons",
            "#minecraft:tools",
            "#overgeared:smithing_hammers",
            "savage_and_ravage:cleaver_of_beheading"
        ],
        hidden: [
            "attribute.name.generic.attack_damage",
            "attribute.name.generic.attack_speed",
            "attribute.name.generic.attack_knockback",
            "forge.entity_reach",
            "item.modifiers.mainhand",
            "item.modifiers.offhand"
        ]
    },

    armors: {
        targets: [
            "#forge:armors",
            "#forge:armor",
            "quark:forgotten_hat",
            "minecraft:leather_helmet",
            "minecraft:leather_chestplate",
            "minecraft:leather_leggings",
            "minecraft:leather_boots",
            "overgeared:copper_helmet",
            "overgeared:copper_chestplate",
            "overgeared:copper_leggings",
            "overgeared:copper_boots",
            "minecraft:chainmail_helmet",
            "minecraft:chainmail_chestplate",
            "minecraft:chainmail_leggings",
            "minecraft:chainmail_boots",
            "galosphere:sterling_helmet",
            "galosphere:sterling_chestplate",
            "galosphere:sterling_leggings",
            "galosphere:sterling_boots",
            "minecraft:iron_helmet",
            "minecraft:iron_chestplate",
            "minecraft:iron_leggings",
            "minecraft:iron_boots",
            "savage_and_ravage:griefer_helmet",
            "savage_and_ravage:griefer_chestplate",
            "savage_and_ravage:griefer_leggings",
            "savage_and_ravage:griefer_boots",
            "minecraft:golden_helmet",
            "minecraft:golden_chestplate",
            "minecraft:golden_leggings",
            "minecraft:golden_boots",
            "minecraft:diamond_helmet",
            "minecraft:diamond_chestplate",
            "minecraft:diamond_leggings",
            "minecraft:diamond_boots",
            "minecraft:netherite_helmet",
            "minecraft:netherite_chestplate",
            "minecraft:netherite_leggings",
            "minecraft:netherite_boots",
            "minecraft:turtle_helmet",
            "windswept:antler_helmet",
            "windswept:feather_cloak",
            "windswept:snow_boots",
            "windswept:lavender_crown",
            "environmental:yak_pants",

            "alexsmobs:roadrunner_boots",
            "alexsmobs:crocodile_chestplate",
            "alexsmobs:centipede_leggings",
            "alexsmobs:moose_headgear",
            "alexsmobs:frontier_cap",
            "alexsmobs:spiked_turtle_shell",
            "alexsmobs:emu_leggings",
            "alexsmobs:fedora",
            "alexsmobs:tarantula_hawk_elytra",
            "alexsmobs:froststalker_helmet",
            "alexsmobs:rocky_chestplate",
            "alexsmobs:flying_fish_boots",
            "alexsmobs:novelty_hat",
            "alexsmobs:unsettling_kimono",
            "slavicarmory:erikhonka",

            "slavicarmory:gilded_erikhonka",
            "slavicarmory:late_phrygian_helmet",
            "slavicarmory:gilded_late_phrygian_helmet",
            "slavicarmory:byzantine_lamellar_chestplate",
            "slavicarmory:gilded_byzantine_lamellar_chestplate",
            "slavicarmory:byzantine_scale_chestplate",
            "slavicarmory:gilded_byzantine_scale_chestplate",
            "slavicarmory:varangian_guard_helmet",
            "slavicarmory:kaftan",
            "slavicarmory:kaftan_boots",
            "slavicarmory:yushman_chestplate",
            "slavicarmory:gilded_yushman_chestplate",
            "slavicarmory:gilded_shater_helmet",
            "slavicarmory:shater_helmet",
            "slavicarmory:gilded_raikovec_helmet",
            "slavicarmory:raikovec_helmet",
            "slavicarmory:gilded_nikolskoe_helmet",
            "slavicarmory:nikolskoe_helmet",
            "slavicarmory:gilded_andreevski_helmet",
            "slavicarmory:andreevski_helmet",
            "slavicarmory:varangian_helmet",
            "slavicarmory:gilded_eastern_kettlehat",
            "slavicarmory:eastern_kettlehat",
            "slavicarmory:gilded_gnezdovo_helmet",
            "slavicarmory:gnezdovo_helmet",
            "slavicarmory:ozernoe_helmet",
            "slavicarmory:gilded_tagancha_helmet",
            "slavicarmory:tagancha_helmet",
            "slavicarmory:bulgar_helmet",
            "slavicarmory:rus_chainmail_coif",
            "slavicarmory:rus_chainmail_chestplate",
            "slavicarmory:rus_chainmail_leggings",
            "slavicarmory:rus_chainmail_boots",
            "slavicarmory:bahteretz_chestplate",
            "slavicarmory:bahteretz_boots",
            "slavicarmory:gilded_bahteretz_chestplate",
            "slavicarmory:kuyak_chestplate",
            "slavicarmory:kuyak_breastplate",
            "slavicarmory:lamellar_mail_chestplate",
            "slavicarmory:lamellar_mail_boots",
            "slavicarmory:gilded_lamellar_mail_chestplate",
            "slavicarmory:rus_scale_chestplate",
            "slavicarmory:rus_scale_boots",
            "slavicarmory:gilded_rus_scale_chestplate",
            "slavicarmory:gilded_rus_scale_boots",
            "slavicarmory:rus_heavy_lamellar_chestplate",
            "slavicarmory:rus_heavy_lamellar_boots",
            "slavicarmory:gilded_rus_heavy_lamellar_chestplate",
            "slavicarmory:gilded_rus_heavy_lamellar_boots",
            "slavicarmory:shapka",
            "slavicarmory:rus_gambeson",
            "slavicarmory:rus_gambeson_boots",
            "slavicarmory:rus_chainmail_hood_decoration",

            "magistuarmory:armet",
            "magistuarmory:knight_chestplate",
            "magistuarmory:knight_leggings",
            "magistuarmory:knight_boots",
            "magistuarmory:stechhelm",
            "magistuarmory:jousting_chestplate",
            "magistuarmory:jousting_leggings",
            "magistuarmory:jousting_boots",
            "magistuarmory:sallet",
            "magistuarmory:gothic_chestplate",
            "magistuarmory:gothic_leggings",
            "magistuarmory:gothic_boots",
            "magistuarmory:maximilian_helmet",
            "magistuarmory:maximilian_chestplate",
            "magistuarmory:maximilian_leggings",
            "magistuarmory:maximilian_boots",
            "magistuarmory:chainmail_helmet",
            "magistuarmory:chainmail_chestplate",
            "magistuarmory:chainmail_leggings",
            "magistuarmory:chainmail_boots",
            "magistuarmory:kettlehat",
            "magistuarmory:platemail_chestplate",
            "magistuarmory:platemail_leggings",
            "magistuarmory:platemail_boots",
            "magistuarmory:barbute",
            "magistuarmory:halfarmor_chestplate",
            "magistuarmory:greathelm",
            "magistuarmory:crusader_chestplate",
            "magistuarmory:crusader_leggings",
            "magistuarmory:crusader_boots",
            "magistuarmory:ceremonialarmet",
            "magistuarmory:ceremonial_chestplate",
            "magistuarmory:ceremonial_boots",
            "magistuarmory:coif",
            "magistuarmory:gambeson_chestplate",
            "magistuarmory:pantyhose",
            "magistuarmory:gambeson_boots",
            "magistuarmory:brigandine_chestplate",
            "magistuarmory:norman_helmet",
            "magistuarmory:shishak",
            "magistuarmory:bascinet",
            "magistuarmory:xivcenturyknight_chestplate",
            "magistuarmory:xivcenturyknight_leggings",
            "magistuarmory:xivcenturyknight_boots",
            "magistuarmory:wingedhussar_chestplate",
            "magistuarmory:cuirassier_helmet",
            "magistuarmory:cuirassier_chestplate",
            "magistuarmory:cuirassier_leggings",
            "magistuarmory:cuirassier_boots",
            "magistuarmory:grand_bascinet",
            "magistuarmory:kastenbrust_chestplate",
            "magistuarmory:kastenbrust_leggings",
            "magistuarmory:kastenbrust_boots",
            "magistuarmory:face_helmet",

            "magistuarmory:lamellar_chestplate",
            "magistuarmory:lamellar_boots",
            "magistuarmoryaddon:dark_knight_chestplate",
            "magistuarmoryaddon:dark_knight_leggings",
            "magistuarmoryaddon:dark_knight_boots",
            "magistuarmoryaddon:dark_knight_helmet",
            "magistuarmoryaddon:dark_gothic_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_crusader_helmet",
            "magistuarmoryaddon:dark_crusader_chestplate",
            "magistuarmoryaddon:dark_crusader_leggings",
            "magistuarmoryaddon:dark_crusader_boots",
            "magistuarmoryaddon:dark_grand_bascinet",
            "magistuarmoryaddon:dark_kastenbrust_chestplate",
            "magistuarmoryaddon:dark_kastenbrust_leggings",
            "magistuarmoryaddon:dark_kastenbrust_boots",
            "magistuarmoryaddon:savoyard_helmet",
            "magistuarmoryaddon:morion",
            "magistuarmoryaddon:pikeman_chestplate",
            "magistuarmoryaddon:pikeman_boots",
            "magistuarmoryaddon:milanese_armet",
            "magistuarmoryaddon:british_armet",
            "magistuarmoryaddon:avant_chestplate",
            "magistuarmoryaddon:avant_leggings",
            "magistuarmoryaddon:avant_boots",
            "magistuarmoryaddon:visored_kettlehat",
            "magistuarmoryaddon:cervelliere",
            "magistuarmoryaddon:closed_barbute",
            "magistuarmoryaddon:bicoque",
            "magistuarmoryaddon:linen_coif",
            "magistuarmoryaddon:sallet_without_neck_protection",
            "magistuarmoryaddon:bellows_maximilian_helmet",
            "magistuarmoryaddon:kulah_khud",
            "magistuarmoryaddon:cuman_captain_helmet",
            "magistuarmoryaddon:mirror_chestplate",
            "magistuarmoryaddon:mirror_boots",
            "magistuarmoryaddon:saracen_helmet",
            "magistuarmoryaddon:saracen_chestplate",
            "magistuarmoryaddon:saracen_boots",
            "magistuarmoryaddon:early_greathelm",
            "magistuarmoryaddon:xiii_century_knight_chestplate",
            "magistuarmoryaddon:xiii_century_knight_leggings",
            "magistuarmoryaddon:xiii_century_knight_boots",
            "magistuarmoryaddon:klappvisor_bascinet",
            "magistuarmoryaddon:late_bascinet",
            "magistuarmoryaddon:lobster_tailed_helmet",

            "magistuarmoryaddon:chapel",
            "magistuarmoryaddon:chained_gambeson",
            "magistuarmoryaddon:chained_gambeson_boots",
            "magistuarmoryaddon:tablet_helmet",
            "magistuarmoryaddon:late_greathelm",
            "magistuarmoryaddon:burgundian_kettlehat",
            "magistuarmoryaddon:closed_burgonet",
            "magistuarmoryaddon:heavy_cuirassier_chestplate",
            "magistuarmoryaddon:heavy_cuirassier_boots",
            "magistuarmoryaddon:dark_heavy_cuirassier_chestplate",
            "magistuarmoryaddon:dark_heavy_cuirassier_boots",
            "magistuarmoryaddon:light_burgonet",
            "magistuarmoryaddon:late_burgonet",
            "magistuarmoryaddon:devilish_grotesque_maximilian_helmet",
            "magistuarmoryaddon:facial_grotesque_maximilian_helmet",
            "magistuarmoryaddon:dark_gilded_greenwich_armet",
            "magistuarmoryaddon:dark_gilded_greenwich_chestplate",
            "magistuarmoryaddon:dark_gilded_greenwich_boots",
            "magistuarmoryaddon:dark_greenwich_armet",
            "magistuarmoryaddon:dark_greenwich_chestplate",
            "magistuarmoryaddon:dark_greenwich_boots",
            "magistuarmoryaddon:late_sallet",
            "magistuarmoryaddon:dark_late_sallet",
            "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:sturmhaube",
            "magistuarmoryaddon:silvered_dark_bellows_maximilian_helmet",
            "magistuarmoryaddon:silvered_dark_maximilian_helmet",
            "magistuarmoryaddon:silvered_dark_maximilian_chestplate",
            "magistuarmoryaddon:silvered_dark_maximilian_boots",
            "magistuarmoryaddon:gilded_grand_bascinet",
            "magistuarmoryaddon:ceremonial_kastenbrust_chestplate",
            "magistuarmoryaddon:ceremonial_kastenbrust_boots",
            "magistuarmoryaddon:gilded_xivcenturyknight_chestplate",
            "magistuarmoryaddon:gilded_xivcenturyknight_boots",
            "magistuarmoryaddon:gallowglass_chestplate",
            "magistuarmoryaddon:gallowglass_leggings",
            "magistuarmoryaddon:gallowglass_boots",
            "magistuarmoryaddon:english_knight_chestplate",
            "magistuarmoryaddon:english_knight_boots",
            "magistuarmoryaddon:gilded_half_armor",
            "magistuarmoryaddon:gilded_exquisite_maximilian_helmet",
            "magistuarmoryaddon:gilded_maximilian_helmet",
            "magistuarmoryaddon:gilded_maximilian_chestplate",
            "magistuarmoryaddon:gilded_maximilian_boots",
            "magistuarmoryaddon:coat_of_plates_chestplate",
            "magistuarmoryaddon:coat_of_plates_boots",
            "magistuarmoryaddon:silvered_dark_half_armor",
            "magistuarmoryaddon:gilded_dark_sallet",
            "magistuarmoryaddon:gilded_dark_gothic_chestplate",
            "magistuarmoryaddon:gilded_dark_gothic_boots",
            "magistuarmoryaddon:gilded_sallet",

            "magistuarmoryaddon:gilded_gothic_chestplate",
            "magistuarmoryaddon:gilded_gothic_boots",
            "magistuarmoryaddon:gilded_greenwich_armet",
            "magistuarmoryaddon:gilded_greenwich_chestplate",
            "magistuarmoryaddon:gilded_greenwich_boots",
            "magistuarmoryaddon:greenwich_armet",
            "magistuarmoryaddon:greenwich_chestplate",
            "magistuarmoryaddon:greenwich_boots",
            "magistuarmoryaddon:orange_puff_and_slash_chestplate",
            "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",
            "magistuarmoryaddon:white_puff_and_slash_chestplate",
            "magistuarmoryaddon:white_puff_and_slash_leggings",
            "magistuarmoryaddon:puff_and_slash_boots",
            "magistuarmoryaddon:scale_helmet",
            "magistuarmoryaddon:condottiero_cap",
            "magistuarmoryaddon:sugarloaf_helmet",
            "magistuarmoryaddon:gilded_sugarloaf_helmet",
            "magistuarmoryaddon:patrician_tuher_helmet",
            "magistuarmoryaddon:late_kettlehat",
            "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:heavy_brigandine_chestplate",

            "magistuarmoryaddon:heavy_brigandine_leggings",
            "magistuarmoryaddon:heavy_brigandine_boots",
            "magistuarmoryaddon:gilded_heavy_brigandine_chestplate",
            "magistuarmoryaddon:gilded_heavy_brigandine_leggings",
            "magistuarmoryaddon:gilded_heavy_brigandine_boots",
            "magistuarmoryaddon:dark_heavy_brigandine_chestplate",
            "magistuarmoryaddon:dark_heavy_brigandine_leggings",
            "magistuarmoryaddon:dark_heavy_brigandine_boots",
            "magistuarmoryaddon:cabasset",
            "magistuarmoryaddon:gilded_cabasset",
            "magistuarmoryaddon:early_cabasset",
            "magistuarmoryaddon:dark_early_cabasset",
            "magistuarmoryaddon:gilded_early_cabasset",
            "magistuarmoryaddon:straw_hat",
            "magistuarmoryaddon:fancy_hat",
            "magistuarmoryaddon:tunic",
            "magistuarmoryaddon:tunic_boots",
            "magistuarmoryaddon:embosed_parade_burgonet",
            "magistuarmoryaddon:embosed_parade_chestplate",
            "magistuarmoryaddon:embosed_parade_boots",
            "magistuarmoryaddon:dark_gilded_parade_burgonet",
            "magistuarmoryaddon:dark_gilded_parade_chestplate",
            "magistuarmoryaddon:dark_gilded_parade_boots",
            "magistuarmoryaddon:doublet",
            "magistuarmoryaddon:shoes",
            "magistuarmoryaddon:articulated_chestplate",
            "magistuarmoryaddon:cuman_helmet",
            "magistuarmoryaddon:darkblued_gothic_chestplate",
            "magistuarmoryaddon:darkblued_gothic_leggings",
            "magistuarmoryaddon:darkblued_gothic_boots",
            "magistuarmoryaddon:darkblued_greenwich_armet",
            "magistuarmoryaddon:darkblued_greenwich_chestplate",
            "magistuarmoryaddon:darkblued_kastenbrust_chestplate",
            "magistuarmoryaddon:darkblued_kastenbrust_leggings",
            "magistuarmoryaddon:darkblued_kastenbrust_boots",
            "magistuarmoryaddon:darkblued_armet",
            "magistuarmoryaddon:darkblued_knight_chestplate",
            "magistuarmoryaddon:darkblued_knight_leggings",
            "magistuarmoryaddon:darkblued_knight_boots",
            "magistuarmoryaddon:darkblued_maximilian_helmet",
            "magistuarmoryaddon:darkblued_maximilian_chestplate",
            "magistuarmoryaddon:darkblued_maximilian_leggings",
            "magistuarmoryaddon:darkblued_maximilian_boots",
            "magistuarmoryaddon:darkblued_sallet",
            "magistuarmoryaddon:engraved_close_helmet",
            "magistuarmoryaddon:engraved_chestplate",
            "magistuarmoryaddon:fox_grotesque_maximilian_helmet",
            "magistuarmoryaddon:fully_gilded_armet",
            "magistuarmoryaddon:fully_gilded_articulated_chestplate",
            "magistuarmoryaddon:fully_gilded_gothic_chestplate",
            "magistuarmoryaddon:fully_gilded_gothic_leggings",
            "magistuarmoryaddon:fully_gilded_gothic_boots",
            "magistuarmoryaddon:fully_gilded_grand_bascinet",
            "magistuarmoryaddon:fully_gilded_greenwich_armet",

            "magistuarmoryaddon:fully_gilded_greenwich_chestplate",
            "magistuarmoryaddon:fully_gilded_greenwich_boots",
            "magistuarmoryaddon:fully_gilded_grilled_helmet",
            "magistuarmoryaddon:fully_gilded_kastenbrust_chestplate",
            "magistuarmoryaddon:fully_gilded_kastenbrust_leggings",
            "magistuarmoryaddon:fully_gilded_kastenbrust_boots",
            "magistuarmoryaddon:fully_gilded_knight_chestplate",
            "magistuarmoryaddon:fully_gilded_knight_leggings",
            "magistuarmoryaddon:fully_gilded_knight_boots",
            "magistuarmoryaddon:fully_gilded_maximilian_helmet",
            "magistuarmoryaddon:fully_gilded_maximilian_chestplate",
            "magistuarmoryaddon:fully_gilded_maximilian_leggings",
            "magistuarmoryaddon:fully_gilded_maximilian_boots",
            "magistuarmoryaddon:fully_gilded_milanese_armet",
            "magistuarmoryaddon:fully_gilded_sallet",
            "magistuarmoryaddon:gilded_chainmail_coif",
            "magistuarmoryaddon:gilded_chainmail_chestplate",
            "magistuarmoryaddon:gilded_chainmail_leggings",
            "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:mamluk_helmet",
            "magistuarmoryaddon:maximilian_burgonet",
            "magistuarmoryaddon:opened_sallet",
            "magistuarmoryaddon:splint_chestplate",
            "magistuarmoryaddon:splint_leggings",
            "magistuarmoryaddon:splint_boots",
            "magistuarmoryaddon:tilted_puff_and_slash_hat",
            "magistuarmoryaddon:alla_tedesca_chestplate",
            "magistuarmoryaddon:alla_tedesca_boots",
            "magistuarmoryaddon:peascod_chestplate",
            "magistuarmoryaddon:gilded_peascod_chestplate",
            "magistuarmoryaddon:dark_peascod_chestplate",
            "magistuarmoryaddon:gilded_dark_peascod_chestplate",
            "magistuarmoryaddon:two_eye_slits_sallet",
            "magistuarmoryaddon:sallet_without_visor",
            "magistuarmoryaddon:german_bascinet",
            "magistuarmoryaddon:light_cuman_helmet",
            "magistuarmoryaddon:red_greathelm",
            "magistuarmoryaddon:white_greathelm",
            "magistuarmoryaddon:yellow_greathelm",
            "magistuarmoryaddon:gilded_greathelm",
            "magistuarmoryaddon:dark_bellows_maximilian_helmet",
            "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"
        ],
        hidden: [
            "attribute.name.combat_roll.distance",
            "attribute.name.combat_roll.recharge",
            "attribute.name.generic.armor",
            "attribute.name.generic.armor_toughness",
            "attribute.name.generic.knockback_resistance",
            "item.modifiers.head",
            "item.modifiers.chest",
            "item.modifiers.legs",
            "item.modifiers.feet"
        ]
    }

}



ItemEvents.tooltip(event => {

    CLEAN_TOOLTIP_CONFIG.weapons.targets.forEach(target => {
        event.addAdvanced(target, (item, advanced, text) => {

            for (let key of CLEAN_TOOLTIP_CONFIG.weapons.hidden) {
                let translated = Text.translate(key).string
                text.removeIf(line => {
                    const s = line.toString();
                    return s.includes(translated) || s.includes(key);
                })
            }

            for (let i = text.size() - 1; i >= 0; i--) {
                if (text.get(i).getString().trim() === "") {
                    text.remove(i);
                }
            }
        })
    })


    CLEAN_TOOLTIP_CONFIG.armors.targets.forEach(target => {
        event.addAdvanced(target, (item, advanced, text) => {

            for (let key of CLEAN_TOOLTIP_CONFIG.armors.hidden) {
                let translated = Text.translate(key).string

                text.removeIf(line => {
                    const s = line.toString();
                    return s.includes(translated) || s.includes(key);
                })
            }

            /* for (let i = text.size() - 1; i >= 0; i--) {
                if (text.get(i).getString().trim() === "") {
                    text.remove(i);
                }
            } */
        })
    })
})