Command Block Tutorial #142: Potion Ore Commands in Minecraft (1.18+)
In this video I will show how to give yourself some potion (some good and bad) after mining certain ores that you find, along with the normal valuables you get from the ores.
Commands:
Example (Copper Ore):
* Copper Ore Scoreboard Command:
To Add: /scoreboard objectives add Copper_Broken minecraft.mined:minecraft.copper_ore
To Remove: /scoreboard objectives remove Copper_Broken
1. Repeater Command Block: /execute as @r at @s if entity @s[scores={Copper_Broken=1..}]
2. Chain Command Block: /effect give RedstoneKnightX minecraft:fire_resistance 25 1 true
3. Chain Command Block: /scoreboard players reset @a Copper_Broken
Music:
1. Gaming Sound FX:
* Monkeys Spinning Monkeys (Kevin MacLeod) - Gaming Background Music (HD):
https://www.youtube.com/watch?v=pr42azVZi3o
Other Videos By RedstoneKnightX
Other Statistics
Minecraft Statistics For RedstoneKnightX
RedstoneKnightX presently has 1,527,317 views for Minecraft across 384 videos, with His channel uploaded over 2 days worth of Minecraft videos. This is 85.45% of the total watchable video on RedstoneKnightX's YouTube channel.