public class EntityTeleportHandler extends MessageHandler<EntityTeleportMessage> {
@Override
public void handleClient(ClientSession session, EntityTeleportMessage message) {
Player player = session.getPlayer();
World world = player.getWorld();
Entity entity = session.getPlayer();//world.getEntity(message.getEntityId());
entity.getPhysics().setPosition(new Point(world, message.getX(), message.getY(), message.getZ()));
entity.getPhysics().rotate(Quaternionf.fromAxesAnglesDeg(message.getPitch(), message.getRotation(), 0));
}