Posted April 27, 20223 yr So I have a stationary hostile mob it has movement_speed set to 0, how can I make it move only once it detects the player in range?
April 27, 20223 yr you need a custom WalkGoal for your Entity, you can take a look at the vanilla NearestAttackableTargetGoal in your custom Goal you need to override canUse check there the conditions you want that your Entity can use the Goal
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.