Started by
reick
on
Topic category: Help with Minecraft modding (Java Edition)
When I made the mod for the new sword, it was supposed to be able to fire a fireball every 25 seconds. I did it and it worked, but I can shoot with any object, not just a sword.
Add a check for an item in main hand:
if <item in main hand of Entity> = <Item>:
<your procedure>