lightning arrows

Started by scaryclown on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
lightning arrows

how would i make it where if my ranged item's arrow hits a mob it strikes lightning where they are and not where i am

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you should just be able to…
Thu, 05/14/2020 - 18:45

you should just be able to put strike lightning at x y z under actions for when bullet hits mob or ground.

 

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have the same idea, but…
Tue, 06/15/2021 - 08:57

I have the same idea, but with an enchantment. I want to make it so when you enchant a bow with Thunder (the custom enchantment) it will strike lightning where the arrow hits. How could I do this?

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can do Entity Attacked,…
Sat, 08/27/2022 - 23:15

You can do Entity Attacked, and add an If do, then you can add so it checks if the item in the main hand of the SourceEntity has enchantment thunder, then spawn lightning at x y z

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Or just put Before Entity…
Sat, 08/27/2022 - 23:16

Or just put Before Entity Hurt