I am trying to make something similar to negative knockback.

Started by BlueAwesomeDinosaur on Fri, 10/11/2019 - 15:30

Topic category: Help with MCreator modding

Last seen on 00:13, 23. Oct 2019
Joined Aug 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I am trying to make something similar to negative knockback.
Fri, 10/11/2019 - 15:30

For a part of my mod, I was going to have a weapon that absorbs enemies. However, I found that it is not possible to make negative knockback (even if I code it in). Any suggestions on how to do this?

Last seen on 09:44, 16. Nov 2019
Joined May 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
MAYBE you can do something…
Fri, 10/11/2019 - 16:46

MAYBE you can do something with a procedure on your weapon like when mob is hit by this tool move the provided entity 

Last seen on 00:13, 23. Oct 2019
Joined Aug 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I thought the same, but…
Sat, 10/12/2019 - 02:39

I thought the same, but there are some problems:

  • multiple players using the weapon
  • may teleport entities instead of pulling them
  • "moving" them would not be as smooth as knockback
  • teleporting them to you would cause it to be easier for them to attack you instead of the opposite (zombies and other mobs)