import crafttweaker.api.villagers.VillagerTrades;

villagerTrades.addTrade(<profession:minecraft:armorer>, 1, <item:minecraft:coal> * 22, <item:minecraft:emerald>, 5, 3, 0.05);
villagerTrades.addTrade(<profession:minecraft:armorer>, 1, <item:minecraft:lava_bucket>, <item:minecraft:emerald>, 6, 3, 0.05);

villagerTrades.removeEmeraldForItemsTrade(<profession:minecraft:armorer>, 1, <item:minecraft:coal>.definition);

villagerTrades.removeItemsForEmeraldsTrade(<profession:minecraft:armorer>, 3, <item:minecraft:chainmail_boots>);
villagerTrades.removeItemsForEmeraldsTrade(<profession:minecraft:armorer>, 3, <item:minecraft:chainmail_leggings>);
villagerTrades.removeItemsForEmeraldsTrade(<profession:minecraft:armorer>, 3, <item:minecraft:chainmail_chestplate>);
villagerTrades.removeItemsForEmeraldsTrade(<profession:minecraft:armorer>, 3, <item:minecraft:chainmail_helmet>);

villagerTrades.removeItemsForEmeraldsTrade(<profession:minecraft:armorer>, 1, <item:minecraft:iron_leggings>);
villagerTrades.removeItemsForEmeraldsTrade(<profession:minecraft:armorer>, 1, <item:minecraft:iron_chestplate>);
villagerTrades.removeItemsForEmeraldsTrade(<profession:minecraft:armorer>, 1, <item:minecraft:iron_helmet>);
villagerTrades.removeItemsForEmeraldsTrade(<profession:minecraft:armorer>, 1, <item:minecraft:iron_boots>);
villagerTrades.removeItemsForEmeraldsTrade(<profession:minecraft:armorer>, 2, <item:minecraft:bell>);

villagerTrades.removeItemsForEmeraldsTrade(<profession:minecraft:armorer>, 3, <item:minecraft:shield>);

villagerTrades.removeEmeraldForItemsTrade(<profession:minecraft:armorer>, 2, <item:minecraft:iron_ingot>.definition);
villagerTrades.removeEmeraldForItemsTrade(<profession:minecraft:armorer>, 1, <item:minecraft:lava_bucket>.definition);


villagerTrades.addTrade(<profession:minecraft:armorer>, 2, 2, <item:silentgear:helmet_plates>.withTag({CraftedCount: 1 as int, Materials: [{Item: {id: "silents_mechanisms:aluminum_ingot" as string, Count: 1 as byte}, ID: "silentgear:aluminum" as string, Count: 5 as byte}]}), 2, 12, 0.05);
villagerTrades.addTrade(<profession:minecraft:armorer>, 2, 4, <item:silentgear:chestplate_plates>.withTag({CraftedCount: 1 as int, Materials: [{Item: {id: "silents_mechanisms:aluminum_ingot" as string, Count: 1 as byte}, ID: "silentgear:aluminum" as string, Count: 8 as byte}]}), 2, 12, 0.05);
villagerTrades.addTrade(<profession:minecraft:armorer>, 2, 3, <item:silentgear:legging_plates>.withTag({CraftedCount: 1 as int, Materials: [{Item: {id: "silents_mechanisms:aluminum_ingot" as string, Count: 1 as byte}, ID: "silentgear:aluminum" as string, Count: 7 as byte}]}), 2, 12, 0.05);
villagerTrades.addTrade(<profession:minecraft:armorer>, 2, 2, <item:silentgear:boot_plates>.withTag({CraftedCount: 1 as int, Materials: [{Item: {id: "silents_mechanisms:aluminum_ingot" as string, Count: 1 as byte}, ID: "silentgear:aluminum" as string, Count: 4 as byte}]}), 2, 12, 0.05);