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

Started by fuchsiashock on Fri, 03/06/2020 - 17:46

Topic category: Help with MCreator software

Last seen on 06:52, 17. Jun 2020
Joined Jan 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Make a mob not get knocked back (jump) when hit?
Fri, 03/06/2020 - 17:46

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

Last seen on 20:24, 19. Oct 2020
Joined Nov 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 06:52, 17. Jun 2020
Joined Jan 2020
User points:

User statistics:

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

Doesn't have any effect :/

Last seen on 22:34, 15. Oct 2020
Joined Apr 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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}]}