data modify storage manic:storage root.temp.item set from entity @s item.tag.manic.tool

execute if data entity @s item.tag.manic.sigil.tag.manic{enchantment:"minecraft:bane_of_arthropods"} if data storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:bane_of_arthropods"}] store result storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:bane_of_arthropods"}].lvl short -1 run data get storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:bane_of_arthropods"}].lvl -1.0000000001
execute if data entity @s item.tag.manic.sigil.tag.manic{enchantment:"minecraft:bane_of_arthropods"} unless data storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:bane_of_arthropods"}] run data modify storage manic:storage root.temp.item.tag.Enchantments append value {id:"minecraft:bane_of_arthropods",lvl:1s}

execute if data entity @s item.tag.manic.sigil.tag.manic{enchantment:"minecraft:efficiency"} if data storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:efficiency"}] store result storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:efficiency"}].lvl short -1 run data get storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:efficiency"}].lvl -1.0000000001
execute if data entity @s item.tag.manic.sigil.tag.manic{enchantment:"minecraft:efficiency"} unless data storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:efficiency"}] run data modify storage manic:storage root.temp.item.tag.Enchantments append value {id:"minecraft:efficiency",lvl:1s}

execute if data entity @s item.tag.manic.sigil.tag.manic{enchantment:"minecraft:fire_aspect"} if data storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:fire_aspect"}] store result storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:fire_aspect"}].lvl short -1 run data get storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:fire_aspect"}].lvl -1.0000000001
execute if data entity @s item.tag.manic.sigil.tag.manic{enchantment:"minecraft:fire_aspect"} unless data storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:fire_aspect"}] run data modify storage manic:storage root.temp.item.tag.Enchantments append value {id:"minecraft:fire_aspect",lvl:1s}

execute if data entity @s item.tag.manic.sigil.tag.manic{enchantment:"minecraft:fortune"} if data storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:fortune"}] store result storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:fortune"}].lvl short -1 run data get storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:fortune"}].lvl -1.0000000001
execute if data entity @s item.tag.manic.sigil.tag.manic{enchantment:"minecraft:fortune"} unless data storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:fortune"}] run data modify storage manic:storage root.temp.item.tag.Enchantments append value {id:"minecraft:fortune",lvl:1s}

execute if data entity @s item.tag.manic.sigil.tag.manic{enchantment:"minecraft:knockback"} if data storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:knockback"}] store result storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:knockback"}].lvl short -1 run data get storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:knockback"}].lvl -1.0000000001
execute if data entity @s item.tag.manic.sigil.tag.manic{enchantment:"minecraft:knockback"} unless data storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:knockback"}] run data modify storage manic:storage root.temp.item.tag.Enchantments append value {id:"minecraft:knockback",lvl:1s}

execute if data entity @s item.tag.manic.sigil.tag.manic{enchantment:"minecraft:looting"} if data storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:looting"}] store result storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:looting"}].lvl short -1 run data get storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:looting"}].lvl -1.0000000001
execute if data entity @s item.tag.manic.sigil.tag.manic{enchantment:"minecraft:looting"} unless data storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:looting"}] run data modify storage manic:storage root.temp.item.tag.Enchantments append value {id:"minecraft:looting",lvl:1s}

execute if data entity @s item.tag.manic.sigil.tag.manic{enchantment:"minecraft:power"} if data storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:power"}] store result storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:power"}].lvl short -1 run data get storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:power"}].lvl -1.0000000001
execute if data entity @s item.tag.manic.sigil.tag.manic{enchantment:"minecraft:power"} unless data storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:power"}] run data modify storage manic:storage root.temp.item.tag.Enchantments append value {id:"minecraft:power",lvl:1s}

execute if data entity @s item.tag.manic.sigil.tag.manic{enchantment:"minecraft:punch"} if data storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:punch"}] store result storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:punch"}].lvl short -1 run data get storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:punch"}].lvl -1.0000000001
execute if data entity @s item.tag.manic.sigil.tag.manic{enchantment:"minecraft:punch"} unless data storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:punch"}] run data modify storage manic:storage root.temp.item.tag.Enchantments append value {id:"minecraft:punch",lvl:1s}

execute if data entity @s item.tag.manic.sigil.tag.manic{enchantment:"minecraft:sharpness"} if data storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:sharpness"}] store result storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:sharpness"}].lvl short -1 run data get storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:sharpness"}].lvl -1.0000000001
execute if data entity @s item.tag.manic.sigil.tag.manic{enchantment:"minecraft:sharpness"} unless data storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:sharpness"}] run data modify storage manic:storage root.temp.item.tag.Enchantments append value {id:"minecraft:sharpness",lvl:1s}

execute if data entity @s item.tag.manic.sigil.tag.manic{enchantment:"minecraft:smite"} if data storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:smite"}] store result storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:smite"}].lvl short -1 run data get storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:smite"}].lvl -1.0000000001
execute if data entity @s item.tag.manic.sigil.tag.manic{enchantment:"minecraft:smite"} unless data storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:smite"}] run data modify storage manic:storage root.temp.item.tag.Enchantments append value {id:"minecraft:smite",lvl:1s}

execute if data entity @s item.tag.manic.sigil.tag.manic{enchantment:"minecraft:sweeping"} if data storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:sweeping"}] store result storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:sweeping"}].lvl short -1 run data get storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:sweeping"}].lvl -1.0000000001
execute if data entity @s item.tag.manic.sigil.tag.manic{enchantment:"minecraft:sweeping"} unless data storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:sweeping"}] run data modify storage manic:storage root.temp.item.tag.Enchantments append value {id:"minecraft:sweeping",lvl:1s}

execute if data entity @s item.tag.manic.sigil.tag.manic{enchantment:"minecraft:unbreaking"} if data storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:unbreaking"}] store result storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:unbreaking"}].lvl short -1 run data get storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:unbreaking"}].lvl -1.0000000001
execute if data entity @s item.tag.manic.sigil.tag.manic{enchantment:"minecraft:unbreaking"} unless data storage manic:storage root.temp.item.tag.Enchantments[{id:"minecraft:unbreaking"}] run data modify storage manic:storage root.temp.item.tag.Enchantments append value {id:"minecraft:unbreaking",lvl:1s}

execute if data storage manic:storage root.temp.item{id:"minecraft:netherite_sword"} positioned ^ ^ ^1 run loot spawn ~ ~1 ~ loot manic:technical/items/copy_nbt/netherite_sword
execute if data storage manic:storage root.temp.item{id:"minecraft:netherite_pickaxe"} positioned ^ ^ ^1 run loot spawn ~ ~1 ~ loot manic:technical/items/copy_nbt/netherite_pickaxe
execute if data storage manic:storage root.temp.item{id:"minecraft:netherite_axe"} positioned ^ ^ ^1 run loot spawn ~ ~1 ~ loot manic:technical/items/copy_nbt/netherite_axe
execute if data storage manic:storage root.temp.item{id:"minecraft:netherite_shovel"} positioned ^ ^ ^1 run loot spawn ~ ~1 ~ loot manic:technical/items/copy_nbt/netherite_shovel
execute if data storage manic:storage root.temp.item{id:"minecraft:netherite_hoe"} positioned ^ ^ ^1 run loot spawn ~ ~1 ~ loot manic:technical/items/copy_nbt/netherite_hoe
execute if data storage manic:storage root.temp.item{id:"minecraft:bow"} positioned ^ ^ ^1 run loot spawn ~ ~1 ~ loot manic:technical/items/copy_nbt/bow

function manic:block/grimstone_weaver/recipes/remove_slot/sigil
function manic:block/grimstone_weaver/recipes/remove_slot/tool
