recipe take @s crafting_template:item1

advancement revoke @s only crafting_template:item1_adv

give @s minecraft:carrot_on_a_stick{display:{Name:'{"text":"Replace This With Your Item"}'}} 1

clear @s minecraft:knowledge_book