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?
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?
Create an account or sign in to comment.
9
B O O M
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}
Thank you! I'll try this after my class.
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.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.
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.