Well you can send MoveEntityPacket or built-in methods in the Entity class (such as move). If to go, then in the timer or a loop to do it
No! Do not use packets! Yes, they will make entities appear to move on the client, but it does not register on the server that the entity has moved. This can cause all sorts of problems. Do not use packets. PureEntitiesX is a pretty good example of how to make entities move. https://github.com/RevivalPMMP/Pure...ureentities/entity/WalkingEntity.php#L139L147 In the given section of the code, the entity's motion is set to move at the designated speed * 1/20 in the target direction. We use 1/20 because a tick is 1/20 of a second and the movement will be reprocessed every tick with the entity's new position data.