MoreJSEvents.wandererTrades(event=>{

	event.addTrade(1,"thermal:silver_coin","2x wizards_reborn:arcanum")
	event.addTrade(1,"thermal:gold_coin","kubejs:wandering_magician_upgrade_smithing_template")
	event.addTrade(1,"3x thermal:silver_coin","diamond")
	event.addTrade(1,"3x thermal:silver_coin","lava_bucket")
	event.addTrade(1,"12x thermal:silver_coin","quark:monster_box")
	event.addTrade(1,"thermal:silver_coin","8x ice")
	event.addTrade(1,"thermal:silver_coin","emerald")
	event.addTrade(1,"4x thermal:silver_coin",'64x supplementaries:fine_wood')
	event.addTrade(1,"thermal:silver_coin","16x sand")
	event.addTrade(1,"thermal:silver_coin","16x flint")
	event.addTrade(1,"4x thermal:silver_coin","24x clay")
	event.addTrade(1,"4x thermal:silver_coin","2x thermal:blizz_rod")
	event.addTrade(1,"4x thermal:silver_coin","2x thermal:blitz_rod")
	event.addTrade(1,"4x thermal:silver_coin","2x thermal:basalz_rod")
	event.addTrade(1,"3x thermal:silver_coin","4x ars_nouveau:wilden_wing")
	event.addTrade(1,"3x thermal:silver_coin","4x ars_nouveau:wilden_spike")
	event.addTrade(1,"3x thermal:silver_coin","4x ars_nouveau:wilden_horn")
	event.addTrade(1,"thermal:gold_coin","kubejs:infused_amethyst")
	event.addTrade(1,"thermal:gold_coin","kubejs:infused_emerald")
	event.addTrade(1,"thermal:gold_coin","kubejs:infused_diamond")
	event.addTrade(1,"thermal:gold_coin","gold_block")
	event.addTrade(1,"thermal:gold_coin",'supplementaries:globe')
	event.addTrade(1,"6x thermal:silver_coin",'supplementaries:antique_ink')
	event.addTrade(1,"2x thermal:gold_coin","thermal:sapphire")
	event.addTrade(1,"2x thermal:gold_coin","thermal:ruby")
	event.addTrade(1,"6x thermal:silver_coin",'kubejs:warp_scroll')
	event.addTrade(1,"2x thermal:gold_coin","sniffer_egg")
	event.addTrade(1,"thermal:silver_coin",'2x irons_spellbooks:blood_vial')

	event.addTrade(2,"thermal:gold_coin",Item.of('silly_oddities:yellow_bundle', '{Items:[{Count:8b,id:"minecraft:dandelion"},{Count:8b,id:"biomeswevegone:lollipop_flower"},{Count:8b,id:"biomeswevegone:firecracker_flower_bush"},{Count:8b,id:"deep_aether:golden_flower"},{Count:8b,id:"minecraft:sunflower"},{Count:8b,id:"biomeswevegone:yellow_sakura_petals"},{Count:8b,id:"biomeswevegone:orange_amaranth"},{Count:8b,id:"naturesaura:aura_bloom"}]}'))
	event.addTrade(2,"thermal:gold_coin",Item.of('silly_oddities:blue_bundle', '{Items:[{Count:8b,id:"biomeswevegone:winter_scilla"},{Count:8b,id:"biomeswevegone:winter_cyclamen"},{Count:8b,id:"biomeswevegone:cyan_rose"},{Count:8b,id:"biomeswevegone:cyan_tulip"},{Count:8b,id:"biomeswevegone:cyan_pitcher_plant"},{Count:8b,id:"biomeswevegone:blue_rose_bush"},{Count:8b,id:"biomeswevegone:cyan_amaranth"},{Count:8b,id:"minecraft:cornflower"}]}'))
	event.addTrade(2,"thermal:gold_coin",Item.of('silly_oddities:magenta_bundle', '{Items:[{Count:8b,id:"biomeswevegone:magenta_tulip"},{Count:8b,id:"biomeswevegone:magenta_amaranth"},{Count:8b,id:"biomeswevegone:magenta_pitcher_plant"},{Count:8b,id:"biomeswevegone:allium_flower_bush"},{Count:8b,id:"biomeswevegone:pink_allium_flower_bush"},{Count:8b,id:"aether:purple_flower"},{Count:8b,id:"biomeswevegone:alpine_bellflower"},{Count:8b,id:"biomeswevegone:flower_patch"}]}'))
	event.addTrade(2,"thermal:gold_coin",Item.of('silly_oddities:red_bundle', '{Items:[{Count:8b,id:"biomeswevegone:lazarus_bellflower"},{Count:8b,id:"biomeswevegone:begonia"},{Count:8b,id:"ancient_aether:sunset_rose"},{Count:8b,id:"deep_aether:sky_tulips"},{Count:8b,id:"biomeswevegone:california_poppy"},{Count:8b,id:"biomeswevegone:rose"},{Count:8b,id:"minecraft:poppy"},{Count:8b,id:"minecraft:red_tulip"}]}'))
	event.addTrade(2,"thermal:gold_coin",Item.of('silly_oddities:green_bundle', '{Items:[{Count:8b,id:"supplementaries:flax_seeds"},{Count:8b,id:"minecraft:melon_seeds"},{Count:8b,id:"minecraft:pumpkin_seeds"},{Count:8b,id:"vintagedelight:ghost_pepper_seeds"},{Count:8b,id:"vintagedelight:cucumber_seeds"},{Count:8b,id:"sob:asparagus_seeds"},{Count:8b,id:"farmersdelight:tomato_seeds"},{Count:8b,id:"farmersdelight:cabbage_seeds"}]}'))
	event.addTrade(2,"2x thermal:gold_coin",Item.of('silly_oddities:orange_bundle', '{Items:[{Count:8b,id:"biomeswevegone:orange_birch_sapling"},{Count:8b,id:"biomeswevegone:orange_oak_sapling"},{Count:8b,id:"deep_aether:sunroot_sapling"},{Count:8b,id:"quark:orange_blossom_sapling"},{Count:8b,id:"biomeswevegone:silver_maple_sapling"},{Count:8b,id:"biomeswevegone:maple_sapling"},{Count:8b,id:"biomeswevegone:witch_hazel_sapling"},{Count:8b,id:"biomeswevegone:red_maple_sapling"}]}'))
	event.addTrade(2,"2x thermal:gold_coin",Item.of('silly_oddities:pink_bundle', '{Items:[{Count:8b,id:"biomeswevegone:jacaranda_sapling"},{Count:8b,id:"biomeswevegone:skyris_sapling"},{Count:8b,id:"biomeswevegone:yellow_sakura_sapling"},{Count:8b,id:"biomeswevegone:white_sakura_sapling"},{Count:8b,id:"ars_nouveau:red_archwood_sapling"},{Count:8b,id:"ancient_aether:sakura_sapling"},{Count:8b,id:"minecraft:cherry_sapling"},{Count:8b,id:"quark:red_blossom_sapling"}]}'))
	event.addTrade(2,"2x thermal:gold_coin",Item.of('silly_oddities:brown_bundle', '{Items:[{Count:8b,id:"biomeswevegone:zelkova_sapling"},{Count:8b,id:"biomeswevegone:fir_sapling"},{Count:8b,id:"biomeswevegone:holly_sapling"},{Count:8b,id:"minecraft:spruce_sapling"},{Count:8b,id:"biomeswevegone:yellow_spruce_sapling"},{Count:8b,id:"biomeswevegone:red_spruce_sapling"},{Count:8b,id:"biomeswevegone:orange_spruce_sapling"},{Count:8b,id:"biomeswevegone:blue_spruce_sapling"}]}'))
	event.addTrade(2,"2x thermal:gold_coin",Item.of('minecraft:bundle', '{Items:[{Count:8b,id:"biomeswevegone:brown_oak_sapling"},{Count:8b,id:"biomeswevegone:orange_oak_sapling"},{Count:8b,id:"biomeswevegone:red_oak_sapling"},{Count:8b,id:"minecraft:dark_oak_sapling"},{Count:8b,id:"minecraft:oak_sapling"},{Count:8b,id:"twilightforest:twilight_oak_sapling"},{Count:8b,id:"twilightforest:rainbow_oak_sapling"},{Count:8b,id:"twilightforest:hollow_oak_sapling"}]}'))
	event.addTrade(2,"2x thermal:gold_coin",Item.of('silly_oddities:white_bundle', '{Items:[{Count:8b,id:"biomeswevegone:aspen_sapling"},{Count:8b,id:"biomeswevegone:ironwood_sapling"},{Count:8b,id:"biomeswevegone:palo_verde_sapling"},{Count:8b,id:"minecraft:birch_sapling"},{Count:8b,id:"biomeswevegone:orange_birch_sapling"},{Count:8b,id:"biomeswevegone:brown_birch_sapling"},{Count:8b,id:"biomeswevegone:yellow_birch_sapling"},{Count:8b,id:"biomeswevegone:red_birch_sapling"}]}'))
	event.addTrade(2,"thermal:gold_coin",Item.of('silly_oddities:lime_bundle', '{Items:[{Count:8b,id:"fruitsdelight:lemon_seeds"},{Count:8b,id:"fruitsdelight:hamimelon_seeds"},{Count:8b,id:"minecraft:cactus"},{Count:8b,id:"sob:nopal"},{Count:8b,id:"minecraft:bamboo"},{Count:8b,id:"farmersdelight:rice"},{Count:8b,id:"minecraft:beetroot_seeds"},{Count:8b,id:"fruitsdelight:pineapple_sapling"}]}'))
	event.addTrade(2,"thermal:gold_coin",Item.of('silly_oddities:light_gray_bundle', '{Items:[{Count:16b,id:"minecraft:gravel"},{Count:16b,id:"minecraft:moss_block"},{Count:16b,id:"minecraft:stone"},{Count:16b,id:"minecraft:dirt"}]}'))
	event.addTrade(2,"2x thermal:gold_coin",Item.of('silly_oddities:rainbow_bundle', '{Items:[{Count:8b,id:"farmersdelight:glow_berry_custard"},{Count:8b,id:"sob:echo_rock_candy"},{Count:8b,id:"create:sweet_roll"},{Count:8b,id:"arsdelight:source_berry_pie_slice"},{Count:8b,id:"fruitsdelight:bayberry_cookie"},{Count:8b,id:"vintagedelight:oatmeal_cookie"},{Count:8b,id:"arsdelight:bombegrante_pie_slice"},{Count:8b,id:"vintagedelight:deluxe_granola_bar"}]}'))
	event.addTrade(2,"2x thermal:gold_coin",Item.of('silly_oddities:rainbow_bundle', '{Items:[{Count:4b,id:"ars_nouveau:purple_archwood_sapling"},{Count:4b,id:"ars_nouveau:green_archwood_sapling"},{Count:4b,id:"ars_nouveau:blue_archwood_sapling"},{Count:4b,id:"ars_nouveau:red_archwood_sapling"},{Count:12b,id:"ars_nouveau:bombegranate_pod"},{Count:12b,id:"ars_nouveau:bastion_pod"},{Count:12b,id:"ars_nouveau:frostaya_pod"},{Count:12b,id:"ars_nouveau:mendosteen_pod"}]}'))
	event.addTrade(2,"2x thermal:gold_coin",Item.of('silly_oddities:cyan_bundle', '{Items:[{Count:8b,id:"biomeswevegone:cattail_sprout"},{Count:8b,id:"minecraft:lily_pad"},{Count:8b,id:"twigs:tangerine_seashell"},{Count:8b,id:"twigs:roseate_seashell"},{Count:8b,id:"twigs:opaline_seashell"},{Count:1b,id:"minecraft:heart_of_the_sea"},{Count:8b,id:"minecraft:sea_pickle"},{Count:7b,id:"minecraft:seagrass"},{Count:8b,id:"minecraft:sugar_cane"}]}'))
	event.addTrade(2,"4x thermal:gold_coin",Item.of('silly_oddities:purple_bundle', '{Items:[{Count:8b,id:"fruitsdelight:durian_sapling"},{Count:8b,id:"fruitsdelight:kiwi_sapling"},{Count:8b,id:"fruitsdelight:fig_sapling"},{Count:8b,id:"fruitsdelight:mango_sapling"},{Count:8b,id:"fruitsdelight:lychee_sapling"},{Count:8b,id:"thermal:rubberwood_sapling"},{Count:8b,id:"minecraft:jungle_sapling"},{Count:8b,id:"minecraft:cocoa_beans"}]}'))

	event.addTrade(2,"thermal:gold_coin",Item.of('silly_oddities:white_bundle', '{Items:[{Count:8b,id:"minecraft:oxeye_daisy"},{Count:8b,id:"biomeswevegone:tall_white_allium"},{Count:8b,id:"biomeswevegone:white_allium"},{Count:8b,id:"minecraft:white_tulip"},{Count:8b,id:"biomeswevegone:white_allium_flower_bush"},{Count:8b,id:"aether:white_flower"},{Count:8b,id:"biomeswevegone:white_sage"},{Count:8b,id:"biomeswevegone:white_anemone"}]}'))
	event.addTrade(2,"thermal:gold_coin",Item.of('silly_oddities:black_bundle', '{Items:[{Count:16b,id:"minecraft:heart_pottery_sherd"},{Count:16b,id:"minecraft:heartbreak_pottery_sherd"},{Count:16b,id:"minecraft:shelter_pottery_sherd"},{Count:16b,id:"minecraft:friend_pottery_sherd"}]}'))
	event.addTrade(2,"thermal:gold_coin",Item.of('silly_oddities:black_bundle', '{Items:[{Count:16b,id:"minecraft:burn_pottery_sherd"},{Count:16b,id:"minecraft:danger_pottery_sherd"},{Count:16b,id:"minecraft:explorer_pottery_sherd"},{Count:16b,id:"minecraft:howl_pottery_sherd"}]}'))
	event.addTrade(2,"thermal:gold_coin",Item.of('silly_oddities:black_bundle', '{Items:[{Count:16b,id:"minecraft:snort_pottery_sherd"},{Count:16b,id:"minecraft:skull_pottery_sherd"},{Count:16b,id:"minecraft:blade_pottery_sherd"},{Count:16b,id:"minecraft:prize_pottery_sherd"}]}'))
	event.addTrade(2,"thermal:gold_coin",Item.of('silly_oddities:black_bundle', '{Items:[{Count:16b,id:"minecraft:miner_pottery_sherd"},{Count:16b,id:"minecraft:mourner_pottery_sherd"},{Count:16b,id:"minecraft:archer_pottery_sherd"},{Count:16b,id:"minecraft:brewer_pottery_sherd"}]}'))
	event.addTrade(2,"thermal:gold_coin",Item.of('silly_oddities:black_bundle', '{Items:[{Count:16b,id:"minecraft:arms_up_pottery_sherd"},{Count:16b,id:"minecraft:angler_pottery_sherd"},{Count:16b,id:"minecraft:plenty_pottery_sherd"},{Count:16b,id:"minecraft:sheaf_pottery_sherd"}]}'))
	event.addTrade(2,"thermal:gold_coin",Item.of('silly_oddities:gray_bundle', '{Items:[{Count:4b,id:"minecraft:dripstone_block"},{Count:4b,id:"minecraft:pointed_dripstone"},{Count:8b,id:"minecraft:blackstone"},{Count:8b,id:"minecraft:andesite"},{Count:8b,id:"minecraft:granite"},{Count:8b,id:"minecraft:calcite"},{Count:8b,id:"minecraft:diorite"},{Count:8b,id:"minecraft:basalt"},{Count:8b,id:"minecraft:deepslate"}]}'))
	event.removeVanillaTrades(2);

	event.removeModdedTrades(1);
	event.removeModdedTrades(2);
	event.removeVanillaTrades(1);
	
})

MoreJSEvents.villagerTrades((event) => {
   
    event.removeVanillaTrades();
	event.removeModdedTrades();

	
	
	///===============================================================Farmer
	
	event.addTrade("farmer", 1, [TradeItem.of("minecraft:apple", 10, 20)], "2x thermal:copper_coin");
	event.addTrade("farmer", 1, [TradeItem.of("minecraft:wheat", 16, 32)], "2x thermal:copper_coin");
	event.addTrade("farmer", 1, [TradeItem.of("minecraft:beetroot", 16, 32)], "2x thermal:copper_coin");
	event.addTrade("farmer", 1, [TradeItem.of("minecraft:carrot", 16, 32)], "2x thermal:copper_coin");
	
	event.addTrade("farmer", 2, [TradeItem.of("minecraft:brown_mushroom", 16, 32)], "4x thermal:copper_coin");
	event.addTrade("farmer", 2, [TradeItem.of("minecraft:red_mushroom", 16, 32)], "4x thermal:copper_coin");
	
	event.addTrade("farmer", 3, [TradeItem.of("thermal:copper_coin", 4, 12)], "minecraft:bread");
	event.addTrade("farmer", 3, [TradeItem.of("thermal:copper_coin", 8, 24)], "farmersdelight:cooked_rice");
	
	event.addTrade("farmer", 4, [TradeItem.of("thermal:silver_coin", 2, 6)], "farmersdelight:vegetable_soup");
	event.addTrade("farmer", 4, [TradeItem.of("thermal:gold_coin", 2, 6)], "farmersdelight:vegetable_noodles");
	
	
	event.addTrade("farmer", 5, "8x thermal:gold_coin",Item.of('minecraft:wooden_hoe', '{AttributeModifiers:[{Amount:0.02d,AttributeName:"generic.movement_speed",Name:"generic.movement_speed",Slot:"mainhand",UUID:[I;-12456,35926,205856,-71852]}],Damage:0,Unbreakable:1,display:{Name:\'{"text":"Expert Farmer\\\'s Hoe"}\'}}'));
	event.addTrade("farmer", 5, "8x thermal:gold_coin",Item.of('minecraft:leather_boots', "{Damage:0,Unbreakable:1,display:{Name:'{\"text\":\"Farmer\\'s Boots\"}'}}").enchant('minecraft:feather_falling', 1));
	
	///===========================================================Librarian
	
	event.addTrade("librarian", 1, [TradeItem.of("minecraft:sugar_cane", 10, 20)], "2x thermal:copper_coin");
	event.addTrade("librarian", 1, [TradeItem.of("minecraft:paper", 8, 12)], "2x thermal:copper_coin");
	
	event.addTrade("librarian", 2, [TradeItem.of("minecraft:ink_sac", 2, 8)], "4x thermal:copper_coin");
	event.addTrade("librarian", 2, [TradeItem.of("minecraft:feather", 8, 12)], "4x thermal:copper_coin");
	
	event.addTrade("librarian", 3, [TradeItem.of("thermal:copper_coin", 4, 12)], "32x minecraft:glass");
	event.addTrade("librarian", 3, [TradeItem.of("thermal:copper_coin", 8, 24)], "32x minecraft:lantern");
	event.addTrade("librarian", 3, [TradeItem.of("thermal:silver_coin", 8, 24)], "32x minecraft:bookshelf");
	
	event.addTrade("librarian", 4, [TradeItem.of("thermal:silver_coin", 2, 6)], "minecraft:name_tag");
	event.addTrade("librarian", 4, [TradeItem.of("thermal:gold_coin", 2, 6)], "irons_spellbooks:common_ink");
	
	event.addTrade("librarian", 5, [TradeItem.of("thermal:gold_coin", 18, 35)], Item.of('minecraft:enchanted_book').enchant('minecraft:mending', 1));
	event.addTrade("librarian", 5, [TradeItem.of("thermal:gold_coin", 9, 17)], "ars_nouveau:stable_warp_scroll");

	///========================================================Shepherd

	event.addTrade("shepherd", 1, [TradeItem.of("minecraft:white_wool", 10, 20)], "2x thermal:copper_coin");
	event.addTrade("shepherd", 1, [TradeItem.of("minecraft:light_gray_wool", 10, 20)], "2x thermal:copper_coin");
	event.addTrade("shepherd", 1, [TradeItem.of("minecraft:gray_wool", 10, 20)], "2x thermal:copper_coin");
	event.addTrade("shepherd", 1, [TradeItem.of("minecraft:black_wool", 10, 20)], "2x thermal:copper_coin");
	
	event.addTrade("shepherd", 2, [TradeItem.of("lime_wool", 10, 20)], "3x thermal:copper_coin");
	event.addTrade("shepherd", 2, [TradeItem.of("yellow_wool", 10, 20)], "3x thermal:copper_coin");
	event.addTrade("shepherd", 2, [TradeItem.of("magenta_wool", 10, 20)], "3x thermal:copper_coin");
	event.addTrade("shepherd", 2, [TradeItem.of("blue_wool", 10, 20)], "3x thermal:copper_coin");
	event.addTrade("shepherd", 2, [TradeItem.of("red_wool", 10, 20)], "3x thermal:copper_coin");
	
	event.addTrade("shepherd", 3, [TradeItem.of("thermal:copper_coin", 4, 12)], "3x minecraft:mutton");
	event.addTrade("shepherd", 3, [TradeItem.of("thermal:copper_coin", 8, 24)], "20x minecraft:white_carpet");
	
	event.addTrade("shepherd", 4, [TradeItem.of("thermal:silver_coin", 2, 6)], "brewinandchewin:flaxen_cheese_wedge");
	event.addTrade("shepherd", 4, [TradeItem.of("thermal:silver_coin", 2, 6)], "brewinandchewin:flaxen_cheese_wheel");
	
	
	event.addTrade("shepherd", 5, "8x thermal:netherite_coin",Item.of('minecraft:shears', '{AttributeModifiers:[{Amount:0.02d,AttributeName:"generic.movement_speed",Name:"generic.movement_speed",Slot:"mainhand",UUID:[I;-12436,35926,205856,-71852]}],Damage:0,Unbreakable:1,display:{Name:\'{"text":"Expert shepherd\\\'s shears"}\'}}'));
	event.addTrade("shepherd", 5, "5x thermal:silver_coin",Item.of("farmersdelight:shepherds_pie"));
	///===========================================================Cartographer

	event.addTrade("cartographer", 1, [TradeItem.of("minecraft:paper", 10, 20)], "2x thermal:copper_coin");
	event.addTrade("cartographer", 1, [TradeItem.of("minecraft:glass", 8, 12)], "2x thermal:copper_coin");
	
	event.addTrade("cartographer", 2, [TradeItem.of("minecraft:ink_sac", 2, 8)], "4x thermal:copper_coin");
	event.addTrade("cartographer", 2, [TradeItem.of("minecraft:feather", 8, 12)], "4x thermal:copper_coin");
	
	event.addTrade("cartographer", 3, [TradeItem.of("thermal:copper_coin", 4, 12)], "16x minecraft:item_frame");
	event.addTrade("cartographer", 3, [TradeItem.of("thermal:copper_coin", 8, 24)], "2x supplementaries:antique_ink");
	event.addTrade("cartographer", 3, [TradeItem.of("thermal:copper_coin", 8, 24)], "8x quark:glass_item_frame");
	
	event.addTrade("cartographer", 4, [TradeItem.of("thermal:gold_coin", 1, 4)], "supplementaries:globe");
	event.addTrade("cartographer", 4, [TradeItem.of("thermal:gold_coin", 6, 8)], 'quark:diamond_heart');
	
	
	event.addTrade("cartographer", 5, [TradeItem.of("thermal:enderium_coin", 2, 4)], "explorerscompass:explorerscompass");

	///=======================================================Armorer

	event.addTrade("armorer", 1, [TradeItem.of("minecraft:coal", 10, 20)], "2x thermal:copper_coin");
	event.addTrade("armorer", 1, [TradeItem.of("minecraft:raw_iron", 8, 12)], "2x thermal:copper_coin");
	
	event.addTrade("armorer", 2, [TradeItem.of("#forge:coal_coke", 2, 8)], "4x thermal:copper_coin");
	event.addTrade("armorer", 2, [TradeItem.of("#forge:ingots/iron", 8, 12)], "4x thermal:copper_coin");
	
	event.addTrade("armorer", 3, [TradeItem.of("thermal:gold_coin", 2, 4)], "kubejs:zanite_upgrade_smithing_template").villagerExperience(75);
	event.addTrade("armorer", 3, [TradeItem.of("thermal:gold_coin", 2, 4)], "kubejs:skyjade_upgrade_smithing_template").villagerExperience(75);
	
	event.addTrade("armorer", 4, [TradeItem.of("thermal:gold_coin", 4, 8)], "kubejs:steel_upgrade_smithing_template").villagerExperience(125);
	event.addTrade("armorer", 4, [TradeItem.of("thermal:gold_coin", 8, 16)], "kubejs:steel_upgrade_parts").villagerExperience(125);
	
	event.addTrade("armorer", 5, [TradeItem.of("thermal:netherite_coin", 2, 4)], "kubejs:arcane_fortress_upgrade_smithing_template");
	event.addTrade("armorer", 5, [TradeItem.of("thermal:netherite_coin", 2, 4)], "kubejs:depth_upgrade_smithing_template");


    ///===========================================================Cleric

	event.addTrade("cleric", 1, [TradeItem.of("minecraft:rotten_flesh", 10, 20)], "2x thermal:copper_coin");
	event.addTrade("cleric", 1, [TradeItem.of("minecraft:redstone", 4, 12)], "2x thermal:copper_coin");
	
	event.addTrade("cleric", 2, [TradeItem.of("#forge:gems/lapis", 1, 2)], "4x thermal:copper_coin");
	event.addTrade("cleric", 2, [TradeItem.of("minecraft:nether_wart", 8, 12)], "4x thermal:copper_coin");
	
	event.addTrade("cleric", 3, [TradeItem.of("thermal:silver_coin", 8, 24)], "16x minecraft:glowstone");
	event.addTrade("cleric", 3, [TradeItem.of("thermal:silver_coin", 2, 12)], '32x minecraft:shroomlight');
	
	event.addTrade("cleric", 4, [TradeItem.of("thermal:gold_coin", 8, 16)], Item.of('ars_nouveau:potion_flask', '{Damage:8,an_potion_flask:{PotionData:{Potion:"minecraft:strong_strength",includedPotions:["minecraft:strong_strength"]},count:8}}'));
	event.addTrade("cleric", 4, [TradeItem.of("thermal:gold_coin", 10, 20)], Item.of('ars_nouveau:potion_flask', '{Damage:8,an_potion_flask:{PotionData:{Potion:"minecraft:night_vision",includedPotions:["minecraft:strong_strength"]},count:8}}'));
	
	
	event.addTrade("cleric", 5, [TradeItem.of("thermal:gold_coin", 4, 8)], '2x enigmaticlegacy:mending_mixture');
	event.addTrade("cleric", 5, [TradeItem.of("thermal:gold_coin", 1, 2)], 'enigmaticlegacy:cosmic_cake');

	///==============================================================Mason

	event.addTrade("mason", 1, [TradeItem.of("minecraft:clay_ball", 32, 48)], "2x thermal:copper_coin");
	event.addTrade("mason", 1, [TradeItem.of("minecraft:cobblestone", 48, 64)], "2x thermal:copper_coin");
	
	event.addTrade("mason", 2, [TradeItem.of("thermal:silver_coin", 1, 4)], "24x minecraft:diorite");
	event.addTrade("mason", 2, [TradeItem.of("thermal:silver_coin", 1, 4)], '24x minecraft:granite');
	event.addTrade("mason", 2, [TradeItem.of("thermal:silver_coin", 2, 6)], '24x minecraft:deepslate');
	event.addTrade("mason", 2, [TradeItem.of("thermal:silver_coin", 2, 6)], '24x minecraft:blackstone');
	
	
	event.addTrade("mason", 3, [TradeItem.of("thermal:silver_coin", 4, 8)], "24x minecraft:andesite");
	event.addTrade("mason", 3, [TradeItem.of("thermal:silver_coin", 4, 6)], "24x minecraft:calcite");
	event.addTrade("mason", 3, [TradeItem.of("thermal:silver_coin", 4, 6)], "24x minecraft:tuff");
	event.addTrade("mason", 3, [TradeItem.of("thermal:silver_coin", 4, 6)], "24x minecraft:dripstone_block");
	
	
	event.addTrade("mason", 4, [TradeItem.of("thermal:silver_coin", 4, 8)], "24x minecraft:packed_mud");
	event.addTrade("mason", 4, [TradeItem.of("thermal:silver_coin", 4, 6)], "24x minecraft:bricks");
	event.addTrade("mason", 4, [TradeItem.of("thermal:silver_coin", 4, 6)], "24x supplementaries:ash_bricks");
	event.addTrade("mason", 4, [TradeItem.of("thermal:silver_coin", 4, 6)], "24x supplementaries:daub");
	event.addTrade("mason", 4, [TradeItem.of("thermal:gold_coin", 1, 3)], "24x aether:holystone");
	event.addTrade("mason", 4, [TradeItem.of("thermal:gold_coin", 1, 3)], "24x ars_nouveau:sourcestone");
	
	
	event.addTrade("mason", 5, [TradeItem.of("thermal:netherite_coin", 3, 6)], Item.of('minecraft:leather_chestplate', '{AttributeModifiers:[{Amount:2,AttributeName:"forge:block_reach",Name:"forge:block_reach",Slot:"chest",UUID:[I;-12465,23062,11154,-46124]}],Damage:0,Unbreakable:1,display:{Name:\'["",{"text":"Mason\\\'s Shirt","italic":false}]\',color:7698297}}'));
	event.addTrade("mason", 5, [TradeItem.of("thermal:netherite_coin", 2, 4)], Item.of('minecraft:leather_leggings', '{AttributeModifiers:[{Amount:1,AttributeName:"forge:block_reach",Name:"forge:block_reach",Slot:"chest",UUID:[I;-12435,24062,12154,-46124]}],Damage:0,Unbreakable:1,display:{Name:\'["",{"text":"Mason\\\'s Pants","italic":false}]\',color:7698297}}'));
	
	///============================================================Weaponsmith

	event.addTrade("weaponsmith", 1, [TradeItem.of("druidic_quest_core:steel_ingot", 2, 4)], "2x thermal:silver_coin").villagerExperience(5);
	event.addTrade("weaponsmith", 1, [TradeItem.of("quartz", 8, 16)], "2x thermal:copper_coin")

	event.addTrade("weaponsmith", 2, ["thermal:gold_coin","iron_sword"], "kubejs:chill_blade").villagerExperience(30);
	event.addTrade("weaponsmith", 2, ["6x thermal:gold_coin","iron_sword"], "kubejs:royal_guard_sword").villagerExperience(35);

	event.addTrade("weaponsmith", 3, ["thermal:netherite_coin"], "irons_spellbooks:magehunter").villagerExperience(75);
	event.addTrade("weaponsmith", 3, ["thermal:netherite_coin"], "irons_spellbooks:weapon_parts").villagerExperience(75);

	event.addTrade("weaponsmith", 4, ["thermal:netherite_coin", "ars_nouveau:fire_essence"], "tide:blazing_swordfish").villagerExperience(125);
	event.addTrade("weaponsmith", 4, ["thermal:netherite_coin"], "irons_spellbooks:keeper_flamberge").villagerExperience(125);

	event.addTrade("weaponsmith", 5, ["thermal:netherite_coin"], "aether:pig_slayer")

	///===================================================================Toolsmith

	event.addTrade("toolsmith", 1, [TradeItem.of("kubejs:zinc_tool_handle", 1, 4)], "thermal:silver_coin");
	event.addTrade("toolsmith", 1, "thermal:gold_coin", "alexsmobs:squid_grapple").villagerExperience(10);

	event.addTrade("toolsmith", 2, "thermal:gold_coin", "create:blue_toolbox").villagerExperience(35);
	event.addTrade("toolsmith", 2, "thermal:gold_coin", "kubejs:basic_mortar").villagerExperience(70);
	event.addTrade("toolsmith", 2, "thermal:gold_coin", "kubejs:basic_chisel").villagerExperience(70);

	event.addTrade("toolsmith", 3, "thermal:gold_coin", "kubejs:builders_belt").villagerExperience(75);
	event.addTrade("toolsmith", 3, "6x thermal:gold_coin", "create:wand_of_symmetry").villagerExperience(75);

	event.addTrade("toolsmith", 4, "5x thermal:gold_coin", "crafting_on_a_stick:crafting_table").villagerExperience(125);
	event.addTrade("toolsmith", 4, "3x thermal:gold_coin", "crafting_on_a_stick:stonecutter").villagerExperience(125);

	event.addTrade("toolsmith", 5, ["1x thermal:netherite_coin","kubejs:netherite_rod"], "kubejs:reinforced_tool_handle").villagerExperience(75);
	event.addTrade("toolsmith", 5, ["2x thermal:gold_coin"], "naturesaura:cave_finder").villagerExperience(75);


	///==========================================================Fisherman

	event.addTrade("fisherman", 1, [TradeItem.of("minecraft:cod", 2, 8)], "2x thermal:copper_coin");
	event.addTrade("fisherman", 1, [TradeItem.of("minecraft:salmon", 2, 8)], "2x thermal:copper_coin");
	event.addTrade("fisherman", 1, [TradeItem.of("alexsmobs:raw_catfish", 2, 6)], "2x thermal:copper_coin");
	event.addTrade("fisherman", 1, [TradeItem.of("alexsmobs:flying_fish", 1, 4)], "2x thermal:copper_coin");

	event.addTrade("fisherman", 2, [TradeItem.of("minecraft:pufferfish", 2, 8)], "4x thermal:copper_coin");
	event.addTrade("fisherman", 2, [TradeItem.of("minecraft:tropical_fish", 2, 8)], "4x thermal:copper_coin");
	event.addTrade("fisherman", 2, [TradeItem.of("quark:crab_leg", 1, 4)], "4x thermal:copper_coin");
	event.addTrade("fisherman", 2, [TradeItem.of("alexsmobs:fish_bones", 1, 4)], "4x thermal:copper_coin");

	event.addTrade("fisherman", 3, [TradeItem.of("thermal:silver_coin", 4, 8)], 'minecraft:tropical_fish_bucket');
	event.addTrade("fisherman", 3, [TradeItem.of("thermal:silver_coin", 4, 6)], 'minecraft:tadpole_bucket');

	event.addTrade("fisherman", 4, [TradeItem.of("thermal:silver_coin", 8, 16)], '3x farmersdelight:rice_roll_medley_block');

	event.addTrade("fisherman", 5, [TradeItem.of("thermal:gold_coin", 12, 24)], Item.of('minecraft:leather_helmet', '{AttributeModifiers:[{Amount:2,AttributeName:"minecraft:generic.luck",Name:"minecraft:generic.luck",Slot:"head",UUID:[I;-12465,23362,15254,-46124]}],Damage:0,Unbreakable:1,display:{Name:\'["",{"text":"Fisherman\\\'s Hat","italic":false}]\',color:3451000}}'));
	event.addTrade("fisherman", 5, [TradeItem.of("thermal:gold_coin", 12, 24)], Item.of('alexsmobs:flying_fish_boots', '{AttributeModifiers:[{Amount:2,AttributeName:"minecraft:generic.armor",Name:"minecraft:generic.armor",Slot:"chest",UUID:[I;-12465,24062,53154,-46124]}],Damage:0,Unbreakable:1,display:{Name:\'["",{"text":"Fisherman\\\'s Shoes","italic":false}]\'}}'));
	event.addTrade("fisherman",5,"2x thermal:netherite_coin","tide:blazing_swordfish");
	///==============================================================Butcher

	event.addTrade("butcher", 1, [TradeItem.of("minecraft:porkchop", 2, 8)], "2x thermal:copper_coin");
	event.addTrade("butcher", 1, [TradeItem.of("minecraft:beef", 2, 8)], "2x thermal:copper_coin");
	event.addTrade("butcher", 1, [TradeItem.of("minecraft:mutton", 2, 6)], "2x thermal:copper_coin");
	event.addTrade("butcher", 1, [TradeItem.of("minecraft:chicken", 1, 4)], "2x thermal:copper_coin");

	event.addTrade("butcher", 2, [TradeItem.of("minecraft:rabbit", 2, 4)], "4x thermal:copper_coin");
	event.addTrade("butcher", 2, [TradeItem.of("alexsmobs:moose_ribs", 2, 4)], "4x thermal:copper_coin");
	event.addTrade("butcher", 2, [TradeItem.of("alexsmobs:kangaroo_meat", 2, 4)], "4x thermal:copper_coin");
	event.addTrade("butcher", 2, [TradeItem.of("alexsdelight:raw_bison", 2, 4)], "4x thermal:copper_coin");

	event.addTrade("butcher", 3, [TradeItem.of("thermal:silver_coin", 2, 4)], "3x farmersdelight:barbecue_stick");
	event.addTrade("butcher", 3, [TradeItem.of("thermal:silver_coin", 4, 6)], "3x farmersdelight:smoked_ham");
	event.addTrade("butcher", 3, [TradeItem.of("thermal:silver_coin", 4, 6)], "3x farmersdelight:bacon_and_eggs");

	event.addTrade("butcher", 4, [TradeItem.of("thermal:silver_coin", 8, 16)], "farmersdelight:roast_chicken");
	event.addTrade("butcher", 4, [TradeItem.of("thermal:silver_coin", 8, 16)], "farmersdelight:honey_glazed_ham");

	event.addTrade("butcher", 5, [TradeItem.of("thermal:netherite_coin", 1, 3)], Item.of('farmersdelight:iron_knife', '{AttributeModifiers:[{Amount:2,AttributeName:"attributeslib:fire_damage",Name:"attributeslib:fire_damage",Slot:"mainhand",UUID:[I;-32444,23362,15254,-46124]}],Damage:0,Unbreakable:1,display:{Name:\'["",{"text":"Butcher\\\'s Knife","italic":false}]\'}}').enchant('minecraft:looting', 3));
	
	///================================================================Fletcher

	event.addTrade("fletcher", 1, [TradeItem.of("immersiveengineering:stick_treated", 24, 48)], "2x thermal:copper_coin");
	event.addTrade("fletcher", 1, [TradeItem.of("minecraft:string", 6, 18)], "2x thermal:copper_coin");

	event.addTrade("fletcher", 2, [TradeItem.of("minecraft:flint", 32, 48)], "3x thermal:copper_coin");
	event.addTrade("fletcher", 2, "3x thermal:gold_coin",Item.of('minecraft:bow', '{AttributeModifiers:[{Amount:0.01d,AttributeName:"generic.movement_speed",Name:"1723313263725",Slot:"mainhand",UUID:[I;-124710,30612,20421,-61224]},{Amount:0.1d,AttributeName:"attributeslib:draw_speed",Name:"1723313263725",Slot:"mainhand",UUID:[I;-124710,30912,20421,-61824]}],Damage:0,display:{Name:\'["",{"text":"Quickshot","italic":false,"color":"dark_green"}]\'}}').enchant('mending', 1) );
	event.addTrade("fletcher", 2, "5x thermal:gold_coin",Item.of('minecraft:bow', '{AttributeModifiers:[{Amount:-0.3d,AttributeName:"attributeslib:draw_speed",Name:"1723313469117",Slot:"mainhand",UUID:[I;-124710,43912,20421,-87824]},{Amount:1,AttributeName:"attributeslib:arrow_damage",Name:"1723313469117",Slot:"mainhand",UUID:[I;-124710,44212,20421,-88424]},{Amount:1,AttributeName:"attributeslib:arrow_velocity",Name:"1723313469117",Slot:"mainhand",UUID:[I;-124710,44512,20421,-89024]}],Damage:0,display:{Name:\'["",{"text":"Long Bow","italic":false,"color":"dark_green"}]\'}}').enchant('mending', 1));

	event.addTrade("fletcher", 3, "3x thermal:gold_coin","supplementaries:quiver" );
	event.addTrade("fletcher", 3, "2x thermal:gold_coin","48x alexsmobs:shark_tooth_arrow");

	event.addTrade("fletcher", 4, "3x thermal:gold_coin","64x kubejs:lightning_arrow");
	event.addTrade("fletcher", 4, "3x thermal:gold_coin","64x kubejs:explosive_arrow");

	event.addTrade("fletcher", 5, "2x thermal:netherite_coin",Item.of('minecraft:bow', '{AttributeModifiers:[{Amount:-0.3d,AttributeName:"attributeslib:draw_speed",Name:"1723313469117",Slot:"mainhand",UUID:[I;-124710,43912,20421,-87824]},{Amount:1,AttributeName:"attributeslib:arrow_damage",Name:"1723313469117",Slot:"mainhand",UUID:[I;-124710,44212,20421,-88424]},{Amount:1,AttributeName:"attributeslib:arrow_velocity",Name:"1723313469117",Slot:"mainhand",UUID:[I;-124710,44512,20421,-89024]}],Unbreakable:1,display:{Name:\'["",{"text":"Reinforced Long Bow","italic":false,"color":"dark_green"}]\'}}'));
	
	///================================================================Carpenter

	event.addTrade("sawmill:carpenter",1, "4x mangrove_log", "thermal:copper_coin");
	event.addTrade("sawmill:carpenter",1, "4x oak_log", "thermal:copper_coin");
	event.addTrade("sawmill:carpenter",1, "4x jungle_log", "thermal:copper_coin");
	event.addTrade("sawmill:carpenter",1, "4x birch_log", "thermal:copper_coin");

	event.addTrade("sawmill:carpenter",2,"3x thermal:gold_coin","64x mangrove_log");
	event.addTrade("sawmill:carpenter",2,"2x thermal:gold_coin","64x jungle_log");
	event.addTrade("sawmill:carpenter",2,"2x thermal:gold_coin","64x dark_oak_log");

	event.addTrade("sawmill:carpenter",3,"3x thermal:gold_coin","64x crimson_stem");
	event.addTrade("sawmill:carpenter",3,"3x thermal:gold_coin","64x warped_stem");

	event.addTrade("sawmill:carpenter",4,"1x thermal:netherite_coin",Item.of('minecraft:iron_axe', "{Damage:0,display:{Name:'[\"\",{\"text\":\"Sharp Lumber Axe\",\"italic\":false,\"color\":\"dark_red\"}]'}}").enchant('mending', 1).enchant('minecraft:efficiency', 3));
	event.addTrade("sawmill:carpenter",5,"3x thermal:netherite_coin",Item.of('minecraft:stone_axe', "{Damage:0,Unbreakable:1,display:{Name:'[\"\",{\"text\":\"Sharp Lumber Axe\",\"italic\":false,\"color\":\"dark_red\"}]'}}").enchant('minecraft:efficiency', 5));

	//================================================================Leatherworker

	event.addTrade("leatherworker",1,"4x leather","2x thermal:copper_coin")
	event.addTrade("leatherworker",1,"4x rabbit_hide","4x thermal:copper_coin")

	event.addTrade("leatherworker",2,"4x alexsmobs:bear_fur","4x thermal:copper_coin")
	event.addTrade("leatherworker",2,"4x alexsmobs:bison_fur","4x thermal:copper_coin")

	event.addTrade("leatherworker",3,"4x alexsmobs:kangaroo_hide","4x thermal:copper_coin")
	event.addTrade("leatherworker",3,"4x irons_spellbooks:hogskin","3x thermal:copper_coin")

	event.addTrade("leatherworker",4,"thermal:gold_coin","minecraft:bundle")
	event.addTrade("leatherworker",4,"16x immersiveengineering:ersatz_leather","3x thermal:copper_coin")

	event.addTrade("leatherworker",5,"6x thermal:gold_coin","immersiveengineering:glider")
	event.addTrade("leatherworker",5,"6x thermal:gold_coin","alexsmobs:shed_snake_skin")

	//=============================================================Shady Wizard

	event.addTrade("ars_nouveau:shady_wizard",1,"8x ars_nouveau:sourceberry_bush","2x thermal:copper_coin")
	event.addTrade("ars_nouveau:shady_wizard",1,"wizards_reborn:arcane_linen_bale","2x thermal:copper_coin")

	event.addTrade("ars_nouveau:shady_wizard",2,"4x ars_nouveau:bastion_pod","4x thermal:copper_coin")
	event.addTrade("ars_nouveau:shady_wizard",2,"4x ars_nouveau:frostaya_pod","4x thermal:copper_coin")
	event.addTrade("ars_nouveau:shady_wizard",2,"4x ars_nouveau:bombegranate_pod","4x thermal:copper_coin")
	event.addTrade("ars_nouveau:shady_wizard",2,"4x ars_nouveau:mendosteen_pod","4x thermal:copper_coin")

	event.addTrade("ars_nouveau:shady_wizard",3,"8x thermal:silver_coin","arsdelight:chimera_meat")
	event.addTrade("ars_nouveau:shady_wizard",3,"1x thermal:silver_coin","irons_spellbooks:arcane_essence")
	
	event.addTrade("ars_nouveau:shady_wizard",4,"6x thermal:silver_coin","quark:soul_bead")
	event.addTrade("ars_nouveau:shady_wizard",4,"12x thermal:gold_coin","arsdelight:chimera_horn")

	event.addTrade("ars_nouveau:shady_wizard",5,"8x thermal:gold_coin","ars_nouveau:music_disc_aria_biblio")
	event.addTrade("ars_nouveau:shady_wizard",5,"8x thermal:gold_coin","ars_nouveau:music_disc_firel_the_wild_hunt")
	event.addTrade("ars_nouveau:shady_wizard",5,"8x thermal:gold_coin","ars_nouveau:music_disc_thistle_the_sound_of_glass")
	
	//======================================================FORAGER

	event.addTrade("biomeswevegone:forager",1,"8x vintagedelight:gearo_berry","3x thermal:copper_coin")
	event.addTrade("biomeswevegone:forager",1,"12x sweet_berries","2x thermal:copper_coin")
	event.addTrade("biomeswevegone:forager",1,"12x fruitsdelight:hawberry","2x thermal:copper_coin")
	event.addTrade("biomeswevegone:forager",1,"12x fruitsdelight:cranberry","2x thermal:copper_coin")
	event.addTrade("biomeswevegone:forager",1,"12x fruitsdelight:bayberry","2x thermal:copper_coin")
	event.addTrade("biomeswevegone:forager",1,"12x fruitsdelight:blueberry","2x thermal:copper_coin")

	event.addTrade("biomeswevegone:forager",2,"8x thermal:silver_coin","ender_pearl")
	event.addTrade("biomeswevegone:forager",2,"thermal:silver_coin","2x bone")

	event.addTrade("biomeswevegone:forager",3,"6x thermal:gold_coin","quark:diamond_heart")
	event.addTrade("biomeswevegone:forager",3,"1x thermal:gold_coin","3x twilightforest:liveroot")

	event.addTrade("biomeswevegone:forager",4,"1x thermal:gold_coin","24x minecraft:mycelium")
	event.addTrade("biomeswevegone:forager",4,"1x thermal:gold_coin","6x farmersdelight:organic_compost")

	event.addTrade("biomeswevegone:forager",5,"3x thermal:enderium_coin","kubejs:mycelial_hoe")
	event.addTrade("biomeswevegone:forager",5,"5x thermal:netherite_coin","kubejs:mycelial_ring")


	//===================================================Engineer

	event.addTrade("immersiveengineering:engineer",1,"thermal:silver_coin","8x redstone")
	event.addTrade("immersiveengineering:engineer",1,"2x thermal:silver_coin","woodenhopper:wooden_hopper")

	//====================================================Machinist
	event.addTrade("immersiveengineering:machinist",1,["6x thermal:silver_coin","3x thermal:coal_coke"],"furnace")
	event.addTrade("immersiveengineering:machinist",1,["4x thermal:silver_coin"],"dispenser")

	//====================================================Gunsmith

	event.addTrade("immersiveengineering:gunsmith",1,"20x immersiveengineering:empty_casing","2x thermal:copper_coin")
	event.addTrade("immersiveengineering:gunsmith",1,"12x gunpowder","2x thermal:copper_coin")

	event.addTrade("immersiveengineering:gunsmith",2,"6x thermal:gold_coin","immersiveengineering:revolver").villagerExperience(75);
	event.addTrade("immersiveengineering:gunsmith",2,"1x thermal:gold_coin","immersiveengineering:toolupgrade_revolver_bayonet").villagerExperience(75);

	event.addTrade("immersiveengineering:gunsmith",3,"1x thermal:netherite_coin","immersiveengineering:toolupgrade_revolver_magazine").villagerExperience(150);
	event.addTrade("immersiveengineering:gunsmith",3,"1x thermal:netherite_coin","immersiveengineering:toolupgrade_revolver_electro").villagerExperience(150);

	event.addTrade("immersiveengineering:gunsmith",4,"2x thermal:netherite_coin","immersiveengineering:speedloader").villagerExperience(300);
	event.addTrade("immersiveengineering:gunsmith",4,"2x thermal:silver_coin","24x immersiveengineering:silver").villagerExperience(300);

	event.addTrade("immersiveengineering:gunsmith",5,"4x thermal:silver_coin","24x immersiveengineering:he")
	event.addTrade("immersiveengineering:gunsmith",5,"6x thermal:silver_coin","24x immersiveengineering:homing")
	
	/*
	event.addTrade("immersiveengineering:electrician")
	event.addTrade("immersiveengineering:engineer")
	event.addTrade("immersiveengineering:gunsmith")
	event.addTrade("immersiveengineering:machinist")
	event.addTrade("immersiveengineering:outfitter")*/
	
});
