LootJS.modifiers((event) => {
    // This modifier targets every chest and every entity drop globally
    event.addLootTypeModifier([LootType.CHEST, LootType.ENTITY])
        .removeLoot([
            // 1. VANILLA GEAR PURGE (Iron, Gold, Diamond, Netherite, Chainmail, Wood)
            // This regex covers all armor pieces and tools for these tiers
            /minecraft:(iron|golden|diamond|netherite|chainmail)_(helmet|chestplate|leggings|boots|sword|pickaxe|axe|shovel|hoe)/,
            /minecraft:wooden_(sword|shovel|pickaxe|hoe|axe)/,
            "minecraft:shield",

            // 2. SOULS WEAPONS PURGE
            // Targeted removal of specific high-tier sets and individual pieces
            /soulsweapons:(arkenplate|enhanced_arkenplate|withered_chest|enhanced_withered_chest|chaos_helmet|soul_ingot|soul_robes|forlorn).*/,

            // 3. JUST HAMMERS PURGE
            // Removes all hammers, cores, and specific tiers
            /justhammers:.*_hammer/,
            /justhammers:.*_core/,

            // 4. 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",

            // 5. END REMASTERED PURGE
            // Removes specific eyes and materials
            /endrem:(witch_pupil|undead_soul|black_eye|old_eye|rogue_eye|witch_eye)/
        ]);
});