Problem with adding effects to weapons when attacking some mob

Started by PolarTume on Thu, 10/15/2020 - 13:15

Topic category: Help with modding (Java Edition)

Last seen on 22:14, 29. Oct 2020
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Problem with adding effects to weapons when attacking some mob
Thu, 10/15/2020 - 13:15

I am making a mod that will have different swords, one of them is poisonous. How can I make the appropriate effect on the mob when hitting?

Last seen on 05:29, 31. Jan 2022
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
you should look through theā€¦
Fri, 10/16/2020 - 00:57

you should look through the wiki tutorials, it has lots of guides on easy things such as this.

in your sword events, make a procedure for this event:

https://cdn.discordapp.com/attachments/599250311852458006/766463674864762890/unknown.png

then in the procedure do this:

https://cdn.discordapp.com/attachments/599250311852458006/766464135440760904/unknown.png