# Purple Herb Table Page 1 #
execute unless block ~ ~ ~ trapped_chest{Items:[{Slot:0b}]} run replaceitem block ~ ~ ~ container.0 minecraft:wooden_sword{display:{Name:'{"text":"Place in Item for Info,","color":"gray"}',Lore:['{"text":"Stats and Crafter recipes.","color":"gray"}']},HideFlags:63,CustomModelData:1412003,nl_UI:1b}

# Warding Herbs #
execute if block ~ ~ ~ trapped_chest{Items:[{Slot:1b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:1b,tag:{nl_WriteRecipe:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_1
execute unless block ~ ~ ~ trapped_chest{Items:[{Slot:1b}]} run replaceitem block ~ ~ ~ container.1 minecraft:suspicious_stew{CustomModelData:1412003,nl_WriteRecipe:1b,nl_ItemID:86b,HideFlags:2,display:{Name:'{"text":"Warding Herbs","color":"dark_purple","italic":false}',Lore:['[{"text":"Rarity: [","color":"gray","italic":false},{"text":"✯✯","color":"gold","italic":false},{"text":"✯","color":"dark_gray","italic":false},{"text":"] ","color":"gray"}]','{"text":" "}','{"text":"     ⚗ Herbal Properties ⚗      ","color":"gold","italic":false,"underlined":true}','{"text":" "}','{"italic":false,"color":"gray","text":"When consumed:"}','{"italic":false,"color":"light_purple","extra":[{"italic":false,"color":"gray","text":"["},{"italic":false,"color":"dark_aqua","text":"Resistance 00:20"},{"italic":false,"color":"gray","text":"]"}],"text":" Ward "}','{"text":" "}','{"text":"     ⚒ Crafting Recipe ⚒      ","color":"dark_aqua","italic":false,"underlined":true}','{"text":" "}','{"text":"           [_][_][_]","color":"gray","italic":false}','[{"text":"           [","color":"gray","italic":false},{"text":"W","color":"white","italic":false},{"text":"][","color":"gray","italic":false},{"text":"P","color":"dark_purple","italic":false},{"text":"][","color":"gray","italic":false},{"text":"W","color":"white","italic":false},{"text":"]","italic":false}]','[{"text":"           [_][","color":"gray","italic":false},{"text":"B","color":"gold","italic":false},{"text":"][_]","color":"gray","italic":false}]','{"text":" "}','{"text":"          W = White Herb","color":"white","italic":false}','{"text":"          P = Purple Herb","color":"dark_purple","italic":false}','{"text":"          B = Bowl","color":"gold","italic":false}','{"text":" "}','{"text":"Craft with:","color":"dark_green","italic":false}','{"text":" - Gemstone Crafting Table","color":"blue","italic":false}','{"text":" "}','{"text":"  ⚔ Minecraft:Next Level ⚔  ","color":"dark_gray","italic":false}']}}

execute if block ~ ~ ~ trapped_chest{Items:[{Slot:2b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:2b,tag:{nl_UI:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_2
execute if block ~ ~ ~ trapped_chest{Items:[{Slot:3b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:3b,tag:{nl_UI:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_3
execute if block ~ ~ ~ trapped_chest{Items:[{Slot:4b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:4b,tag:{nl_UI:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_4
execute if block ~ ~ ~ trapped_chest{Items:[{Slot:5b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:5b,tag:{nl_UI:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_5

# Not Slots #

execute if block ~ ~ ~ trapped_chest{Items:[{Slot:6b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:6b,tag:{nl_UI:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_6
execute unless block ~ ~ ~ trapped_chest{Items:[{Slot:6b}]} run replaceitem block ~ ~ ~ container.6 minecraft:structure_block{CustomModelData:1412002,display:{Name:'{"text":"Place in Item for Info,","color":"gray"}',Lore:['{"text":"Stats and Crafter recipes.","color":"gray"}']},nl_UI:1b}
execute if block ~ ~ ~ trapped_chest{Items:[{Slot:7b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:7b,tag:{nl_UI:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_7
execute unless block ~ ~ ~ trapped_chest{Items:[{Slot:7b}]} run replaceitem block ~ ~ ~ container.7 minecraft:structure_block{CustomModelData:1412002,display:{Name:'{"text":"Place in Item for Info,","color":"gray"}',Lore:['{"text":"Stats and Crafter recipes.","color":"gray"}']},nl_UI:1b}
execute if block ~ ~ ~ trapped_chest{Items:[{Slot:8b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:8b,tag:{nl_UI:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_8
execute unless block ~ ~ ~ trapped_chest{Items:[{Slot:8b}]} run replaceitem block ~ ~ ~ container.8 minecraft:structure_block{CustomModelData:1412002,display:{Name:'{"text":"Place in Item for Info,","color":"gray"}',Lore:['{"text":"Stats and Crafter recipes.","color":"gray"}']},nl_UI:1b}
execute if block ~ ~ ~ trapped_chest{Items:[{Slot:9b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:9b,tag:{nl_UI:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_9
execute unless block ~ ~ ~ trapped_chest{Items:[{Slot:9b}]} run replaceitem block ~ ~ ~ container.9 minecraft:structure_block{CustomModelData:1412002,display:{Name:'{"text":"Place in Item for Info,","color":"gray"}',Lore:['{"text":"Stats and Crafter recipes.","color":"gray"}']},nl_UI:1b}

execute if block ~ ~ ~ trapped_chest{Items:[{Slot:10b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:10b,tag:{nl_UI:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_10
execute if block ~ ~ ~ trapped_chest{Items:[{Slot:11b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:11b,tag:{nl_UI:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_11
execute if block ~ ~ ~ trapped_chest{Items:[{Slot:12b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:12b,tag:{nl_UI:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_12
execute if block ~ ~ ~ trapped_chest{Items:[{Slot:13b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:13b,tag:{nl_UI:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_13
execute if block ~ ~ ~ trapped_chest{Items:[{Slot:14b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:14b,tag:{nl_UI:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_14

execute if block ~ ~ ~ trapped_chest{Items:[{Slot:15b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:15b,tag:{nl_UI:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_15
execute unless block ~ ~ ~ trapped_chest{Items:[{Slot:15b}]} run replaceitem block ~ ~ ~ container.15 minecraft:structure_block{CustomModelData:1412002,display:{Name:'{"text":"Place in Item for Info,","color":"gray"}',Lore:['{"text":"Stats and Crafter recipes.","color":"gray"}']},nl_UI:1b}

execute if block ~ ~ ~ trapped_chest{Items:[{Slot:17b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:17b,tag:{nl_UI:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_17
execute unless block ~ ~ ~ trapped_chest{Items:[{Slot:17b}]} run replaceitem block ~ ~ ~ container.17 minecraft:structure_block{CustomModelData:1412002,display:{Name:'{"text":"Place in Item for Info,","color":"gray"}',Lore:['{"text":"Stats and Crafter recipes.","color":"gray"}']},nl_UI:1b}
execute if block ~ ~ ~ trapped_chest{Items:[{Slot:18b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:18b,tag:{nl_UI:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_18
execute unless block ~ ~ ~ trapped_chest{Items:[{Slot:18b}]} run replaceitem block ~ ~ ~ container.18 minecraft:structure_block{CustomModelData:1412002,display:{Name:'{"text":"Place in Item for Info,","color":"gray"}',Lore:['{"text":"Stats and Crafter recipes.","color":"gray"}']},nl_UI:1b}

execute if block ~ ~ ~ trapped_chest{Items:[{Slot:19b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:19b,tag:{nl_UI:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_19
execute if block ~ ~ ~ trapped_chest{Items:[{Slot:20b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:20b,tag:{nl_UI:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_20
execute if block ~ ~ ~ trapped_chest{Items:[{Slot:21b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:21b,tag:{nl_UI:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_21
execute if block ~ ~ ~ trapped_chest{Items:[{Slot:22b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:22b,tag:{nl_UI:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_22
execute if block ~ ~ ~ trapped_chest{Items:[{Slot:23b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:23b,tag:{nl_UI:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_23

execute if block ~ ~ ~ trapped_chest{Items:[{Slot:24b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:24b,tag:{nl_UI:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_24
execute unless block ~ ~ ~ trapped_chest{Items:[{Slot:24b}]} run replaceitem block ~ ~ ~ container.24 minecraft:structure_block{CustomModelData:1412002,display:{Name:'{"text":"Place in Item for Info,","color":"gray"}',Lore:['{"text":"Stats and Crafter recipes.","color":"gray"}']},nl_UI:1b}
execute if block ~ ~ ~ trapped_chest{Items:[{Slot:25b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:25b,tag:{nl_UI:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_25
execute unless block ~ ~ ~ trapped_chest{Items:[{Slot:25b}]} run replaceitem block ~ ~ ~ container.25 minecraft:structure_block{CustomModelData:1412002,display:{Name:'{"text":"Place in Item for Info,","color":"gray"}',Lore:['{"text":"Stats and Crafter recipes.","color":"gray"}']},nl_UI:1b}

execute unless block ~ ~ ~ trapped_chest{Items:[{Slot:16b,tag:{nl_ItemID:81b}}]} run function next_level:custom_blocks/crystal_ball/ui/tag_empty


