how to add potion effect or extra damage

Started by Danil2000707 on

Topic category: Help with Minecraft modding (Java Edition)

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
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 :)

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