lightning arrows

Started by scaryclown on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 years ago
Joined Jun 2017
Points:
749

User statistics:

  • Modifications: 0
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
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

Active 4 years ago
Joined Mar 2020
Points:
694

User statistics:

  • Modifications: 0
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 62
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.

 

Active 3 years ago
Joined Jun 2021
Points:
523

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
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?

Active 1 year ago
Joined Aug 2022
Points:
345

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 18
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

Active 1 year ago
Joined Aug 2022
Points:
345

User statistics:

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

Or just put Before Entity Hurt