Ok, so I'm trying to do the impossible: I'm writing a plugin that spawns and moves mobs. Now I've gotten the spawning to work, hostile mobs spawn at night (I've removed that and I'm going to implement spawning based on light-level, so hostile mobs will also spawn during the day in dark places) and friendly mobs spawn always. They spawn at random locations and that is all working correctly. However, I want to animate the mobs. What I'm doing now is I set their speedX, speedY and speedZ values and then I call the entity's update() function. This is working, however moving them by setting their speed is inaccurate and laggy. I was wondering if there is another way to manipulate their position and move them, in a gradual way, so not like they're teleporting. I've been looking around for a function but couldn't find any. I know there must be one, since the server must also use some sort of mechanism to move the player entities. Thanks in advance for any help!