LootJS.modifiers((event) => {
    const armorBlacklist = [
        // Diamond
        'minecraft:diamond_helmet', 'minecraft:diamond_chestplate', 
        'minecraft:diamond_leggings', 'minecraft:diamond_boots',
        
        // Iron
        'minecraft:iron_helmet', 'minecraft:iron_chestplate', 
        'minecraft:iron_leggings', 'minecraft:iron_boots',
        
        // Chainmail
        'minecraft:chainmail_helmet', 'minecraft:chainmail_chestplate', 
        'minecraft:chainmail_leggings', 'minecraft:chainmail_boots',
        
        // Netherite
        'minecraft:netherite_helmet', 'minecraft:netherite_chestplate', 
        'minecraft:netherite_leggings', 'minecraft:netherite_boots',
        
        // Gold
        'minecraft:golden_helmet', 'minecraft:golden_chestplate', 
        'minecraft:golden_leggings', 'minecraft:golden_boots'
    ];

    // Using the more efficient LootType modifier
    event.addLootTypeModifier([LootType.CHEST, LootType.ENTITY])
        .removeLoot(armorBlacklist);
});