Started by
Leobaker
on
Topic category: Troubleshooting, bugs, and solutions
so uh.... any ideas? cause i don't really know what to do and i kinda need this for the mob am working on as its basicly the Original Verison of Herobrine called "White Eyes" before anyone actually came up with Herobrine since White Eyes was the original thing that inspired the Idea for Herobrine
but yea, so, if am in this tunnel i dug and i go in and it doesn't decide to make a path into the tunnel but just follows from above, Thats where the issue starts and begins to lag very badly
Considering i do not want to upload an image to a random website just to put the picture of the procedure here i'll at least explain what it does
First Checks for Entity in a 100 square radius - Then it does an IF do else where it first checks - if the player does not exist in a 35 cube radius and if the player doesn't exist, it checks for entity of type player then makes the Mob try to find a path to the player and follow
the ELSE part of it simply makes the mob stop moving if a player is detected in a 35 Cube radius
Since the Mob is ment to basicly stalk the player from a distance as one of its main things it does
Also the Mob is a Flying Entity which could be part of the issue for the path finding maybe possibly?
Checking 100 blocks every tick for entities is bound to cause lag.