How to strike Lightning on all mobs?

Started by Loic_MaitreDuFeu on

Topic category: Advanced modding

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

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

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?

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

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

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?

 

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

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

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!

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.

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?