#How to make entity unpushable?

1 messages · Page 1 of 1 (latest)

zealous cliff
#

You know when player goes close and push entity? Well, i want this to be turned off for my entity

simple jolt
#

return false in the Collison methods

zealous cliff
#

and wouldn't then my mob go through blocks?

simple jolt
#

If you return false in the wrong ones, yes, but there should be one specifically for entity collisions that you can override

simple jolt
#

try the method collidesWith