code: public static Point getRenderViewOffset(float partialTick)
  	{
  		Entity entity = Minecraft.getMinecraft().getRenderViewEntity();
  		if (partialTick == 0)
  			return new Point(entity.posX, entity.posY, entity.posZ);
  
  		double x = entity.lastTickPosX + (entity.posX - entity.lastTickPosX) * partialTick;
  		double y = entity.lastTickPosY + (entity.posY - entity.lastTickPosY) * partialTick;
  		double z = entity.lastTickPosZ + (entity.posZ - entity.lastTickPosZ) * partialTick;
  		return new Point(x, y, z);
  	}
docs: Gets the render view offset for the current view entity.
  
  @param partialTick the partial tick
  @return the render view offset