r/MinecraftCommands • Command Experienced • Jun 11 '22

Tutorial | Java Warden's Sonic Boom *TUTORIAL!!!*

187 Upvotes

27 comments sorted by

7

u/ParanormalGhozt Command Experienced Jun 11 '22

REPEATING:/execute if entity .@e[nbt={SelectedItem:{tag:{CustomTag:"Railgun"}}}]

Comparator

IMPULSE:/execute at .@e[nbt={SelectedItem:{tag:{CustomTag:"Railgun"}}}] run playsound minecraft:entity.warden.sonic_charge master .@e[distance=..40] ~ ~ ~ 100

Repeaters of 18 delays

IMPULSE:/execute at .@e[nbt={SelectedItem:{tag:{CustomTag:"Railgun"}}}] run particle minecraft:sonic_boom ^ ^1 ^1 0.2 0.2 0.2 0 10 force

(The following commands are chains)

/execute at .@e[nbt={SelectedItem:{tag:{CustomTag:"Railgun"}}}] run particle minecraft:sonic_boom ^ ^1 ^2 0.2 0.2 0.2 0 10 force
(change the 2nd "^" to any number (Up until 10 is 10 blocks, set it to how long you want)

/execute at .@e[nbt={SelectedItem:{tag:{CustomTag:"Railgun"}}}] positioned ^ ^1 ^2 run effect give .@e[distance=..1,type=!minecraft:zombie,type=!#minecraft:skeletons] minecraft:instant_damage 1 2 true

(again, set the 2nd "^" to the same number as the particles range, also add more types of undead, make a new one that gives all undead types instant health 2 instead)

/execute at .@e[nbt={SelectedItem:{tag:{CustomTag:"Railgun"}}}] run playsound minecraft:entity.dragon_fireball.explode master .@e[distance=..40] ~ ~ ~ 100

/execute at .@e[nbt={SelectedItem:{tag:{CustomTag:"Railgun"}}}] run playsound minecraft:entity.warden.sonic_boom master .@e[distance=..40] ~ ~ ~ 100

Notes:

  • 1 shots any player, damage may be affected based on the player's current effects
  • 5 shots to kill an Iron Golem and Ravager
  • Approx 22 shots to kill a Warden

TL;DR

It shows particles in front of a player and the player damages anyone its looking at with effects while destroying blocks.

4

u/Dragomirl Jun 11 '22

I’m kind of disappointed that it’s not a right click thing but oh wel lol

2

u/ParanormalGhozt Command Experienced Jun 11 '22

Me either, once I find out how to make a right-click version it will be awesome

2

u/ImACrabDude Jun 11 '22

you can detect right clicks with a carrot on a stick

2

u/ParanormalGhozt Command Experienced Jul 05 '22

WORLD FILE IS OUT!!! Steps: Click the link, download the ZIP file, uncompress it, press Windows + R, type %appdata%, go to .minecrafts and saves, move the file to the saves. Enjoy !

https://www.planetminecraft.com/project/warden-sonic-boom-command-blocks/

2

u/Healthy_Temporary_44 Jun 11 '22

Can we get world download, I'm too lazy to do this?

3

u/ParanormalGhozt Command Experienced Jun 11 '22

Sure ill try doing it in a website after i take my really long nap

2

u/The_Rapture345 Jun 14 '22

and then he never returned

2

u/ParanormalGhozt Command Experienced Jun 14 '22

i still dont know how to upload a world because its complicated lol

1

u/Healthy_Temporary_44 Jun 15 '22

Make copy of your world file, zip it, upload to media fire and send link

1

u/ParanormalGhozt Command Experienced Jul 05 '22

It has been done, check the new comment i made on the post!

1

u/FlamingMoai Jul 02 '22

go into your saves in .minecraft, then zip the world and upload it to planet minecraft. Please do because this is so cool and i would love to use it in a video.

1

u/ParanormalGhozt Command Experienced Jul 05 '22

sorry for the late reply, but will do soon!

1

u/Healthy_Temporary_44 Jun 11 '22

Thx ill check back tommorow

1

u/the__Big__Ginge Jun 25 '22

Hey Im on 1.19 and im trying to implement this into my world but for some reason it's not working, please could i have some help?
p.s this is really cool and just want to say keep up the amazing work!

1

u/ParanormalGhozt Command Experienced Jun 25 '22

are you copying the commands? type /give @s <item>{CustomTag:"Railgun"} to give the sonic boom item. Holding it in ur mainhand activates it Be careful because you might shoot it by accident when you give yourself the item and destroy stuff you don't want to destroy

1

u/the__Big__Ginge Jun 25 '22

I think i figured it out, i was trying to add a carrot on a stick detector at the same time for a right click trigger, and was mistaking different tags, although now for some reason its not destroying blocks

1

u/Adventurous_Body_571 Jul 15 '22

Why it dont work on zombies? i shooting on them and nothing

1

u/ParanormalGhozt Command Experienced Jul 15 '22

It's cause it's an instant damage effect, which is healing undead mobs. I forgot to tell everyone that, sorry. You can however make the target selector not target zombies and skeletons and instead make another chain command for them with instant healing instead

1

u/[deleted] Jun 12 '22

This would probably work better as a datapack. You could also make a block tag so it only destroys certain blocks

1

u/Toni300096 Jun 22 '22

pretty sure datapacks don't use commands. Of course it can be done, possibly better, with datapacks or plugins, but here he made it will command blocks.

1

u/DuckMasterYT Tries to avoid comparators. Decent at . Jun 23 '22

functions

1

u/IranFire Jun 28 '22

it would be great to transform this into a datapack that let's you fire a sonic boom consuming a shard (i think it should be a little weaker tho), it would also give a reasone to explore more ancient cities to find the shards, since for the loot they have you basically need to visit one and get everything with no real reasons to find loot others aside for god apples

1

u/DD_Screet Aug 09 '22

What’s the command to get the rail gun shard the one you commented doesn’t seem to work for me