LootJS.modifiers((event) => {
    // This modifier targets every chest and every entity drop globally
    event.addLootTypeModifier([LootType.CHEST, LootType.ENTITY])
        .removeLoot([
            // 1. VANILLA ARMOR PURGE (Removes Iron, Gold, Diamond, Netherite, Chainmail Armor)
            // Leather is excluded.
            /minecraft:(iron|golden|diamond|netherite|chainmail)_(helmet|chestplate|leggings|boots)/,
            
            // 2. WOOD & GOLD TOOL PURGE
            // Removes all wooden and golden tools/swords from the game plus the vanilla shield
            /minecraft:wooden_(sword|shovel|pickaxe|hoe|axe)/,
            /minecraft:golden_(sword|shovel|pickaxe|hoe|axe)/,
            "minecraft:shield",

            // 3. SOULS WEAPONS PURGE
            /soulsweapons:(arkenplate|enhanced_arkenplate|withered_chest|enhanced_withered_chest|chaos_helmet|soul_ingot|soul_robes|forlorn).*/,

            // 4. JUST HAMMERS PURGE
            /justhammers:.*_hammer/,
            /justhammers:.*_core/,

            // 5. ARTIFACTS & RPG GEAR PURGE
            "artifacts:everlasting_beef",
            "artifacts:eternal_steak",
            "artifacts:pickaxe_heater",
            "artifacts:rooted_boots",
            "artifacts:universal_attractor",
            "paladins:wooden_great_hammer",
            "forcemaster_rpg:wooden_knuckle",

            // 6. END REMASTERED PURGE
            /endrem:(witch_pupil|undead_soul|black_eye|old_eye|rogue_eye|witch_eye)/,

            // 7. MODDED GOLD PURGE (Specific Class Weapons)
            "archers:golden_spear",
            "farmersdelight:golden_knife",
            "forcemaster_rpg:golden_knuckle",
            "justhammers:gold_hammer",
            "jewelry:gold_ring",
            "paladins:golden_claymore",
            "paladins:golden_great_hammer",
            "paladins:golden_mace",
            "paladins:golden_kite_shield",
            "rogues:golden_dagger",
            "rogues:golden_sickle",
            "rogues:golden_double_axe",
            "rogues:golden_glaive",
            "berserker_rpg:golden_berserker_axe"
        ]);
});