# Ruby 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:1412005,nl_UI:1b}

# Ruby Sword #
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:diamond_sword{HideFlags:2,CustomModelData:1412005,nl_WriteRecipe:1b,nl_ItemID:35b,display:{Name:'{"text":"Ruby Sword","color":"red","italic":false}',Lore:['[{"text":"Rarity: [","color":"gray","italic":false},{"text":"✯✯✯","color":"gold","italic":false},{"text":"] ","color":"gray"},{"text":"❖","color":"dark_red","italic":false}]','{"text":" "}','{"text":"    ⚔ Weapon Statistics ⚔     ","color":"gray","italic":false,"underlined":true}','{"text":" "}','{"text":"     14 Attack Damage","color":"gold","italic":false}','{"text":"     1.6 Attack Speed","color":"gold","italic":false}','{"text":" "}','{"text":"     ⚒ Crafting Recipe ⚒      ","color":"dark_aqua","italic":false,"underlined":true}','{"text":" "}','[{"text":"           [_][","color":"gray","italic":false},{"text":"R","color":"red","italic":false},{"text":"][_]","color":"gray","italic":false}]','[{"text":"           [_][","color":"gray","italic":false},{"text":"R","color":"red","italic":false},{"text":"][_]","color":"gray","italic":false}]','[{"text":"           [_][","color":"gray","italic":false},{"text":"M","color":"dark_purple","italic":false},{"text":"][_]","color":"gray","italic":false}]','{"text":" "}','{"text":"          R = Ruby","color":"red","italic":false}','{"text":"          M = Magic Rod","color":"dark_purple","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}']}}

# Sapphire Sword #
execute if block ~ ~ ~ trapped_chest{Items:[{Slot:2b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:2b,tag:{nl_WriteRecipe:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_2
execute unless block ~ ~ ~ trapped_chest{Items:[{Slot:2b}]} run replaceitem block ~ ~ ~ container.2 minecraft:diamond_sword{HideFlags:2,CustomModelData:1412006,nl_WriteRecipe:1b,nl_ItemID:42b,display:{Name:'{"text":"Sapphire Sword","color":"blue","italic":false}',Lore:['[{"text":"Rarity: [","color":"gray","italic":false},{"text":"✯✯✯","color":"gold","italic":false},{"text":"] ","color":"gray"},{"text":"❖","color":"blue","italic":false}]','{"text":" "}','{"text":"    ⚔ Weapon Statistics ⚔     ","color":"gray","italic":false,"underlined":true}','{"text":" "}','{"text":"     15 Attack Damage","color":"gold","italic":false}','{"text":"     1.6 Attack Speed","color":"gold","italic":false}','{"text":" "}','{"text":"     ⚒ Crafting Recipe ⚒      ","color":"dark_aqua","italic":false,"underlined":true}','{"text":" "}','[{"text":"           [_][","color":"gray","italic":false},{"text":"S","color":"blue","italic":false},{"text":"][_]","color":"gray","italic":false}]','[{"text":"           [_][","color":"gray","italic":false},{"text":"S","color":"blue","italic":false},{"text":"][_]","color":"gray","italic":false}]','[{"text":"           [_][","color":"gray","italic":false},{"text":"M","color":"dark_purple","italic":false},{"text":"][_]","color":"gray","italic":false}]','{"text":" "}','{"text":"          S = Sapphire","color":"blue","italic":false}','{"text":"          M = Magic Rod","color":"dark_purple","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}']}}

# Ruby Pickaxe #
execute if block ~ ~ ~ trapped_chest{Items:[{Slot:3b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:3b,tag:{nl_WriteRecipe:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_3
execute unless block ~ ~ ~ trapped_chest{Items:[{Slot:3b}]} run replaceitem block ~ ~ ~ container.3 minecraft:diamond_pickaxe{HideFlags:2,CustomModelData:1412005,nl_WriteRecipe:1b,nl_ItemID:36b,display:{Name:'{"text":"Ruby Pickaxe","color":"red","italic":false}',Lore:['[{"text":"Rarity: [","color":"gray","italic":false},{"text":"✯✯✯","color":"gold","italic":false},{"text":"] ","color":"gray"},{"text":"❖","color":"dark_red","italic":false}]','{"text":" "}','{"text":"    ⚔ Weapon Statistics ⚔     ","color":"gray","italic":false,"underlined":true}','{"text":" "}','{"text":"     10 Attack Damage","color":"gold","italic":false}','{"text":"     1.2 Attack Speed","color":"gold","italic":false}','{"text":" "}','{"text":"     ⚒ Crafting Recipe ⚒      ","color":"dark_aqua","italic":false,"underlined":true}','{"text":" "}','[{"text":"           [","color":"gray","italic":false},{"text":"R","color":"red","italic":false},{"text":"][","color":"gray","italic":false},{"text":"R","color":"red","italic":false},{"text":"][","color":"gray","italic":false},{"text":"R","color":"red","italic":false},{"text":"]","color":"gray","italic":false}]','[{"text":"           [_][","color":"gray","italic":false},{"text":"M","color":"dark_purple","italic":false},{"text":"][_]","color":"gray","italic":false}]','[{"text":"           [_][","color":"gray","italic":false},{"text":"M","color":"dark_purple","italic":false},{"text":"][_]","color":"gray","italic":false}]','{"text":" "}','{"text":"          R = Ruby","color":"red","italic":false}','{"text":"          M = Magic Rod","color":"dark_purple","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}']}}

# Sapphire Pickaxe #
execute if block ~ ~ ~ trapped_chest{Items:[{Slot:4b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:4b,tag:{nl_WriteRecipe:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_4
execute unless block ~ ~ ~ trapped_chest{Items:[{Slot:4b}]} run replaceitem block ~ ~ ~ container.4 minecraft:diamond_pickaxe{HideFlags:2,CustomModelData:1412006,nl_WriteRecipe:1b,nl_ItemID:43b,display:{Name:'{"text":"Sapphire Pickaxe","color":"blue","italic":false}',Lore:['[{"text":"Rarity: [","color":"gray","italic":false},{"text":"✯✯✯","color":"gold","italic":false},{"text":"] ","color":"gray"},{"text":"❖","color":"blue","italic":false}]','{"text":" "}','{"text":"    ⚔ Weapon Statistics ⚔     ","color":"gray","italic":false,"underlined":true}','{"text":" "}','{"text":"     11 Attack Damage","color":"gold","italic":false}','{"text":"     1.2 Attack Speed","color":"gold","italic":false}','{"text":" "}','{"text":"     ⚒ Crafting Recipe ⚒      ","color":"dark_aqua","italic":false,"underlined":true}','{"text":" "}','[{"text":"           [","color":"gray","italic":false},{"text":"S","color":"blue","italic":false},{"text":"][","color":"gray","italic":false},{"text":"S","color":"blue","italic":false},{"text":"][","color":"gray","italic":false},{"text":"S","color":"blue","italic":false},{"text":"]","color":"gray","italic":false}]','[{"text":"           [_][","color":"gray","italic":false},{"text":"M","color":"dark_purple","italic":false},{"text":"][_]","color":"gray","italic":false}]','[{"text":"           [_][","color":"gray","italic":false},{"text":"M","color":"dark_purple","italic":false},{"text":"][_]","color":"gray","italic":false}]','{"text":" "}','{"text":"          S = Sapphire","color":"blue","italic":false}','{"text":"          M = Magic Rod","color":"dark_purple","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}']}}

# Ruby Axe #
execute if block ~ ~ ~ trapped_chest{Items:[{Slot:5b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:5b,tag:{nl_WriteRecipe:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_5
execute unless block ~ ~ ~ trapped_chest{Items:[{Slot:5b}]} run replaceitem block ~ ~ ~ container.5 minecraft:diamond_axe{HideFlags:2,CustomModelData:1412005,nl_WriteRecipe:1b,nl_ItemID:37b,display:{Name:'{"text":"Ruby Axe","color":"red","italic":false}',Lore:['[{"text":"Rarity: [","color":"gray","italic":false},{"text":"✯✯✯","color":"gold","italic":false},{"text":"] ","color":"gray"},{"text":"❖","color":"dark_red","italic":false}]','{"text":" "}','{"text":"    ⚔ Weapon Statistics ⚔     ","color":"gray","italic":false,"underlined":true}','{"text":" "}','{"text":"     16 Attack Damage","color":"gold","italic":false}','{"text":"     1 Attack Speed","color":"gold","italic":false}','{"text":" "}','{"text":"     ⚒ Crafting Recipe ⚒      ","color":"dark_aqua","italic":false,"underlined":true}','{"text":" "}','[{"text":"           [_][","color":"gray","italic":false},{"text":"R","color":"red","italic":false},{"text":"][","color":"gray","italic":false},{"text":"R","color":"red","italic":false},{"text":"]","color":"gray","italic":false}]','[{"text":"           [_][","color":"gray","italic":false},{"text":"M","color":"dark_purple","italic":false},{"text":"][","color":"gray","italic":false},{"text":"R","color":"red","italic":false},{"text":"]","color":"gray","italic":false}]','[{"text":"           [_][","color":"gray","italic":false},{"text":"M","color":"dark_purple","italic":false},{"text":"][_]","color":"gray","italic":false}]','{"text":" "}','{"text":"          R = Ruby","color":"red","italic":false}','{"text":"          M = Magic Rod","color":"dark_purple","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}']}}


# Sapphire Axe #
execute if block ~ ~ ~ trapped_chest{Items:[{Slot:10b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:10b,tag:{nl_WriteRecipe:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_10
execute unless block ~ ~ ~ trapped_chest{Items:[{Slot:10b}]} run replaceitem block ~ ~ ~ container.10 minecraft:diamond_axe{HideFlags:2,CustomModelData:1412006,nl_WriteRecipe:1b,nl_ItemID:44b,display:{Name:'{"text":"Sapphire Axe","color":"blue","italic":false}',Lore:['[{"text":"Rarity: [","color":"gray","italic":false},{"text":"✯✯✯","color":"gold","italic":false},{"text":"] ","color":"gray"},{"text":"❖","color":"blue","italic":false}]','{"text":" "}','{"text":"    ⚔ Weapon Statistics ⚔     ","color":"gray","italic":false,"underlined":true}','{"text":" "}','{"text":"     17 Attack Damage","color":"gold","italic":false}','{"text":"     1 Attack Speed","color":"gold","italic":false}','{"text":" "}','{"text":"     ⚒ Crafting Recipe ⚒      ","color":"dark_aqua","italic":false,"underlined":true}','{"text":" "}','[{"text":"           [_][","color":"gray","italic":false},{"text":"S","color":"blue","italic":false},{"text":"][","color":"gray","italic":false},{"text":"S","color":"blue","italic":false},{"text":"]","color":"gray","italic":false}]','[{"text":"           [_][","color":"gray","italic":false},{"text":"M","color":"dark_purple","italic":false},{"text":"][","color":"gray","italic":false},{"text":"S","color":"blue","italic":false},{"text":"]","color":"gray","italic":false}]','[{"text":"           [_][","color":"gray","italic":false},{"text":"M","color":"dark_purple","italic":false},{"text":"][_]","color":"gray","italic":false}]','{"text":" "}','{"text":"          S = Sapphire","color":"blue","italic":false}','{"text":"          M = Magic Rod","color":"dark_purple","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}']}}

# Ruby Shovel #
execute if block ~ ~ ~ trapped_chest{Items:[{Slot:11b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:11b,tag:{nl_WriteRecipe:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_11
execute unless block ~ ~ ~ trapped_chest{Items:[{Slot:11b}]} run replaceitem block ~ ~ ~ container.11 minecraft:diamond_shovel{HideFlags:2,CustomModelData:1412005,nl_WriteRecipe:1b,nl_ItemID:38b,display:{Name:'{"text":"Ruby Shovel","color":"red","italic":false}',Lore:['[{"text":"Rarity: [","color":"gray","italic":false},{"text":"✯✯✯","color":"gold","italic":false},{"text":"] ","color":"gray"},{"text":"❖","color":"dark_red","italic":false}]','{"text":" "}','{"text":"    ⚔ Weapon Statistics ⚔     ","color":"gray","italic":false,"underlined":true}','{"text":" "}','{"text":"     10.5 Attack Damage","color":"gold","italic":false}','{"text":"     1 Attack Speed","color":"gold","italic":false}','{"text":" "}','{"text":"     ⚒ Crafting Recipe ⚒      ","color":"dark_aqua","italic":false,"underlined":true}','{"text":" "}','[{"text":"           [_][","color":"gray","italic":false},{"text":"R","color":"red","italic":false},{"text":"][_]","color":"gray","italic":false}]','[{"text":"           [_][","color":"gray","italic":false},{"text":"M","color":"dark_purple","italic":false},{"text":"][_]","color":"gray","italic":false}]','[{"text":"           [_][","color":"gray","italic":false},{"text":"M","color":"dark_purple","italic":false},{"text":"][_]","color":"gray","italic":false}]','{"text":" "}','{"text":"          R = Ruby","color":"red","italic":false}','{"text":"          M = Magic Rod","color":"dark_purple","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}']}}

# Sapphire Shovel #
execute if block ~ ~ ~ trapped_chest{Items:[{Slot:12b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:12b,tag:{nl_WriteRecipe:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_12
execute unless block ~ ~ ~ trapped_chest{Items:[{Slot:12b}]} run replaceitem block ~ ~ ~ container.12 minecraft:diamond_shovel{HideFlags:2,CustomModelData:1412006,nl_WriteRecipe:1b,nl_ItemID:45b,display:{Name:'{"text":"Sapphire Shovel","color":"blue","italic":false}',Lore:['[{"text":"Rarity: [","color":"gray","italic":false},{"text":"✯✯✯","color":"gold","italic":false},{"text":"] ","color":"gray"},{"text":"❖","color":"blue","italic":false}]','{"text":" "}','{"text":"    ⚔ Weapon Statistics ⚔     ","color":"gray","italic":false,"underlined":true}','{"text":" "}','{"text":"     11.5 Attack Damage","color":"gold","italic":false}','{"text":"     1 Attack Speed","color":"gold","italic":false}','{"text":" "}','{"text":"     ⚒ Crafting Recipe ⚒      ","color":"dark_aqua","italic":false,"underlined":true}','{"text":" "}','[{"text":"           [_][","color":"gray","italic":false},{"text":"S","color":"blue","italic":false},{"text":"][_]","color":"gray","italic":false}]','[{"text":"           [_][","color":"gray","italic":false},{"text":"M","color":"dark_purple","italic":false},{"text":"][_]","color":"gray","italic":false}]','[{"text":"           [_][","color":"gray","italic":false},{"text":"M","color":"dark_purple","italic":false},{"text":"][_]","color":"gray","italic":false}]','{"text":" "}','{"text":"          S = Sapphire","color":"blue","italic":false}','{"text":"          M = Magic Rod","color":"dark_purple","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}']}}

# Ruby Hoe #
execute if block ~ ~ ~ trapped_chest{Items:[{Slot:13b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:13b,tag:{nl_WriteRecipe:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_13
execute unless block ~ ~ ~ trapped_chest{Items:[{Slot:13b}]} run replaceitem block ~ ~ ~ container.13 minecraft:diamond_hoe{HideFlags:2,CustomModelData:1412005,nl_WriteRecipe:1b,nl_ItemID:39b,display:{Name:'{"text":"Ruby Hoe","color":"red","italic":false}',Lore:['[{"text":"Rarity: [","color":"gray","italic":false},{"text":"✯✯✯","color":"gold","italic":false},{"text":"] ","color":"gray"},{"text":"❖","color":"dark_red","italic":false}]','{"text":" "}','{"text":"    ⚔ Weapon Statistics ⚔     ","color":"gray","italic":false,"underlined":true}','{"text":" "}','{"text":"     9 Attack Damage","color":"gold","italic":false}','{"text":"     4 Attack Speed","color":"gold","italic":false}','{"text":" "}','{"text":"     ⚒ Crafting Recipe ⚒      ","color":"dark_aqua","italic":false,"underlined":true}','{"text":" "}','[{"text":"           [_][","color":"gray","italic":false},{"text":"R","color":"red","italic":false},{"text":"][","color":"gray","italic":false},{"text":"R","color":"red","italic":false},{"text":"]","color":"gray","italic":false}]','[{"text":"           [_][","color":"gray","italic":false},{"text":"M","color":"dark_purple","italic":false},{"text":"][_]","color":"gray","italic":false}]','[{"text":"           [_][","color":"gray","italic":false},{"text":"M","color":"dark_purple","italic":false},{"text":"][_]","color":"gray","italic":false}]','{"text":" "}','{"text":"          R = Ruby","color":"red","italic":false}','{"text":"          M = Magic Rod","color":"dark_purple","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}']}}

# Sapphire Hoe #
execute if block ~ ~ ~ trapped_chest{Items:[{Slot:14b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:14b,tag:{nl_WriteRecipe:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_14
execute unless block ~ ~ ~ trapped_chest{Items:[{Slot:14b}]} run replaceitem block ~ ~ ~ container.14 minecraft:diamond_hoe{HideFlags:2,CustomModelData:1412006,nl_WriteRecipe:1b,nl_ItemID:46b,display:{Name:'{"text":"Sapphire Hoe","color":"blue","italic":false}',Lore:['[{"text":"Rarity: [","color":"gray","italic":false},{"text":"✯✯✯","color":"gold","italic":false},{"text":"] ","color":"gray"},{"text":"❖","color":"blue","italic":false}]','{"text":" "}','{"text":"    ⚔ Weapon Statistics ⚔     ","color":"gray","italic":false,"underlined":true}','{"text":" "}','{"text":"     10 Attack Damage","color":"gold","italic":false}','{"text":"     4 Attack Speed","color":"gold","italic":false}','{"text":" "}','{"text":"     ⚒ Crafting Recipe ⚒      ","color":"dark_aqua","italic":false,"underlined":true}','{"text":" "}','[{"text":"           [_][","color":"gray","italic":false},{"text":"S","color":"blue","italic":false},{"text":"][","color":"gray","italic":false},{"text":"S","color":"blue","italic":false},{"text":"]","color":"gray","italic":false}]','[{"text":"           [_][","color":"gray","italic":false},{"text":"M","color":"dark_purple","italic":false},{"text":"][_]","color":"gray","italic":false}]','[{"text":"           [_][","color":"gray","italic":false},{"text":"M","color":"dark_purple","italic":false},{"text":"][_]","color":"gray","italic":false}]','{"text":" "}','{"text":"          S = Sapphire","color":"blue","italic":false}','{"text":"          M = Magic Rod","color":"dark_purple","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}']}}

# Turn Page # 
#execute if block ~ ~ ~ trapped_chest{Items:[{Slot:23b}]} unless block ~ ~ ~ trapped_chest{Items:[{Slot:23b,tag:{nl_WriteRecipe:1b}}]} run function next_level:custom_blocks/global/spit_out/slot_23
#execute unless block ~ ~ ~ trapped_chest{Items:[{Slot:23b}]} run replaceitem block ~ ~ ~ container.23 minecraft:book{HideFlags:2,CustomModelData:1412001,nl_WriteRecipe:1b,nl_TurnPage:1b,display:{Name:'{"text":"Click to Turn the Page.","color":"green","italic":false}'}}

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


