Here you can find the source of interpolateValues(float prevVal, float nextVal, float partialTick)
public static float interpolateValues(float prevVal, float nextVal, float partialTick)
//package com.java2s; //License from project: Open Source License public class Main { public static float interpolateValues(float prevVal, float nextVal, float partialTick) { return prevVal + partialTick * (nextVal - prevVal); }/*from ww w . jav a 2 s . c om*/ }