tag @s remove mining
clear @s golden_pickaxe
scoreboard players reset @s miner.coal_ore.count
scoreboard players reset @s miner.iron_ore.count
scoreboard players reset @s miner.copper_ore.count
scoreboard players reset @s miner.gold_ore.count
scoreboard players reset @s miner.lapis_ore.count
scoreboard players reset @s miner.redstone_ore.count
scoreboard players reset @s miner.emerald_ore.count
scoreboard players reset @s miner.diamond_ore.count
scoreboard players reset @s miner.nether_quartz_ore.count
scoreboard players reset @s miner.amethyst_block.count
scoreboard players reset @s miner.ancient_debris.count
scoreboard players reset @s miner.prismarine.count
scoreboard players reset @s miner.collectedore
tellraw @s {"translate":"miner.lostores","color":"red"}