How to make a potion effect that removes knockback?

Started by Necromancer14 on

Topic category: Help with modding (Java Edition)

Last seen on 17:02, 6. Jun 2023
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a potion effect that removes knockback?

Im trying to make a sword with an ability where one of the things it does is remove the kb you take for a short while. However, I do not know how to do this. Does anyone know?

Last seen on 17:02, 6. Jun 2023
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
nvm removing knockback…
Thu, 05/05/2022 - 19:43

nvm removing knockback doesnt even work on explosions which is what i was wanting it for...

Last seen on 13:58, 21. Jan 2023
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
set motion override vector…
Fri, 05/13/2022 - 23:31

set motion override vector(vx:0,vy:0,vz:0) that will stop all knockback

Last seen on 13:58, 21. Jan 2023
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
don't run it to much or you…
Fri, 05/13/2022 - 23:32

don't run it to much or you will freeze the player in place