How to strike Lightning on all mobs?

Started by Loic_MaitreDuFeu on

Topic category: Advanced modding

Last seen on 09:43, 4. Jan 2022
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to strike Lightning on all mobs?

Someone know a Procedure or command/function to strike lightning on all entities around? I need this for my mod

Last seen on 16:47, 9. Nov 2018
Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm not going to lie and say…
Thu, 11/01/2018 - 18:40

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

Last seen on 09:43, 4. Jan 2022
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can send an Image on the…
Thu, 11/01/2018 - 19:06

You can send an Image on the forum to see the procedure?

Last seen on 16:47, 9. Nov 2018
Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can't, that's why I used…
Thu, 11/01/2018 - 19:35

I can't, that's why I used my email. With it I can send attachmets from my phone

Last seen on 09:43, 4. Jan 2022
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok i will give you my mail…
Thu, 11/01/2018 - 19:39

Ok i will give you my mail tomorrow

Last seen on 11:19, 2. May 2020
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you send a picture of…
Fri, 04/10/2020 - 17:57

Can you send a picture of the solution that you found to this please?

 

Last seen on 03:12, 31. Jul 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can use the command …
Fri, 06/12/2020 - 02:25

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 :)

Last seen on 09:43, 4. Jan 2022
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
the distance doesn't work
Sun, 06/14/2020 - 13:00

the distance doesn't work

Last seen on 17:16, 16. Mar 2024
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it should be distnace[2…
Sun, 06/14/2020 - 14:21

it should be distnace[2..whatever your max distance is]

StarLander5772 = only finds the enitity exactly this distance away.

Last seen on 03:12, 31. Jul 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh really? woops, well at…
Thu, 06/18/2020 - 03:29

Oh really?

woops, well at least now I know how to do it!

Last seen on 19:25, 27. Mar 2024
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The Image is not going to…
Sat, 03/25/2023 - 21:53

The Image is not going to work properly.

You need to check that the Entity Iterator should not be the Player.

Last seen on 16:55, 21. Nov 2023
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how could I check if the…
Tue, 11/14/2023 - 19:59

how could I check if the entity iterator is not a player?