Command Block Tutorial #105: Armor Block Commands in Minecraft (1.16+)
In this video I will show how to make it so that when a player or other entity steps on a certain block, they will be equipped with a specific armor set.
Commands:
* Iron Armor:
1. Repeater Command Block: /execute as @e run execute at @s if block ~ ~-1 ~ minecraft:iron_block run replaceitem entity @s armor.feet minecraft:iron_boots
2. Repeater Command Block: /execute as @e run execute at @s if block ~ ~-1 ~ minecraft:iron_block run replaceitem entity @s armor.legs minecraft:iron_leggings
3. Repeater Command Block: /execute as @e run execute at @s if block ~ ~-1 ~ minecraft:iron_block run replaceitem entity @s armor.chest minecraft:iron_chestplate
4. Repeater Command Block: /execute as @e run execute at @s if block ~ ~-1 ~ minecraft:iron_block run replaceitem entity @s armor.head minecraft:iron_helmet
* Diamond Armor:
1. Repeater Command Block: /execute as @e run execute at @s if block ~ ~-1 ~ minecraft:diamond_block run replaceitem entity @s armor.feet minecraft:diamond_boots
2. Repeater Command Block: /execute as @e run execute at @s if block ~ ~-1 ~ minecraft:diamond_block run replaceitem entity @s armor.legs minecraft:diamond_leggings
3. Repeater Command Block: /execute as @e run execute at @s if block ~ ~-1 ~ minecraft:diamond_block run replaceitem entity @s armor.chest minecraft:diamond_chestplate
4. Repeater Command Block: /execute as @e run execute at @s if block ~ ~-1 ~ minecraft:diamond_block run replaceitem entity @s armor.head minecraft:diamond_helmet
* Netherite Armor:
1. Repeater Command Block: /execute as @e run execute at @s if block ~ ~-1 ~ minecraft:netherite_block run replaceitem entity @s armor.feet minecraft:netherite_boots
2. Repeater Command Block: /execute as @e run execute at @s if block ~ ~-1 ~ minecraft:netherite_block run replaceitem entity @s armor.legs minecraft:netherite_leggings
3. Repeater Command Block: /execute as @e run execute at @s if block ~ ~-1 ~ minecraft:netherite_block run replaceitem entity @s armor.chest minecraft:netherite_chestplate
4. Repeater Command Block: /execute as @e run execute at @s if block ~ ~-1 ~ minecraft:netherite_block run replaceitem entity @s armor.head minecraft:netherite_helmet
* Removing Armor:
1. Repeater Command Block: /execute as @e run execute at @s if block ~ ~-1 ~ minecraft:red_concrete run replaceitem entity @s armor.feet minecraft:air
2. Repeater Command Block: /execute as @e run execute at @s if block ~ ~-1 ~ minecraft:red_concrete run replaceitem entity @s armor.legs minecraft:air
3. Repeater Command Block: /execute as @e run execute at @s if block ~ ~-1 ~ minecraft:red_concrete run replaceitem entity @s armor.chest minecraft:air
4. Repeater Command Block: /execute as @e run execute at @s if block ~ ~-1 ~ minecraft:red_concrete run replaceitem entity @s armor.head minecraft:air
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.