Started by TheCatalystGaming on Wed, 04/28/2021 - 20:53 Topic category: Advanced modding As the title says, is there a way to make a mob avoid/run away from a block? Jump to top when entity moves check if touching or distance to nearest block representing block of [x] type if the distance is closer than [int] do something This is the way I'd do it but I don't know the procedures for it. Check this forum page. Jump to top Permalink Log in or register to post comments
when entity moves check if touching or distance to nearest block representing block of [x] type if the distance is closer than [int] do something This is the way I'd do it but I don't know the procedures for it. Check this forum page. Jump to top Permalink Log in or register to post comments
when entity moves check if touching or distance to nearest block representing block of [x] type if the distance is closer than [int] do something
This is the way I'd do it but I don't know the procedures for it.
Check this forum page.