function zzzzdonotuse:halfsec/dayspecificstuff

execute as @a[tag=K,nbt={Inventory:[{id:"minecraft:suspicious_stew",tag:{effects:[{id:"minecraft:regeneration"}]}}]}] run function zzzzdonotuse:halfsec/tfwnosoup

execute if entity @a[tag=DeadKyu,gamemode=spectator] run function zzzzdonotuse:misc/spectatorstuff

execute as @a[tag=K,nbt={SelectedItem:{id:"minecraft:paper",tag:{Enchantments:[{}]}}},tag=!SpellUpdate] run function zzzzdonotuse:spell/consumepagemain
scoreboard players enable @a[tag=K] KyuSpells
tag @a[tag=K,tag=SpellUpdate,tag=SpellUpdateRemove] remove SpellUpdate
tag @a[tag=K,tag=SpellUpdateRemove] remove SpellUpdateRemove





#execute in overworld run data merge block 999978 158 999975 {auto:1b}


#really only does the stripmine timer
execute in overworld run data merge block 999979 159 999975 {auto:1b}

#keep this in a phys block
#gamemode spectator @a[tag=K,scores={KyuDeath=1..},gamemode=!spectator]