Back to Browse

Command Block Tutorial #312: OP Spear Commands in Minecraft (1.21.11+)

2.2K views
Jan 31, 2026
19:27

In this video I will show you how to give yourself 4 different OP spears that can be used for different kinds of combat situations, especially around the two different attacks you can do with the spear, which are jab attacks and charge attacks, and some of them are based around the new enchantment exclusive to the spear. There is also a spear that works very well with both types of attacks. Commands: * To give yourself the different OP Spears: - Quick Stab Spear: /give @p wooden_spear[custom_name={"italic":false,"text":"Quick Stab Spear"},enchantments={"knockback":2,"sharpness":20},unbreakable={}] 1 - Flaming Speed Spear: /give @p copper_spear[custom_name={"italic":false,"text":"Flaming Speed Spear"},enchantments={"fire_aspect":5,"knockback":1,"sharpness":3},unbreakable={}] 1 - Long Jump Spear: /give @p diamond_spear[custom_name={"italic":false,"text":"Long Jump Spear"},enchantments={"lunge":5},unbreakable={}] 1 - Ultimate Spear: /give @p netherite_spear[custom_name={"italic":false,"text":"Ultimate Spear"},enchantments={"fire_aspect":2,"knockback":3,"sharpness":10,"lunge":3},unbreakable={}] 1 * To activate the Flaming Speed Spear: /execute at @p run execute if items entity @a weapon.mainhand copper_spear[custom_name={"italic":false,"text":"Flaming Speed Spear"},enchantments={"fire_aspect":5,"knockback":1,"sharpness":3},unbreakable={}] run effect give @p minecraft:speed 1 4 true * Scoreboard Commands for the Long Jump Spear (To add and remove): - /scoreboard objectives add Long_Jump_Spear food - /scoreboard objectives remove Long_Jump_Spear * To activate the Long Jump Spear: /execute at @p[scores={Long_Jump_Spear=0..17}] run execute if items entity @a weapon.mainhand diamond_spear[custom_name={"italic":false,"text":"Long Jump Spear"},enchantments={"lunge":5},unbreakable={}] run effect give @p minecraft:saturation 1 2 true * Scoreboard Commands for the Ultimate Spear (To add and remove): 1. Ultimate Spear1: - /scoreboard objectives add Ultimate_Spear1 food - /scoreboard objectives remove Ultimate_Spear1 2. Ultimate Spear2: - /scoreboard objectives add Ultimate_Spear2 minecraft.custom:minecraft.sneak_time - /scoreboard objectives remove Ultimate_Spear2 * To activate the Ultimate Spear: 1. Repeater Command Block: /execute at @p[scores={Ultimate_Spear1=0..17}] run execute if items entity @a weapon.mainhand netherite_spear[custom_name={"italic":false,"text":"Ultimate Spear"},enchantments={"fire_aspect":2,"knockback":3,"sharpness":10,"lunge":3},unbreakable={}] run effect give @p minecraft:saturation 1 2 true 2. Repeater Command Block: /execute at @p[nbt=!{active_effects:[{id:"minecraft:speed"}]}] run execute if items entity @a weapon.mainhand netherite_spear[custom_name={"italic":false,"text":"Ultimate Spear"},enchantments={"fire_aspect":2,"knockback":3,"sharpness":10,"lunge":3},unbreakable={}] run execute as @r at @s if entity @s[scores={Ultimate_Spear2=1..}] 3. Chain Command Block: /execute at @p[nbt=!{active_effects:[{id:"minecraft:speed"}]}] run effect give @p[nbt=!{active_effects:[{id:"minecraft:speed"}]}] minecraft:speed 5 9 true 4. Chain Command Block (Unconditional): /scoreboard players reset @a Ultimate_Spear2 Music: Gaming Sound FX: 1. Monkeys Spinning Monkeys (Kevin MacLeod) - Gaming Background Music (HD): https://www.youtube.com/watch?v=pr42azVZi3o 2. Hitman (Kevin McLeod) - Vanoss Gaming Background Music (HD): https://www.youtube.com/watch?v=hTIIK5Sa6mc

Download

0 formats

No download links available.

Command Block Tutorial #312: OP Spear Commands in Minecraft (1.21.11+) | NatokHD