execute at @n[tag=mineable,nbt={HurtTime:10s}] run playsound minecraft:block.stone.break block @a ~ ~1.5 ~
execute at @e[tag=mineable,nbt={HurtTime:10s},tag=cave] anchored eyes run particle block{block_state:{Name:cobblestone}} ~ ~ ~ .1 .1 .1 0 30
execute at @e[tag=mineable,nbt={HurtTime:10s},tag=deep] anchored eyes run particle block{block_state:{Name:cobbled_deepslate}} ~ ~ ~ .1 .1 .1 0 30
execute at @e[tag=mineable,nbt={HurtTime:10s},tag=sand] anchored eyes run particle block{block_state:{Name:sand}} ~ ~ ~ .1 .1 .1 0 30
execute at @e[tag=mineable,nbt={HurtTime:10s},tag=crys] anchored eyes run particle block{block_state:{Name:amethyst_block}} ~ ~ ~ .1 .1 .1 0 30
execute at @e[tag=mineable,nbt={HurtTime:10s},tag=water] anchored eyes run particle block{block_state:{Name:prismarine}} ~ ~ ~ .1 .1 .1 0 30
execute at @e[tag=mineable,nbt={HurtTime:10s},tag=evocrys] anchored eyes run particle totem_of_undying ~ ~ ~ .1 .1 .1 .3 10
execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=5},tag=evocrys] run particle block{block_state:{Name:emerald_block}} ~ ~.9 ~ .1 .1 .1 .3 10

execute as @e[tag=mineable,nbt={HurtTime:10s},limit=1] run scoreboard players add @s hardmode 1
execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=2},tag=deep] run item replace entity @s armor.head with cobbled_deepslate
execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=2},tag=cave] run item replace entity @s armor.head with cobblestone
execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=2},tag=sand] run item replace entity @s armor.head with sandstone
execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=2},tag=crys] run item replace entity @s armor.head with large_amethyst_bud
execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=2},tag=water] run item replace entity @s armor.head with prismarine
execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=2}] run attribute @s movement_speed base set .23
execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=2}] run attribute @s knockback_resistance base set .7
#execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=2},tag=end] run item replace entity @s armor.head with purpur_block

execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=5},tag=evocrys] run scoreboard players set @s hardmode 12
execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=4},tag=deep] run item replace entity @s armor.head with cobbled_deepslate_stairs
execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=4},tag=cave] run item replace entity @s armor.head with cobblestone_stairs
execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=4},tag=sand] run item replace entity @s armor.head with sandstone_stairs
execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=4},tag=crys] run item replace entity @s armor.head with medium_amethyst_bud
execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=4},tag=water] run item replace entity @s armor.head with prismarine_stairs
execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=4}] run attribute @s movement_speed base set .26
execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=4}] run attribute @s knockback_resistance base set .6
#execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=4},tag=end] run item replace entity @s armor.head with purpur_stairs

execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=6},tag=deep] run item replace entity @s armor.head with cobbled_deepslate_slab
execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=6},tag=cave] run item replace entity @s armor.head with cobblestone_slab
execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=6},tag=sand] run item replace entity @s armor.head with sandstone_slab
execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=6},tag=crys] run item replace entity @s armor.head with small_amethyst_bud
execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=6},tag=water] run item replace entity @s armor.head with prismarine_slab
execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=6}] run attribute @s movement_speed base set .29
execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=6}] run attribute @s knockback_resistance base set .5
#execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=6},tag=end] run item replace entity @s armor.head with purpur_slab

execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=8}] run item replace entity @s armor.head with air
execute at @n[tag=mineable,nbt={HurtTime:10s},scores={hardmode=8}] anchored eyes run playsound minecraft:entity.item.break neutral @a ~ ~ ~ .8 .8
execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=8}] run attribute @s minecraft:armor base set -2
execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=8}] run attribute @s minecraft:armor_toughness base set 0
execute as @e[tag=mineable,nbt={HurtTime:10s},scores={hardmode=8}] run tag @s remove mineable
advancement revoke @s only survivalplus:tools/minepick
advancement revoke @s only survivalplus:tools/minehurt