Is there a command to summon a minecart that has velocity? I want to be able to summon a tnt minecart with a downwards motion one block away from the ground, so it’ll explode immediately. Is that possible in bedrock edition?
I want to be able to shoot an arrow and when it hits the ground it explodes. I can get the arrow to summon a tnt just fine, along with a tnt minecart, but neither explode immediately.
so then I started summoning a tnt minecart 4 blocks in the air. Which makes it explode when it hits the ground. But it’s still delayed.
Which is why I want to be able to make it summon one block above the ground but act as if it’s already been falling for a while.
I know it's not ideal but it SHOULD work for what you're doing. Also if the ground is dirt or grass we will want that included as a detector. You don't want this activating mid air. Let me know what you think
You should honestly use repeating command block paired with conditionals
execute @e[type=arrow] ~~~ detect ~~-1~ air <command here>
does what those two separate commands do.
Then what you should do is put a chain command block on top of it (Make sure the arrow from the first command block points at the second one and they are both facing the same direction). Set the command block to (Conditional) AND (Always Active). Then keep adding those blocks for each command after. The idea is when it detects the ground. That is then the only time you want the other commands to activate
So what I have attached is an example to hopefully help you. I don't know exactly what you're doing so it's hard to tailor it specifically to you but you should get the idea
this does particle
1. execute @e[type=arrow] ~~~ detect ~~-1~ air particle minecraft:hugeexplosion
this destroys ground
2. execute @e[type=arrow] ~~~ fill ~2~1~2 ~-2~-1~-2 air 0 destroy
The chain of command block won’t work. The dragon death explosion thing works, but even if the particle is made where the arrow is, the command block that made it, says it failed. It does the same thing when I try to just put it as a command in the chat.
I don't get what you mean. If the particle activated that means the command did work. Even if the command block output says failed, if you seen partciles, then it worked.
Please read. Do particles show up? If so the command is successful. You literally just told me it was in a repeating command block. If it's in a repeating command block and there's no arrows in the air the command is obviously failed. If you see particles but their second command is not activating there is clearly something wrong with something else in the process
You should try at least detecting dirt or grass and not air. The arrow is almost always in the air. The defining moment is when the arrow hits the ground. Your ground should be whatever material you are detecting and that's what should be the execute you command
This one is saying there’s an error at the summon arrow part. I’ve figured out everything else, and it’s all working. I realized I was being dumb. Thanks for being so helpful!
Is there a command to summon a minecart that has velocity? I want to be able to summon a tnt minecart with a downwards motion one block away from the ground, so it’ll explode immediately. Is that possible in bedrock edition?
Or, if there’s a way to shorten the fuse of tnt on bedrock edition. Because I’ve tried, and it doesn’t seem to like working.
It is not possible in Bedrock alone. What is the condition that you want a bomb to explode?
I want to be able to shoot an arrow and when it hits the ground it explodes. I can get the arrow to summon a tnt just fine, along with a tnt minecart, but neither explode immediately.
so then I started summoning a tnt minecart 4 blocks in the air. Which makes it explode when it hits the ground. But it’s still delayed.
Which is why I want to be able to make it summon one block above the ground but act as if it’s already been falling for a while.
Sorry for length
Do you want the ground to crater like with tnt I assume? In bedrock there isn't a way to tp with motion or have instant explosions as far as I know.
But I was thinking a series of commands. Ill find the commands later because I am on phone but the general idea is.
Use this first one to summon explosion effects
/execute @e[type=arrow] ~~~ particle
Next have a few fill commands that will fill random square and cube sizes around the arrow. This will destroy the earth
/execute @e[type=arrow] ~~~ fill ~2~~2 ~-2~~-2 air 0 destroy
Next we will have to inflict damage on nearby entities. Try ~~~ and ~~1~
/execute @e[type=arrow] ~~~ execute @e[r=5] summon arrow ~~1~
Finally kill the arrow
/kill @e[type=arrow]
I know it's not ideal but it SHOULD work for what you're doing. Also if the ground is dirt or grass we will want that included as a detector. You don't want this activating mid air. Let me know what you think
I’ve already got a way to make it detect when it hits the ground. It’s less commands and more redstone though.
The game is refusing to do any sort of particle effect anywhere.
I’m trying this.
/execute @e[type=arrow] ~~~ particle hugeexplosion ~~~
I’m getting this.
failed to execute ‘particle’ as arrow
am I doing something wrong?
I'm getting the same error with the fill command and the one just before the kill command. I’m gonna guess it’s not gonna work then?
/execute @e[type=arrow] ~~~ particle minecraft:hugeexplosion ~~~
put that in a repeating command block. Is grass right below it? You can try
/execute @e[type=arrow] ~~~ detect ~~-1~ grass 0 particle minecraft:hugeexplosion ~~~
The way I’m testing for it the arrow is on the ground is having a repeat command block with the command:
/execute @e[type=arrow] ~~~ /testforblock ~~- 1 ~ air
then I have a comparator running out of it and into a block with a redstone torch on it that powers an impulse command block with the command:
/execute @e[type=arrow] ~~~ (then whatever I want it to do)
I also have a separate one for killing the arrow.
it still says failed.
You should honestly use repeating command block paired with conditionals
execute @e[type=arrow] ~~~ detect ~~-1~ air <command here>
does what those two separate commands do.
Then what you should do is put a chain command block on top of it (Make sure the arrow from the first command block points at the second one and they are both facing the same direction). Set the command block to (Conditional) AND (Always Active). Then keep adding those blocks for each command after. The idea is when it detects the ground. That is then the only time you want the other commands to activate
So what I have attached is an example to hopefully help you. I don't know exactly what you're doing so it's hard to tailor it specifically to you but you should get the idea
this does particle
1. execute @e[type=arrow] ~~~ detect ~~-1~ air particle minecraft:hugeexplosion
this destroys ground
2. execute @e[type=arrow] ~~~ fill ~2~1~2 ~-2~-1~-2 air 0 destroy
this does damage to nearby entities
3. execute @e[type=arrow] ~~~ execute @e[r=4] ~~~ summon arrow @s
delete arrow
4./kill @e[type=arrow]
This part is still saying that it failed. It’s says “failed to execute ‘particle’ as Arrow”
the command isnt faulty though. It worked with the particle water_splash_particle, and large_explosion, just not huge_explosion. Not sure why.
it might not like the particle itself. try
minecraft:dragon_death_explosion_emitter
The chain of command block won’t work. The dragon death explosion thing works, but even if the particle is made where the arrow is, the command block that made it, says it failed. It does the same thing when I try to just put it as a command in the chat.
sorry to bother you so much with this.
I don't get what you mean. If the particle activated that means the command did work. Even if the command block output says failed, if you seen partciles, then it worked.
But the chain command blocks won’t activate. Because the first one says failed.
Please read. Do particles show up? If so the command is successful. You literally just told me it was in a repeating command block. If it's in a repeating command block and there's no arrows in the air the command is obviously failed. If you see particles but their second command is not activating there is clearly something wrong with something else in the process
You should try at least detecting dirt or grass and not air. The arrow is almost always in the air. The defining moment is when the arrow hits the ground. Your ground should be whatever material you are detecting and that's what should be the execute you command
Quote from drhubs>>
3. execute @e[type=arrow] ~~~ execute @e[r=4] ~~~ summon arrow @s
This one is saying there’s an error at the summon arrow part. I’ve figured out everything else, and it’s all working. I realized I was being dumb. Thanks for being so helpful!
The third part still isn't working? I can try something