# Amethyst #
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 7 at @s run loot spawn ~ ~ ~ loot next_level:tools/amethyst/sword
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 8 at @s run loot spawn ~ ~ ~ loot next_level:tools/amethyst/pickaxe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 9 at @s run loot spawn ~ ~ ~ loot next_level:tools/amethyst/axe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 10 at @s run loot spawn ~ ~ ~ loot next_level:tools/amethyst/shovel
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 11 at @s run loot spawn ~ ~ ~ loot next_level:tools/amethyst/hoe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 12 at @s run loot spawn ~ ~ ~ loot next_level:tools/amethyst/bow
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 13 at @s run loot spawn ~ ~ ~ loot next_level:tools/amethyst/shield
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 49 at @s run loot spawn ~ ~ ~ loot next_level:gear/amethyst/helmet
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 50 at @s run loot spawn ~ ~ ~ loot next_level:gear/amethyst/chestplate
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 51 at @s run loot spawn ~ ~ ~ loot next_level:gear/amethyst/leggings
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 52 at @s run loot spawn ~ ~ ~ loot next_level:gear/amethyst/boots
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 73 at @s run loot spawn ~ ~ ~ loot next_level:gear/amethyst/amulet

# Dark Quartz #
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 14 at @s run loot spawn ~ ~ ~ loot next_level:tools/smokey_quartz/sword
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 15 at @s run loot spawn ~ ~ ~ loot next_level:tools/smokey_quartz/pickaxe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 16 at @s run loot spawn ~ ~ ~ loot next_level:tools/smokey_quartz/axe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 17 at @s run loot spawn ~ ~ ~ loot next_level:tools/smokey_quartz/shovel
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 18 at @s run loot spawn ~ ~ ~ loot next_level:tools/smokey_quartz/hoe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 19 at @s run loot spawn ~ ~ ~ loot next_level:tools/smokey_quartz/bow
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 20 at @s run loot spawn ~ ~ ~ loot next_level:tools/smokey_quartz/shield
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 53 at @s run loot spawn ~ ~ ~ loot next_level:gear/dark_quartz/helmet
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 54 at @s run loot spawn ~ ~ ~ loot next_level:gear/dark_quartz/chestplate
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 55 at @s run loot spawn ~ ~ ~ loot next_level:gear/dark_quartz/leggings
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 56 at @s run loot spawn ~ ~ ~ loot next_level:gear/dark_quartz/boots
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 74 at @s run loot spawn ~ ~ ~ loot next_level:gear/dark_quartz/amulet

# Jade #
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 21 at @s run loot spawn ~ ~ ~ loot next_level:tools/jade/sword
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 22 at @s run loot spawn ~ ~ ~ loot next_level:tools/jade/pickaxe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 23 at @s run loot spawn ~ ~ ~ loot next_level:tools/jade/axe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 24 at @s run loot spawn ~ ~ ~ loot next_level:tools/jade/shovel
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 25 at @s run loot spawn ~ ~ ~ loot next_level:tools/jade/hoe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 26 at @s run loot spawn ~ ~ ~ loot next_level:tools/jade/bow
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 27 at @s run loot spawn ~ ~ ~ loot next_level:tools/jade/shield
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 57 at @s run loot spawn ~ ~ ~ loot next_level:gear/jade/helmet
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 58 at @s run loot spawn ~ ~ ~ loot next_level:gear/jade/chestplate
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 59 at @s run loot spawn ~ ~ ~ loot next_level:gear/jade/leggings
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 60 at @s run loot spawn ~ ~ ~ loot next_level:gear/jade/boots
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 75 at @s run loot spawn ~ ~ ~ loot next_level:gear/jade/amulet

# Topaz #
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 28 at @s run loot spawn ~ ~ ~ loot next_level:tools/topaz/sword
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 29 at @s run loot spawn ~ ~ ~ loot next_level:tools/topaz/pickaxe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 30 at @s run loot spawn ~ ~ ~ loot next_level:tools/topaz/axe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 31 at @s run loot spawn ~ ~ ~ loot next_level:tools/topaz/shovel
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 32 at @s run loot spawn ~ ~ ~ loot next_level:tools/topaz/hoe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 33 at @s run loot spawn ~ ~ ~ loot next_level:tools/topaz/bow
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 34 at @s run loot spawn ~ ~ ~ loot next_level:tools/topaz/shield
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 61 at @s run loot spawn ~ ~ ~ loot next_level:gear/topaz/helmet
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 62 at @s run loot spawn ~ ~ ~ loot next_level:gear/topaz/chestplate
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 63 at @s run loot spawn ~ ~ ~ loot next_level:gear/topaz/leggings
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 64 at @s run loot spawn ~ ~ ~ loot next_level:gear/topaz/boots
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 76 at @s run loot spawn ~ ~ ~ loot next_level:gear/topaz/amulet

# Ruby #
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 35 at @s run loot spawn ~ ~ ~ loot next_level:tools/ruby/sword
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 36 at @s run loot spawn ~ ~ ~ loot next_level:tools/ruby/pickaxe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 37 at @s run loot spawn ~ ~ ~ loot next_level:tools/ruby/axe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 38 at @s run loot spawn ~ ~ ~ loot next_level:tools/ruby/shovel
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 39 at @s run loot spawn ~ ~ ~ loot next_level:tools/ruby/hoe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 40 at @s run loot spawn ~ ~ ~ loot next_level:tools/ruby/bow
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 41 at @s run loot spawn ~ ~ ~ loot next_level:tools/ruby/shield
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 65 at @s run loot spawn ~ ~ ~ loot next_level:gear/ruby/helmet
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 66 at @s run loot spawn ~ ~ ~ loot next_level:gear/ruby/chestplate
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 67 at @s run loot spawn ~ ~ ~ loot next_level:gear/ruby/leggings
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 68 at @s run loot spawn ~ ~ ~ loot next_level:gear/ruby/boots
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 77 at @s run loot spawn ~ ~ ~ loot next_level:gear/ruby/amulet

# sapphire #
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 42 at @s run loot spawn ~ ~ ~ loot next_level:tools/sapphire/sword
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 43 at @s run loot spawn ~ ~ ~ loot next_level:tools/sapphire/pickaxe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 44 at @s run loot spawn ~ ~ ~ loot next_level:tools/sapphire/axe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 45 at @s run loot spawn ~ ~ ~ loot next_level:tools/sapphire/shovel
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 46 at @s run loot spawn ~ ~ ~ loot next_level:tools/sapphire/hoe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 47 at @s run loot spawn ~ ~ ~ loot next_level:tools/sapphire/bow
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 48 at @s run loot spawn ~ ~ ~ loot next_level:tools/sapphire/shield
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 69 at @s run loot spawn ~ ~ ~ loot next_level:gear/sapphire/helmet
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 70 at @s run loot spawn ~ ~ ~ loot next_level:gear/sapphire/chestplate
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 71 at @s run loot spawn ~ ~ ~ loot next_level:gear/sapphire/leggings
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 72 at @s run loot spawn ~ ~ ~ loot next_level:gear/sapphire/boots
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 78 at @s run loot spawn ~ ~ ~ loot next_level:gear/sapphire/amulet

# Herbs # 

execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 84 at @s run loot spawn ~ ~ ~ loot next_level:loot/items/herbs/healing_herb
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 85 at @s run loot spawn ~ ~ ~ loot next_level:loot/items/herbs/curing_herb
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 86 at @s run loot spawn ~ ~ ~ loot next_level:loot/items/herbs/warding_herb
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 87 at @s run loot spawn ~ ~ ~ loot next_level:loot/items/herbs/resting_herb

# Molten #
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 93 at @s run loot spawn ~ ~ ~ loot next_level:tools/molten/sword
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 94 at @s run loot spawn ~ ~ ~ loot next_level:tools/molten/pickaxe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 95 at @s run loot spawn ~ ~ ~ loot next_level:tools/molten/axe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 96 at @s run loot spawn ~ ~ ~ loot next_level:tools/molten/shovel
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 97 at @s run loot spawn ~ ~ ~ loot next_level:tools/molten/hoe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 98 at @s run loot spawn ~ ~ ~ loot next_level:tools/molten/bow
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 89 at @s run loot spawn ~ ~ ~ loot next_level:gear/molten/helmet
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 90 at @s run loot spawn ~ ~ ~ loot next_level:gear/molten/chestplate
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 91 at @s run loot spawn ~ ~ ~ loot next_level:gear/molten/leggings
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 92 at @s run loot spawn ~ ~ ~ loot next_level:gear/molten/boots

# Cactus #
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 104 at @s run loot spawn ~ ~ ~ loot next_level:tools/cactus/sword
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 105 at @s run loot spawn ~ ~ ~ loot next_level:tools/cactus/pickaxe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 106 at @s run loot spawn ~ ~ ~ loot next_level:tools/cactus/axe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 107 at @s run loot spawn ~ ~ ~ loot next_level:tools/cactus/shovel
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 108 at @s run loot spawn ~ ~ ~ loot next_level:tools/cactus/hoe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 109 at @s run loot spawn ~ ~ ~ loot next_level:tools/cactus/bow
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 100 at @s run loot spawn ~ ~ ~ loot next_level:gear/cactus/helmet
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 101 at @s run loot spawn ~ ~ ~ loot next_level:gear/cactus/chestplate
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 102 at @s run loot spawn ~ ~ ~ loot next_level:gear/cactus/leggings
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 103 at @s run loot spawn ~ ~ ~ loot next_level:gear/cactus/boots

# frozen #
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 115 at @s run loot spawn ~ ~ ~ loot next_level:tools/frozen/sword
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 116 at @s run loot spawn ~ ~ ~ loot next_level:tools/frozen/pickaxe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 117 at @s run loot spawn ~ ~ ~ loot next_level:tools/frozen/axe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 118 at @s run loot spawn ~ ~ ~ loot next_level:tools/frozen/shovel
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 119 at @s run loot spawn ~ ~ ~ loot next_level:tools/frozen/hoe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 120 at @s run loot spawn ~ ~ ~ loot next_level:tools/frozen/bow
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 111 at @s run loot spawn ~ ~ ~ loot next_level:gear/frozen/helmet
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 112 at @s run loot spawn ~ ~ ~ loot next_level:gear/frozen/chestplate
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 113 at @s run loot spawn ~ ~ ~ loot next_level:gear/frozen/leggings
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 114 at @s run loot spawn ~ ~ ~ loot next_level:gear/frozen/boots

# ethereal #
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 126 at @s run loot spawn ~ ~ ~ loot next_level:tools/ethereal/sword
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 127 at @s run loot spawn ~ ~ ~ loot next_level:tools/ethereal/pickaxe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 128 at @s run loot spawn ~ ~ ~ loot next_level:tools/ethereal/axe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 129 at @s run loot spawn ~ ~ ~ loot next_level:tools/ethereal/shovel
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 130 at @s run loot spawn ~ ~ ~ loot next_level:tools/ethereal/hoe
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 131 at @s run loot spawn ~ ~ ~ loot next_level:tools/ethereal/bow
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 122 at @s run loot spawn ~ ~ ~ loot next_level:gear/ethereal/helmet
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 123 at @s run loot spawn ~ ~ ~ loot next_level:gear/ethereal/chestplate
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 124 at @s run loot spawn ~ ~ ~ loot next_level:gear/ethereal/leggings
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 125 at @s run loot spawn ~ ~ ~ loot next_level:gear/ethereal/boots

# Magic Rod #
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 133 at @s run loot spawn ~ ~ ~ loot next_level:loot/items/magic_rod

# Magic Compass #
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 134 at @s run loot spawn ~ ~ ~ loot next_level:loot/items/magic_compass

# Magic Clock #
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 135 at @s run loot spawn ~ ~ ~ loot next_level:loot/items/magic_clock

# Magic Staff # 
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 136 at @s run loot spawn ~ ~ ~ loot next_level:tools/smokey_quartz/staff
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 137 at @s run loot spawn ~ ~ ~ loot next_level:tools/amethyst/staff
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 138 at @s run loot spawn ~ ~ ~ loot next_level:tools/jade/staff
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 139 at @s run loot spawn ~ ~ ~ loot next_level:tools/topaz/staff
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 140 at @s run loot spawn ~ ~ ~ loot next_level:tools/ruby/staff
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 141 at @s run loot spawn ~ ~ ~ loot next_level:tools/sapphire/staff

execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 142 at @s run loot spawn ~ ~ ~ loot next_level:tools/ethereal/staff
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 143 at @s run loot spawn ~ ~ ~ loot next_level:tools/molten/staff
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 144 at @s run loot spawn ~ ~ ~ loot next_level:tools/cactus/staff
execute if score @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1,distance=..10] nl.CraftID matches 145 at @s run loot spawn ~ ~ ~ loot next_level:tools/frozen/staff


execute as @e[tag=nl_Craft.ValidRecipe,sort=nearest,limit=1] run function next_level:custom_blocks/gemstone_crafter/remove_input

clear @s minecraft:diamond_sword{nl_ValidRecipe:1b}
clear @s minecraft:diamond_pickaxe{nl_ValidRecipe:1b}
clear @s minecraft:diamond_axe{nl_ValidRecipe:1b}
clear @s minecraft:diamond_shovel{nl_ValidRecipe:1b}
clear @s minecraft:diamond_hoe{nl_ValidRecipe:1b}
clear @s minecraft:iron_sword{nl_ValidRecipe:1b}
clear @s minecraft:iron_pickaxe{nl_ValidRecipe:1b}
clear @s minecraft:iron_axe{nl_ValidRecipe:1b}
clear @s minecraft:iron_shovel{nl_ValidRecipe:1b}
clear @s minecraft:iron_hoe{nl_ValidRecipe:1b}
clear @s minecraft:bow{nl_ValidRecipe:1b}
clear @s minecraft:leather_helmet{nl_ValidRecipe:1b}
clear @s minecraft:leather_chestplate{nl_ValidRecipe:1b}
clear @s minecraft:leather_leggings{nl_ValidRecipe:1b}
clear @s minecraft:leather_boots{nl_ValidRecipe:1b}
clear @s minecraft:shield{nl_ValidRecipe:1b}
clear @s minecraft:carved_pumpkin{nl_ValidRecipe:1b}
clear @s minecraft:suspicious_stew{nl_ValidRecipe:1b}
clear @s minecraft:blaze_rod{nl_ValidRecipe:1b}
clear @s minecraft:compass{nl_ValidRecipe:1b}
clear @s minecraft:clock{nl_ValidRecipe:1b}
clear @s minecraft:carrot_on_a_stick{nl_ValidRecipe:1b}

execute as @s run playsound minecraft:entity.villager.work_toolsmith voice @s
scoreboard players set @s nl.CraftID 0