// Remove the old recipe
craftingTable.remove(<item:minecraft:quartz>);

craftingTable.addShapeless("quartz", <item:minecraft:quartz> * 4, [<item:minecraft:quartz_block>]);
craftingTable.addShapeless("quartz_1", <item:minecraft:quartz> * 4, [<item:minecraft:quartz_pillar>]);