Make a mob not get knocked back (jump) when hit?

Started by fuchsiashock on

Topic category: Help with MCreator software

Last seen on 17:02, 24. Jan 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make a mob not get knocked back (jump) when hit?

Is this possible? I want a mob to stay locked on the spot when hit.

Last seen on 22:41, 17. Apr 2024
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't 100% get what your…
Fri, 03/20/2020 - 23:54

I don't 100% get what your saying but i have a way to do that, when the is hit it will get hit with slowness 100 for how ever long

Last seen on 17:02, 24. Jan 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Doesn't have any effect :/
Sat, 03/21/2020 - 12:28

Doesn't have any effect :/

Last seen on 22:07, 25. Jan 2022
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
for something like that you…
Mon, 05/04/2020 - 00:22

for something like that you would need to change the attributes of the mob the easiest way to do so would be executing a command like this on mob tick update once or any other event but when mob spawns (this doesn't worrk for some reason)

/entitydata @e[type= your mob here,c=1] {Attributes:[{Name:"generic.knockbackResistance", Base:1}]}