Can I make a knockback potion effect ?

Started by _Ness on

Topic category: Help with modding (Java Edition)

Last seen on 07:12, 23. Jan 2023
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can I make a knockback potion effect ?

Can I make it so that when the entity has a certain potion effect, it will deal more knockback than usual ? I tried using the entity velocity, but I can't seem to make it work properly, can someone please help ? Thanks in advance.

Last seen on 17:54, 9. Dec 2020
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i know you can do it,but i…
Wed, 06/03/2020 - 15:22

i know you can do it,but i dunno how,i think you can do that with enchants,so it will enchant a weapon when you're holding it?

Last seen on 07:12, 23. Jan 2023
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks, but I'm trying to…
Wed, 06/03/2020 - 16:06

Thanks, but I'm trying to make it so the player will be able to knock back enemies with their hand.