Move the mob forward one block, check if there is a block ahead of it, if there is, then move it a block to the left or right and then move it forward again. (You MUST check if there is a block directly in front of it every single time it moves)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
In terms of what I know about modding certain things in MCPE like food, items, and recipes. So please can someone tell me how to create mob ai.
No one will help you if you lie and say this is a tutorial just to get more views.
my bad
Move the mob forward one block, check if there is a block ahead of it, if there is, then move it a block to the left or right and then move it forward again. (You MUST check if there is a block directly in front of it every single time it moves)