Command Block Tutorial

Опубликовано: 18 Май 2026
на канале: RedstoneKnightX
1,055
29

In this video I will show you how to give a special helmet that not only let's blend in with other Piglin Brutes, you also get the strength of one as well.

Previous Disguise Video:    • Command Block Tutorial #116: Phantom Disgu...  

Commands:

To get the Piglin Brute Helmet: /give @p minecraft:player_head{display:{Name:"{\"text\":\"Piglin Brute Disguise Helmet\"}"},SkullOwner:{Id:[I;-1495583819,509627582,-1550874603,2046378806],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvM2UzMDBlOTAyNzM0OWM0OTA3NDk3NDM4YmFjMjllM2E0Yzg3YTg0OGM1MGIzNGMyMTI0MjcyN2I1N2Y0ZTFjZiJ9fX0="}]}}} 1

1. Repeater Command Block: /execute as @a[nbt={Inventory:[{Slot:103b,id:"minecraft:player_head",tag:{display:{Name:"{\"text\":\"Piglin Brute Disguise Helmet\"}"}}}]}] run effect give @s minecraft:resistance 1 2 true

2. Repeater Command Block: /execute as @a[nbt={Inventory:[{Slot:103b,id:"minecraft:player_head",tag:{display:{Name:"{\"text\":\"Piglin Brute Disguise Helmet\"}"}}}]}] run item replace entity @p hotbar.0 with minecraft:golden_axe{Unbreakable:1b,Enchantments:[{id:sharpness,lvl:6},{id:knockback,lvl:3}],display:{Name:"{\"text\":\"Piglin Brute's Axe\"}"}}

3. Repeater Command Block: /execute as @a[nbt={Inventory:[{Slot:103b,id:"minecraft:player_head",tag:{display:{Name:"{\"text\":\"Piglin Brute Disguise Helmet\"}"}}}]}] run item replace entity @p armor.chest with minecraft:leather_chestplate{Unbreakable:1b,Enchantments:[{id:protection,lvl:20,}],display:{Name:"\"Piglin Brute Chestplate\"",color:1909306}}

4. Repeater Command Block: /execute as @a[nbt={Inventory:[{Slot:103b,id:"minecraft:player_head",tag:{display:{Name:"{\"text\":\"Piglin Brute Disguise Helmet\"}"}}}]}] run item replace entity @p armor.legs with minecraft:leather_leggings{Unbreakable:1b,Enchantments:[{id:protection,lvl:20,}],display:{Name:"\"Piglin Brute Leggings\"",color:1909306}}

5. Repeater Command Block: /execute as @a[nbt={Inventory:[{Slot:103b,id:"minecraft:player_head",tag:{display:{Name:"{\"text\":\"Piglin Brute Disguise Helmet\"}"}}}]}] run team add Piglin_Brute

6. Repeater Command Block: /execute as @a[nbt={Inventory:[{Slot:103b,id:"minecraft:player_head",tag:{display:{Name:"{\"text\":\"Piglin Brute Disguise Helmet\"}"}}}]}] run team join Piglin_Brute @e[type=minecraft:piglin_brute]

7. Repeater Command Block: /execute as @a[nbt={Inventory:[{Slot:103b,id:"minecraft:player_head",tag:{display:{Name:"{\"text\":\"Piglin Brute Disguise Helmet\"}"}}}]}] run team join Piglin_Brute @e[type=minecraft:piglin]

8. Repeater Command Block: /execute as @a[nbt={Inventory:[{Slot:103b,id:"minecraft:player_head",tag:{display:{Name:"{\"text\":\"Piglin Brute Disguise Helmet\"}"}}}]}] run team join Piglin_Brute

9. Repeater Command Block: /execute as @a[nbt=!{Inventory:[{Slot:103b}]}] run team remove Piglin_Brute

10. Repeater Command Block: /execute as @a[nbt=!{Inventory:[{Slot:103b}]}] run clear @p minecraft:leather_chestplate{Unbreakable:1b,Enchantments:[{id:protection,lvl:20,}],display:{Name:"\"Piglin Brute Chestplate\"",color:1909306}}

11. Repeater Command Block: /execute as @a[nbt=!{Inventory:[{Slot:103b}]}] run clear @p minecraft:leather_leggings{Unbreakable:1b,Enchantments:[{id:protection,lvl:20,}],display:{Name:"\"Piglin Brute Leggings\"",color:1909306}}

12. Repeater Command Block: /execute as @a[nbt=!{Inventory:[{Slot:103b}]}] run clear @p minecraft:golden_axe{Unbreakable:1b,Enchantments:[{id:sharpness,lvl:6},{id:knockback,lvl:3}],display:{Name:"{\"text\":\"Piglin Brute's Axe\"}"}}

Music:

1. Gaming Sound FX:

Monkeys Spinning Monkeys (Kevin MacLeod) - Gaming Background Music (HD):
https://www.youtube.com/watch?v=pr42a...