scoreboard players set #DayQ DQT 0


kill @e[type=armor_stand,name=OreL]
execute at @s run summon armor_stand ~ ~ ~ {CustomName:"\"OreL\"",Invisible:1b,Silent:1b}
#kill @e[type=armor_stand,name=Temp]
#execute at @s run summon armor_stand ~ ~ ~ {CustomName:"\"Temp\"",NoGravity:1,Invisible:1b,Silent:1b}
execute at @a if block ~ 127 ~ air run fill ~-35 -64 ~-35 ~35 -64 ~35 orange_concrete replace bedrock

scoreboard players enable @a KyuSpells
give @a[scores={CobbleGen=1}] minecraft:cobblestone 1
give @a[scores={GlassGen=1}] minecraft:glass 2

tag @a remove KyuLavaCharm
tag @a remove KyuPI
tag @a remove KyuXpTrink
tag @a[predicate=suhc:wearingankhshield] add KyuPI
tag @a[predicate=suhc:wearinglavaboots] add KyuLavaCharm
execute as @a[nbt={Inventory:[{tag:{kyutrinket:1b}}]}] run function zzzzdonotuse:trinketeffect/maintrinkets

execute as @a[predicate=suhc:wearingbunhead] run function zzzzdonotuse:misc/bunhead
effect give @a[predicate=suhc:wearingfoodhelmet] saturation 1 1
effect give @a[predicate=suhc:wearinginvisboots] invisibility 19 19
execute at @a[predicate=suhc:wearingtorchpants] run fill ^1 ^ ^ ^1 ^ ^ torch replace #suhc:airs

#kill @e[name=OreL3]
#execute at @a run summon armor_stand ~ 1 ~ {CustomName:"\"OreL3\"",NoGravity:1b,Invisible:1b,Silent:1b,Invulnerable:1,Marker:1b}

kill @e[type=armor_stand,name=OreL3]
summon armor_stand ~ ~ ~ {CustomName:"\"OreL3\"",NoGravity:1b,Invisible:1,Invulnerable:1,Marker:1b}
scoreboard players set @e[type=armor_stand,name=OreL3] ChunkCheckKyu 16


scoreboard players add @s KyuBedrock 1
execute as @s[scores={KyuBedrock=8..}] run function zzzzdonotuse:minutetimer/mainstructuresonly



#execute as @a[tag=DuskDraught,predicate=suhc:onsurface] run function zzzzdonotuse:7sec/duskdraughteffect



execute as @e[type=minecraft:armor_stand,tag=RepGoldKyu] run function zzzzdonotuse:misc/replacegoldblock2


data merge block 999977 210 999976 {auto:1b}
data merge block 999977 210 999978 {auto:1b}