#say detect recipe


# Amethyst Tools # 
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_sword{nl_WriteRecipe:1b,nl_ItemID:7b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 7
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_pickaxe{nl_WriteRecipe:1b,nl_ItemID:8b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 8
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_axe{nl_WriteRecipe:1b,nl_ItemID:9b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 9
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_shovel{nl_WriteRecipe:1b,nl_ItemID:10b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 10
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_hoe{nl_WriteRecipe:1b,nl_ItemID:11b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 11
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:bow{nl_WriteRecipe:1b,nl_ItemID:12b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 12
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:shield{nl_WriteRecipe:1b,nl_ItemID:13b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 13
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_helmet{nl_WriteRecipe:1b,nl_ItemID:49b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 49
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_chestplate{nl_WriteRecipe:1b,nl_ItemID:50b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 50
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_leggings{nl_WriteRecipe:1b,nl_ItemID:51b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 51
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_boots{nl_WriteRecipe:1b,nl_ItemID:52b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 52
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:carved_pumpkin{nl_WriteRecipe:1b,nl_ItemID:73b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 73

# Dark Quartz Tools # 
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_sword{nl_WriteRecipe:1b,nl_ItemID:14b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 14
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_pickaxe{nl_WriteRecipe:1b,nl_ItemID:15b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 15
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_axe{nl_WriteRecipe:1b,nl_ItemID:16b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 16
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_shovel{nl_WriteRecipe:1b,nl_ItemID:17b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 17
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_hoe{nl_WriteRecipe:1b,nl_ItemID:18b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 18
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:bow{nl_WriteRecipe:1b,nl_ItemID:19b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 19
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:shield{nl_WriteRecipe:1b,nl_ItemID:20b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 20
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_helmet{nl_WriteRecipe:1b,nl_ItemID:53b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 53
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_chestplate{nl_WriteRecipe:1b,nl_ItemID:54b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 54
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_leggings{nl_WriteRecipe:1b,nl_ItemID:55b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 55
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_boots{nl_WriteRecipe:1b,nl_ItemID:56b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 56
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:carved_pumpkin{nl_WriteRecipe:1b,nl_ItemID:74b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 74

# Jade Tools # 
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_sword{nl_WriteRecipe:1b,nl_ItemID:21b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 21
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_pickaxe{nl_WriteRecipe:1b,nl_ItemID:22b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 22
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_axe{nl_WriteRecipe:1b,nl_ItemID:23b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 23
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_shovel{nl_WriteRecipe:1b,nl_ItemID:24b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 24
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_hoe{nl_WriteRecipe:1b,nl_ItemID:25b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 25
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:bow{nl_WriteRecipe:1b,nl_ItemID:26b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 26
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:shield{nl_WriteRecipe:1b,nl_ItemID:27b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 27
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_helmet{nl_WriteRecipe:1b,nl_ItemID:57b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 57
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_chestplate{nl_WriteRecipe:1b,nl_ItemID:58b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 58
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_leggings{nl_WriteRecipe:1b,nl_ItemID:59b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 59
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_boots{nl_WriteRecipe:1b,nl_ItemID:60b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 60
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:carved_pumpkin{nl_WriteRecipe:1b,nl_ItemID:75b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 75

# Topaz Tools # 
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_sword{nl_WriteRecipe:1b,nl_ItemID:28b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 28
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_pickaxe{nl_WriteRecipe:1b,nl_ItemID:29b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 29
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_axe{nl_WriteRecipe:1b,nl_ItemID:30b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 30
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_shovel{nl_WriteRecipe:1b,nl_ItemID:31b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 31
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_hoe{nl_WriteRecipe:1b,nl_ItemID:32b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 32
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:bow{nl_WriteRecipe:1b,nl_ItemID:33b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 33
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:shield{nl_WriteRecipe:1b,nl_ItemID:34b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 34
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_helmet{nl_WriteRecipe:1b,nl_ItemID:61b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 61
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_chestplate{nl_WriteRecipe:1b,nl_ItemID:62b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 62
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_leggings{nl_WriteRecipe:1b,nl_ItemID:63b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 63
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_boots{nl_WriteRecipe:1b,nl_ItemID:64b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 64
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:carved_pumpkin{nl_WriteRecipe:1b,nl_ItemID:76b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 76

# Ruby Tools # 
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_sword{nl_WriteRecipe:1b,nl_ItemID:35b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 35
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_pickaxe{nl_WriteRecipe:1b,nl_ItemID:36b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 36
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_axe{nl_WriteRecipe:1b,nl_ItemID:37b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 37
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_shovel{nl_WriteRecipe:1b,nl_ItemID:38b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 38
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_hoe{nl_WriteRecipe:1b,nl_ItemID:39b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 39
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:bow{nl_WriteRecipe:1b,nl_ItemID:40b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 40
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:shield{nl_WriteRecipe:1b,nl_ItemID:41b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 41
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_helmet{nl_WriteRecipe:1b,nl_ItemID:65b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 65
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_chestplate{nl_WriteRecipe:1b,nl_ItemID:66b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 66
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_leggings{nl_WriteRecipe:1b,nl_ItemID:67b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 67
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_boots{nl_WriteRecipe:1b,nl_ItemID:68b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 68
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:carved_pumpkin{nl_WriteRecipe:1b,nl_ItemID:77b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 77

# Sapphire Tools # 
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_sword{nl_WriteRecipe:1b,nl_ItemID:42b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 42
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_pickaxe{nl_WriteRecipe:1b,nl_ItemID:43b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 43
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_axe{nl_WriteRecipe:1b,nl_ItemID:44b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 44
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_shovel{nl_WriteRecipe:1b,nl_ItemID:45b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 45
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:diamond_hoe{nl_WriteRecipe:1b,nl_ItemID:46b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 46
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:bow{nl_WriteRecipe:1b,nl_ItemID:47b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 47
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:shield{nl_WriteRecipe:1b,nl_ItemID:48b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 48
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_helmet{nl_WriteRecipe:1b,nl_ItemID:69b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 69
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_chestplate{nl_WriteRecipe:1b,nl_ItemID:70b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 70
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_leggings{nl_WriteRecipe:1b,nl_ItemID:71b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 71
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_boots{nl_WriteRecipe:1b,nl_ItemID:72b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 72
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:carved_pumpkin{nl_WriteRecipe:1b,nl_ItemID:78b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 78

# Herbs # 
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:suspicious_stew{nl_WriteRecipe:1b,nl_ItemID:84b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 84
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:suspicious_stew{nl_WriteRecipe:1b,nl_ItemID:85b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 85
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:suspicious_stew{nl_WriteRecipe:1b,nl_ItemID:86b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 86
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:suspicious_stew{nl_WriteRecipe:1b,nl_ItemID:87b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 87

# Molten Tools # 
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:iron_sword{nl_WriteRecipe:1b,nl_ItemID:93b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 93
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:iron_pickaxe{nl_WriteRecipe:1b,nl_ItemID:94b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 94
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:iron_axe{nl_WriteRecipe:1b,nl_ItemID:95b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 95
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:iron_shovel{nl_WriteRecipe:1b,nl_ItemID:96b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 96
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:iron_hoe{nl_WriteRecipe:1b,nl_ItemID:97b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 97
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:bow{nl_WriteRecipe:1b,nl_ItemID:98b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 98
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:carved_pumpkin{nl_WriteRecipe:1b,nl_ItemID:89b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 89
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_chestplate{nl_WriteRecipe:1b,nl_ItemID:90b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 90
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_leggings{nl_WriteRecipe:1b,nl_ItemID:91b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 91
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_boots{nl_WriteRecipe:1b,nl_ItemID:92b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 92

# Cactus Tools # 
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:iron_sword{nl_WriteRecipe:1b,nl_ItemID:104b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 104
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:iron_pickaxe{nl_WriteRecipe:1b,nl_ItemID:105b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 105
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:iron_axe{nl_WriteRecipe:1b,nl_ItemID:106b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 106
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:iron_shovel{nl_WriteRecipe:1b,nl_ItemID:107b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 107
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:iron_hoe{nl_WriteRecipe:1b,nl_ItemID:108b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 108
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:bow{nl_WriteRecipe:1b,nl_ItemID:109b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 109
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:carved_pumpkin{nl_WriteRecipe:1b,nl_ItemID:100b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 100
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_chestplate{nl_WriteRecipe:1b,nl_ItemID:101b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 101
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_leggings{nl_WriteRecipe:1b,nl_ItemID:102b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 102
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_boots{nl_WriteRecipe:1b,nl_ItemID:103b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 103

# Frozen Tools # 
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:iron_sword{nl_WriteRecipe:1b,nl_ItemID:115b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 115
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:iron_pickaxe{nl_WriteRecipe:1b,nl_ItemID:116b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 116
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:iron_axe{nl_WriteRecipe:1b,nl_ItemID:117b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 117
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:iron_shovel{nl_WriteRecipe:1b,nl_ItemID:118b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 118
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:iron_hoe{nl_WriteRecipe:1b,nl_ItemID:119b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 119
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:bow{nl_WriteRecipe:1b,nl_ItemID:120b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 120
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:carved_pumpkin{nl_WriteRecipe:1b,nl_ItemID:111b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 111
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_chestplate{nl_WriteRecipe:1b,nl_ItemID:112b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 112
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_leggings{nl_WriteRecipe:1b,nl_ItemID:113b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 113
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_boots{nl_WriteRecipe:1b,nl_ItemID:114b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 114

# Ethereal Tools # 
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:iron_sword{nl_WriteRecipe:1b,nl_ItemID:126b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 126
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:iron_pickaxe{nl_WriteRecipe:1b,nl_ItemID:127b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 127
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:iron_axe{nl_WriteRecipe:1b,nl_ItemID:128b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 128
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:iron_shovel{nl_WriteRecipe:1b,nl_ItemID:129b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 129
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:iron_hoe{nl_WriteRecipe:1b,nl_ItemID:130b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 130
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:bow{nl_WriteRecipe:1b,nl_ItemID:131b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 131
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:carved_pumpkin{nl_WriteRecipe:1b,nl_ItemID:122b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 122
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_chestplate{nl_WriteRecipe:1b,nl_ItemID:123b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 123
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_leggings{nl_WriteRecipe:1b,nl_ItemID:124b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 124
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:leather_boots{nl_WriteRecipe:1b,nl_ItemID:125b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 125

# Magic Rod # 
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:blaze_rod{nl_WriteRecipe:1b,nl_ItemID:133b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 133

# Magic Compass # 
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:compass{nl_WriteRecipe:1b,nl_ItemID:134b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 134

# Magic Clock # 
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:clock{nl_WriteRecipe:1b,nl_ItemID:135b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 135

# Magic Staffs # 
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:carrot_on_a_stick{nl_WriteRecipe:1b,nl_ItemID:136b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 136
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:carrot_on_a_stick{nl_WriteRecipe:1b,nl_ItemID:137b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 137
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:carrot_on_a_stick{nl_WriteRecipe:1b,nl_ItemID:138b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 138
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:carrot_on_a_stick{nl_WriteRecipe:1b,nl_ItemID:139b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 139
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:carrot_on_a_stick{nl_WriteRecipe:1b,nl_ItemID:140b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 140
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:carrot_on_a_stick{nl_WriteRecipe:1b,nl_ItemID:141b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 141
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:carrot_on_a_stick{nl_WriteRecipe:1b,nl_ItemID:142b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 142
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:carrot_on_a_stick{nl_WriteRecipe:1b,nl_ItemID:143b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 143
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:carrot_on_a_stick{nl_WriteRecipe:1b,nl_ItemID:144b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 144
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:carrot_on_a_stick{nl_WriteRecipe:1b,nl_ItemID:145b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 145

# Page Turner #
execute as @a[scores={nl.RecipeID=..0}] store result score @s nl.RecipeID run clear @s minecraft:book{nl_WriteRecipe:1b,nl_TurnPage:1b} 0
execute as @a[scores={nl.RecipeID=1}] run scoreboard players set @s nl.RecipeID 1412001

execute as @s[scores={nl.RecipeID=2..1412000}] run function next_level:give/recipe
execute as @s[scores={nl.RecipeID=1412001}] at @s as @e[tag=nl_Crystal,sort=nearest,limit=1] run function next_level:custom_blocks/crystal_ball/turn_page


