val armorer = <profession:minecraft:armorer>;
val toolsmith = <profession:minecraft:toolsmith>;
val weaponsmith = <profession:minecraft:weaponsmith>;

val armorer1 = [
	<item:minecraft:iron_helmet>,
	<item:minecraft:iron_chestplate>,
	<item:minecraft:iron_leggings>,
	<item:minecraft:iron_boots>
];

val armorer2 = [
	<item:minecraft:chainmail_leggings>,
	<item:minecraft:chainmail_boots>
];

val armorer3 = [
	<item:minecraft:chainmail_helmet>,
	<item:minecraft:chainmail_chestplate>
];

val toolsmith1 = [
	<item:minecraft:stone_pickaxe>,
	<item:minecraft:stone_axe>,
	<item:minecraft:stone_shovel>,
	<item:minecraft:stone_hoe>
];

val toolsmith3 = [
	<item:minecraft:iron_pickaxe>,
	<item:minecraft:iron_axe>,
	<item:minecraft:iron_shovel>
];

val weaponsmith1 = [
	<item:minecraft:iron_axe>,
	<item:minecraft:iron_sword>
];

for item in armorer1 {
	villagerTrades.removeTradesSelling(armorer, 1, item);
}

for item in armorer2 {
	villagerTrades.removeTradesSelling(armorer, 2, item);
}

for item in armorer3 {
	villagerTrades.removeTradesSelling(armorer, 3, item);
}

for item in toolsmith1 {
	villagerTrades.removeTradesSelling(toolsmith, 1, item);
}

for item in toolsmith3 {
	villagerTrades.removeTradesSelling(toolsmith, 3, item);
}

for item in weaponsmith1 {
	villagerTrades.removeTradesSelling(weaponsmith, 1, item);
}

### Script written by FoxMcloud5655