I tried it, but for some reason it didn't helped – still if come close to the mob it's being slowly pushed away. Maybe I'm doing something wrong. Can you please check my class: http://pastebin.com/rM87GRun Thanks
I have custom mob (based on EntityGolem). I would like to avoid behaviour when custom mob being pushed by player or other mobs. I tried to set initial coordinates on every tick, but it looks glitchy. Any suggestions how to solve this problem? Thanks.