DarkStorm652 / DarkBot

Minecraft thin client and automation framework
BSD 2-Clause "Simplified" License
123 stars 53 forks source link

Handle entity velocities. #26

Open t81lal opened 10 years ago

t81lal commented 10 years ago

https://github.com/DarkStorm652/DarkBot/blob/ca22d51ac8124efe39a3463ac5ca613e32da4678/src/main/java/org/darkstorm/darkbot/minecraftbot/world/BasicWorld.java @EventHandler public void onLivingEntitySpawn(LivingEntitySpawnEvent event)

what happens to the spawnmob velocity data?

DarkStorm652 commented 9 years ago

Entity velocity in general is currently not handled.

t81lal commented 9 years ago

only way to fix would be to add do a watched list and loop every game tick and then add to the position :/

DarkStorm652 commented 9 years ago

Yep, I just figured that the server would update their positions often enough for it not to matter (and it does, but it might as well be implemented anyway).