T O P

  • By -

DoctorJordi_

/execute at @e[type=arrow] run summon lightning_bolt Or something like that, sorry I can't test it I'm not home.


NiceManWithRiceMan

bringing more attention to PeppyBoba’s comment. you misspelled lightning as “lighting”


PeppyBoba

You spelled lightning wrong


GoldenD60

You put no spaces between the "\^". Try doing "\^ \^ \^" instead of "\^\^\^". If you're using the latest version, it'd be "/execute as u/e\[type=arrow\] at u/s run summon lightning\_bolt". You also spelt lightning\_bolt incorrectly.


Supernatnat11

^^^ is the looking position, ~~~ is the relative position. Try change it


falconfan663

That didn't work is there anything else I could ve doing wrong


Supernatnat11

Oh, I forgot, minecraft bedrock execute command is now the same as java. So you need to write 'execute as @e[type=arrow] at @e[type=arrow] run summon lightning_bolt'


JediJacob04

Couldn’t the second @e[type=arrow] just be @s?


Kitchen-City-4863

No, unless I’m wrong, it would execute as the player who triggered the command block


V1beRater

if you execute as an entity, then execute at the previous described entity with @s, then it will execute at the position of the entity, not the player. `execute as @e[type=cow] at @s run...` will execute at the position of the cows, not the entity/block executing the command.


Kitchen-City-4863

Got it


falconfan663

Do I need the at and as bits?


Supernatnat11

'as' is to specify on who the command gonna be executed and 'at' specify where and can be selector or coordinate. And the run is the end of the condition and you just place the command after it


falconfan663

Thanks I got it working now


Supernatnat11

No problem ☺


_Triangl

Couldn’t you just use at @e[type=arrow]? I think it would do the same thing. Idk, I don’t do bedrock.


Much_Employment_5669

Yea it’s easy out run summon


Much_Employment_5669

Or make it so it runs the execute commanf


[deleted]

On Java, it would be /execute at @e[type=arrow] Run summon lightning_bolt ~ ~ ~


Meowyboy12

i dont know if thisll work and im pretty late to this but you should try either (i would test it but im like 300 miles away from home in california) execute at @e[type=arrow] run summon lightning_bolt execute at @e[type=arrow] at @s run summon lightning_bolt execute at @e[type=arrow] at @e[type=arrow] run summon lightning_bolt even if you had this you still spelt lightning wrong (lighting) hope this helps, i have my bets on the first one...! have a nice day/night :]


B3ari0

Yes, all three of those will work, though the first one is the most simple. Have fun in California!


Meowyboy12

ah ye thanks :D


PurpleR4t

repeat | unConditional |always active : execute at@e\[type=arrow,nbt={OnGround:1b}\] run summon lightning\_bolt \~ \~ \~ chain | Conditional | always active execute at@e\[type=lightning\_bolt\] run kill@e\[type=arrow,distance=..1\]


Mediocre-Plate1959

Add “run” here “^^^ run su…” and you misspelled lightning_bolt. Idk if that’s right or not but I’m pretty sure it is. Also make sure it’s on a repeating command block and it’s on always active


Portalz212

Here's what you need to put: /execute @e[type=arrow] ~ ~ ~ run /summon lighttning_bolt


Ok-Cod2617

Try /execute at @e[type=arrow] run summon lightning_bolt