import crafttweaker.api.villagers.VillagerTrades;



villagerTrades.removeItemsForEmeraldsTrade(<profession:minecraft:librarian>, 2, <item:minecraft:lantern>);
villagerTrades.removeItemsForEmeraldsTrade(<profession:minecraft:librarian>, 3, <item:minecraft:glass>);
villagerTrades.removeItemsForEmeraldsTrade(<profession:minecraft:librarian>, 5, <item:minecraft:name_tag>);
villagerTrades.removeItemsForEmeraldsTrade(<profession:minecraft:librarian>, 4, <item:minecraft:ink_sac>);
villagerTrades.removeItemsForEmeraldsTrade(<profession:minecraft:librarian>, 4, <item:minecraft:compass>);
villagerTrades.removeItemsForEmeraldsTrade(<profession:minecraft:librarian>, 4, <item:minecraft:clock>);

villagerTrades.addTrade(<profession:minecraft:librarian>, 1, 3, <item:apotheosis:weapon_book> * 4, 2, 5, 0.05);
villagerTrades.addTrade(<profession:minecraft:librarian>, 1, 3, <item:apotheosis:bow_book> * 4, 2, 5, 0.05);
villagerTrades.addTrade(<profession:minecraft:librarian>, 3, 12, <item:apotheosis:scrap_tome> * 8, 2, 20, 0.05);

villagerTrades.addTrade(<profession:minecraft:librarian>, 2, <item:eidolon:candlestick> * 4, <item:minecraft:emerald> * 2, 5, 8, 0.05);


villagerTrades.removeEmeraldForItemsTrade(<profession:minecraft:librarian>, 2, <item:minecraft:book>.definition);