1

I have this Bedrock edition command:

/execute @e[type=item,name=Lightning] ~ ~ ~ execute @p[name=BrownCoat67] ^ ^ ^ summon lightning_bolt ^ ^1 ^7

How can I convert it to work with Java edition 1.20.4?

1

1 Answer 1

3

I can't understand what you are trying to do, but this should have the right syntax at least:

/execute as @e[type=item,name=Lightning] at @s run execute as @p[name=BrownCoat67] at @s run summon lightning_bolt ^ ^1 ^7

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .