Here you can find the source of interpolateValue(double current, double prev, float partialTickTime)
public static double interpolateValue(double current, double prev, float partialTickTime)
//package com.java2s; //License from project: Open Source License public class Main { public static double interpolateValue(double current, double prev, float partialTickTime) { return prev + partialTickTime * (current - prev); }//from www.ja va2 s .co m }