gamerule sendCommandFeedback false

tellraw @p ["",{"text":"Difficulty has been changed to Hard(aka the real way to play SUHC). This resets any override commands(see command '/function minecraft:overridechecksettings' for details) you may have used to change certain features of SUHC to be the default for hard mode, you will have to set them again if you changed them. ","color":"dark_aqua"},{"text":"(Hover here for difficulty change notes)","color":"gold","hoverEvent":{"action":"show_text","value":["",{"text":"In Hard difficulty, all aspects of the datapack are enabled. One life, no passive health regeneration. No punch will be held back, you are at the mercy of the game.","color":"red"}]}}]
execute in overworld run data modify block 999976 124 999978 Command set value "function zzzzdonotuse:1tick/main"
execute in overworld run data modify block 999977 125 999980 Command set value "execute as @e[type=armor_stand,name=DayQ] run function zzzzdonotuse:daytimer/daytimermain"
gamerule naturalRegeneration false
gamerule keepInventory true

tag @s add HardMode
tag @s remove NormalMode
tag @s remove EasyMode
tag @s remove StructuresMode
tag @e[type=!player,tag=K] remove K
tag @e[type=!player,tag=GKQMARK] remove GKQMARK
tag @e[tag=GKNameTag] remove GKNameTag
tag @e[name=KyuAreaBlocks] remove KyuMeteor
tag @e[name=KyuAreaBlocks] add KyuMeteor

tag @s remove NoGriefer
tag @s remove NoMetStorm
tag @s remove NoHardcore
tag @s remove NoBurrow
tag @s remove NoSlowerProg
tag @s remove SlowRegenKyu
tag @s remove NoSpecBlind
execute as @s run execute in overworld run data merge block 999979 180 999975 {Command:"execute if entity @a[tag=DeadKyu,gamemode=spectator] run function zzzzdonotuse:misc/spectatortp"}
difficulty hard

tag @s remove EasyModeRain
tag @s remove NormalModeRain
tag @s add HardModeRain

#data merge block 999976 122 999979 {Command:"scoreboard players add @e[distance=..85,name=DayQ] DayQ 1"}
setblock 999971 188 999971 command_block[facing=up]{auto:1b,Command:"gamerule sendCommandFeedback true",TrackOutput:0} destroy
