// for 1.18 pls use: onEvent("morejs.villager.trades", (event) => { ... })
MoreJSEvents.villagerTrades((event) => {
    
    event.removeModdedTrades(['pneumaticcraft:mechanic'], 1);
    event.removeModdedTrades(['pneumaticcraft:mechanic'], 2);
    event.removeModdedTrades(['pneumaticcraft:mechanic'], 3);
    event.removeModdedTrades(['pneumaticcraft:mechanic'], 4);
    event.removeModdedTrades(['pneumaticcraft:mechanic'], 5);

    event.removeModdedTrades(['productivebees:beekeeper'], 1);
    event.removeModdedTrades(['productivebees:beekeeper'], 2);
    event.removeModdedTrades(['productivebees:beekeeper'], 3);
    event.removeModdedTrades(['productivebees:beekeeper'], 4);
    event.removeModdedTrades(['productivebees:beekeeper'], 5);

    event.removeModdedTrades(['immersiveengineering:machinist'], 1);
    event.removeModdedTrades(['immersiveengineering:machinist'], 2);
    event.removeModdedTrades(['immersiveengineering:machinist'], 3);
    event.removeModdedTrades(['immersiveengineering:machinist'], 4);
    event.removeModdedTrades(['immersiveengineering:machinist'], 5);

    event.removeModdedTrades(['immersiveengineering:engineer'], 1);
    event.removeModdedTrades(['immersiveengineering:engineer'], 2);
    event.removeModdedTrades(['immersiveengineering:engineer'], 3);
    event.removeModdedTrades(['immersiveengineering:engineer'], 4);
    event.removeModdedTrades(['immersiveengineering:engineer'], 5);

    event.removeModdedTrades(['immersiveengineering:electrician'], 1);
    event.removeModdedTrades(['immersiveengineering:electrician'], 2);
    event.removeModdedTrades(['immersiveengineering:electrician'], 3);
    event.removeModdedTrades(['immersiveengineering:electrician'], 4);
    event.removeModdedTrades(['immersiveengineering:electrician'], 5);

    event.removeModdedTrades(['immersiveengineering:outfitter'], 1);
    event.removeModdedTrades(['immersiveengineering:outfitter'], 2);
    event.removeModdedTrades(['immersiveengineering:outfitter'], 3);
    event.removeModdedTrades(['immersiveengineering:outfitter'], 4);
    event.removeModdedTrades(['immersiveengineering:outfitter'], 5);

    event.removeModdedTrades(['immersiveengineering:gunsmith'], 1);
    event.removeModdedTrades(['immersiveengineering:gunsmith'], 2);
    event.removeModdedTrades(['immersiveengineering:gunsmith'], 3);
    event.removeModdedTrades(['immersiveengineering:gunsmith'], 4);
    event.removeModdedTrades(['immersiveengineering:gunsmith'], 5);

    event.removeModdedTrades(['ae2:fluix_researcher'], 2);
    event.addTrade('ae2:fluix_researcher', 2, ['5x refinedstorage:silicon'], 'minecraft:emerald');
    event.addTrade('ae2:fluix_researcher', 2, ['3x ae2:charged_certus_quartz_crystal'], 'minecraft:emerald');
    event.addTrade('ae2:fluix_researcher', 2, ['5x minecraft:emerald'], '8x ae2:sky_stone_block');
    
});
