2

Creeper Megabombs

-fish 1/26/21 12:13 am
241
1/26/2021 3:33 pm
So, very simple thing, I just want it so every creeper spawns as if it spawned from this command: /summon minecraft:creeper ~ ~ ~ {powered:1,ExplosionRadius:30,Fuse:1}


So basically, I'm making a troll difficulty for me and my friend to complete.
Anyone know how to do this? It's probably possible with /data, right?
Posted by
-fish
Level 44 : Master Fish
16

  Have something to say?

JoinSign in

9

Treee_
01/26/2021 7:44 am
Level 24 : Expert Procrastinator
B O O M
2
2mal3
01/26/2021 6:43 am
Level 68 : High Grandmaster System
Almost right. You can simply type in a repeat commandblock or normal commanblock at a clock the command: /execute as @e[type=minecraft:creeper] run data merge entity @s {ExplosionRadius:30,Fuse:0}
3
-fish
01/26/2021 3:19 pm
Level 44 : Master Fish
Thank you! I'll try this after my class.
1
Bertiecrafter
01/26/2021 7:41 am
Level 72 : Legendary System
To improve efficiency you can do this:
/execute as @e[type=minecraft:creeper,tag=!big_boom] run data merge entity @s {ExplosionRadius:30,Fuse:0}
/tag @e[type=minecraft:creeper,tag=!big_boom] add big_boom
So that it will only do a /data command when it hasn't done it already for each creeper.
2
2mal3
01/26/2021 8:06 am
Level 68 : High Grandmaster System
Does it really matter? As soon as the fuse of the creeper is set to zero, it explodes at the next tick, so that it is not processed again by the command.
2
Bertiecrafter
01/26/2021 8:19 am
Level 72 : Legendary System
history
Only when a player is near right? So you'll be re-running the data command for all creepers not in range without the tag command. And if it does insta-explode, I don't think that's what JGreyK wanted.
2
2mal3
01/26/2021 9:04 am
Level 68 : High Grandmaster System
If that's what he meant, you're right.
2
-fish
01/26/2021 3:20 pm
Level 44 : Master Fish
I just wanted all creepers to turn into the megaboom one
1

Welcome