Started by
Loic_MaitreDuFeu
on
Topic category: Advanced modding
Someone know a Procedure or command/function to strike lightning on all entities around? I need this for my mod
Topic category: Advanced modding
Someone know a Procedure or command/function to strike lightning on all entities around? I need this for my mod
I'm not going to lie and say I know that specific kind of procedure, but I do know an alternative for striking an area around the player on right click with an item in hand. If this will help you, you can find me at James666buck@gmail.com
You can send an Image on the forum to see the procedure?
I can't, that's why I used my email. With it I can send attachmets from my phone
Ok i will give you my mail tomorrow
Ok my email address is loic.cheerkoot@yahoo.com
Do not spam or send threats
Can you send a picture of the solution that you found to this please?
you can use the command
/execute at @p run execute at @e[distance=distance entity needs to be away from player] run summon minecraft:lightning ~ ~ ~
that should work :)
nice
the distance doesn't work
it should be distnace[2..whatever your max distance is]
StarLander5772 = only finds the enitity exactly this distance away.
Oh really?
woops, well at least now I know how to do it!
here is an image, https://imgur.com/a/Jzk5Qe1
The Image is not going to work properly.
You need to check that the Entity Iterator should not be the Player.
how could I check if the entity iterator is not a player?