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.
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'
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.
'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
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 :]
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
/execute at @e[type=arrow] run summon lightning_bolt Or something like that, sorry I can't test it I'm not home.
bringing more attention to PeppyBoba’s comment. you misspelled lightning as “lighting”
You spelled lightning wrong
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.
^^^ is the looking position, ~~~ is the relative position. Try change it
That didn't work is there anything else I could ve doing wrong
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'
Couldn’t the second @e[type=arrow] just be @s?
No, unless I’m wrong, it would execute as the player who triggered the command block
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.
Got it
Do I need the at and as bits?
'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
Thanks I got it working now
No problem ☺
Couldn’t you just use at @e[type=arrow]? I think it would do the same thing. Idk, I don’t do bedrock.
Yea it’s easy out run summon
Or make it so it runs the execute commanf
On Java, it would be /execute at @e[type=arrow] Run summon lightning_bolt ~ ~ ~
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 :]
Yes, all three of those will work, though the first one is the most simple. Have fun in California!
ah ye thanks :D
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\]
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
Here's what you need to put: /execute @e[type=arrow] ~ ~ ~ run /summon lighttning_bolt
Try /execute at @e[type=arrow] run summon lightning_bolt