Started by
MoonClover
on
Topic category: Help with Minecraft modding (Java Edition)
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?
Topic category: Help with Minecraft modding (Java Edition)
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?
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.
If it's a tool, use the procedure "When living entity is hit with tool."
Go to the "World management" tab.
And find this block.
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.
Thanks!