Lightning

Started by MoonClover on

Topic category: Help with modding (Java Edition)

Last seen on 14:29, 19. May 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Lightning

I am trying to make it so when I hit something with an item that looks like an item bolt it will send lightning at the thing. How do I do this?

Last seen on 23:30, 10. May 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use procedures. On the bolt…
Thu, 04/22/2021 - 23:08

Use procedures.

On the bolt item, go to "Triggers", and find the Procedure called "When living entity is hit with item." Create a new procedure and name it what you want. 

click here if it's not loading

If it's a tool, use the procedure "When living entity is hit with tool."

Go to the "World management" tab.

click here if it's not loading

And find this block.

click here if it's not loading

If you want it to be an effect, click the effect only box.

Then connect it to the green block, save the procedure and the mod element, and done.

Last seen on 14:29, 19. May 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks!
Fri, 04/23/2021 - 15:28

Thanks!