Minestom
Minestom copied to clipboard
Basic EntityProjectile movement is very laggy
EntityProjectile entity = new EntityProjectile(player, EntityType.SNOWBALL)
entity.setVelocity(player.getPosition().direction().mul(20.0))
entity.setInstance(instance, player.getPosition().add(0.0, player.getEyeHeight(), 0.0))
I should note, spawning a regular entity is perfectly smooth
clients are probably using entity velocity to help interpolate