how to add potion effect or extra damage

Started by Danil2000707 on

Topic category: Help with modding (Java Edition)

Last seen on 17:31, 13. Feb 2023
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to add potion effect or extra damage
Tue, 02/09/2021 - 19:19 (edited)

I created a bow and I want to get additional damage or potion when hitting mobs under certain conditions. My problem is that when using the procedure to add a potion effect, it is applied to me in the same way as with the damage procedure. But these procedures with swords work. Tell me what the problem is. Sorry for the Englishprocedureshttps://ibb.co/SN52j1P

Edited by Danil2000707 on Tue, 02/09/2021 - 19:19
Last seen on 17:31, 13. Feb 2023
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
?
Thu, 02/11/2021 - 16:09

?

Last seen on 11:45, 23. Jan 2023
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There should be a procedure…
Thu, 02/11/2021 - 16:38

There should be a procedure thingy at the bow's page called "When hit enemy with the item"

You can then "Add effect ___ __ for ___ ticks"

1 second is like 20 ticks i think

 

hope it helped :)

Last seen on 17:31, 13. Feb 2023
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'll check it out now
Fri, 02/12/2021 - 08:56

I'll check it out now