Command Block Tutorial #70: Infinite Totem Commands in Minecraft (1.16+)
In this video i will show how get yourself a special totem that can duplicate itself every time you attack mob, leaving you with an infinite supply of totems of undying.
Commands:
* Scoreboard Commands:
1. Impuise Command Block/Chat: /scoreboard objectives add playerHit minecraft.custom:minecraft.damage_dealt
2. Impuise Command Block/Chat: /scoreboard players add @a playerHit 1
* Command to get the Totem: /give @p minecraft:totem_of_undying{display:{Name:"[{\"text\":\"The Infinity Totem\",\"color\":\"gold\",\"bold\":true}]",Lore:["{\"text\":\"Slay for Infinite Totems\",\"color\":\"gray\",\"italic\":false}"]},HideFlags:7,Enchantments:[{id:sharpness,lvl:15}]}
1. Repeating Command Block: /execute at @a[nbt={SelectedItem:{id:"minecraft:totem_of_undying",Count:1b,tag:{display:{Name:"[{\"text\":\"The Infinity Totem\",\"color\":\"gold\",\"bold\":true}]",Lore:["{\"text\":\"Slay for Infinite Totems\",\"color\":\"gray\",\"italic\":false}"]}}}}] run execute at @a[scores={playerHit=1..}] run execute at @e[nbt={HurtTime:10s}] run execute at @a[scores={playerHit=1..}] run execute at @a[scores={playerHit=1..}] run give @p minecraft:totem_of_undying{display:{Name:"[{\"text\":\"The Infinity Totem\",\"color\":\"gold\",\"bold\":true}]",Lore:["{\"text\":\"Slay for Infinite Totems\",\"color\":\"gray\",\"italic\":false}"]},HideFlags:7,Enchantments:[{id:sharpness,lvl:15}]}
2. Chain Command Block: /scoreboard players reset @a[scores={playerHit=1..}] playerHit
Music:
1. Gaming Sound FX:
* Monkeys Spinning Monkeys (Kevin MacLeod) - Gaming Background Music (HD):
https://www.youtube.com/watch?v=pr42a...
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.