How to make lightning staff?

Started by Thedoom19 on

Topic category: Help with modding (Java Edition)

Last seen on 11:19, 24. Jan 2024
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make lightning staff?

Ranged weapon like a bow, when it hits something it spawns lightning, how do i make this?

Last seen on 00:46, 5. Dec 2023
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think I can help you,…
Mon, 02/13/2023 - 17:32

I think I can help you, create a ranged item and go to triggers and choose the option "can use ranged item" there go to the section "world management" and grab the block procedural strike lightning at x y z effect only...".
now just put it on and that's it, it should be there or so I think xd

Last seen on 00:46, 5. Dec 2023
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In the previous comment I…
Mon, 02/13/2023 - 17:43

In the previous comment I was wrong about one thing, instead of going to "can use ranged item", go to "when projectile hits livin entity".
that will cause lightning to be generated when it hits an entity, if you want the same thing to happen when it hits blocks then also put it in "when projectile hits block"
I hope it helps you :)