How to make a potion effect that removes knockback?

Started by Necromancer14 on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Dec 2021
Points:
542

User statistics:

  • Modifications: 1
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 22
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?

Active 2 years ago
Joined Dec 2021
Points:
542

User statistics:

  • Modifications: 1
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 22
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...

Active 2 years ago
Joined Mar 2021
Points:
685

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 190
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

Active 2 years ago
Joined Mar 2021
Points:
685

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 190
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