Command Block Tutorial

Опубликовано: 16 Март 2026
на канале: RedstoneKnightX
13,283
126

In this video I will show you how to give yourself 4 different OP maces that can be used for different kinds of combat situations based around the 3 new enchantments exclusive to the mace, as well as a Mace with all 3 at once.

Commands:

To give yourself the different OP Maces:

Heavy Slam Mace: /give @p mace[custom_name='{"italic":false,"text":"Heavy Slam Mace"}',unbreakable={},enchantments={levels:{"minecraft:density":10}}] 1

Strong Wind Mace: /give @p mace[custom_name='{"italic":false,"text":"Strong Wind Mace"}',unbreakable={},enchantments={levels:{"minecraft:wind_burst":10}}] 1

Armor Buster Mace: /give @p mace[custom_name='{"italic":false,"text":"Armor Buster Mace"}',unbreakable={},enchantments={levels:{"minecraft:breach":10}}] 1

Ultimate Mace: /give @p mace[custom_name='{"italic":false,"text":"Ultimate Mace"}',unbreakable={},enchantments={levels:{"minecraft:breach":10,"minecraft:density":10,"minecraft:wind_burst":5}}] 1

To activate the OP Maces (The first 3):

Heavy Slam Mace: /execute at @a[nbt={SelectedItem:{id:"minecraft:mace",count:1,components:{"minecraft:custom_name":'{"italic":false,"text":"Heavy Slam Mace"}',"minecraft:unbreakable":{},"minecraft:enchantments":{levels:{"minecraft:density":10}}}}}] run effect give @p minecraft:jump_boost 1 5 true

Strong Wind Mace: /execute at @a[nbt={SelectedItem:{id:"minecraft:mace",count:1,components:{"minecraft:custom_name":'{"italic":false,"text":"Strong Wind Mace"}',"minecraft:unbreakable":{},"minecraft:enchantments":{levels:{"minecraft:wind_burst":10}}}}}] run effect give @p minecraft:jump_boost 1 4 true

Armor Buster Mace: /execute at @a[nbt={SelectedItem:{id:"minecraft:mace",count:1,components:{"minecraft:custom_name":'{"italic":false,"text":"Armor Buster Mace"}',"minecraft:unbreakable":{},"minecraft:enchantments":{levels:{"minecraft:breach":10}}}}}] run effect give @p minecraft:jump_boost 1 6 true

Scoreboard Commands for the Ultimate Mace (To add and remove):

/scoreboard objectives add Mace_Sneak_Landing minecraft.custom:minecraft.sneak_time

/scoreboard objectives remove Mace_Sneak_Landing

To activate the Ultimate Mace:

1. Repeater Command Block: /execute at @a[nbt={SelectedItem:{id:"minecraft:mace",count:1,components:{"minecraft:custom_name":'{"italic":false,"text":"Ultimate Mace"}',"minecraft:unbreakable":{},"minecraft:enchantments":{levels:{"minecraft:breach":10,"minecraft:density":10,"minecraft:wind_burst":5}}}}}] run effect give @p minecraft:jump_boost 1 7 true

2. Repeater Command Block: /execute at @a[nbt={SelectedItem:{id:"minecraft:mace",count:1,components:{"minecraft:custom_name":'{"italic":false,"text":"Ultimate Mace"}',"minecraft:unbreakable":{},"minecraft:enchantments":{levels:{"minecraft:breach":10,"minecraft:density":10,"minecraft:wind_burst":5}}}}}] run execute as @r at @s if entity @s[scores={Mace_Sneak_Landing=1..}]

3. Chain Command Block: /execute at @p run execute as @r at @s if block ~ ~-2 ~ minecraft:air run effect give @s minecraft:resistance 1 5 true

4. Chain Command Block (Unconditional): /scoreboard players reset @a Mace_Sneak_Landing

Music:

1. Gaming Sound FX:

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