Change TESRs to the new generic system.

Some of these will presumably end up in the blockstate model system later.
This commit is contained in:
Ben Spiers committed 2016-01-14 19:23:58 +00:00
1 parent 9b8d9d92d6
commit 70f440446f
30 files changed
+74 -219

No files matched your search

@@ -22,17 +22,12 @@ import net.minecraftforge.fml.relauncher.SideOnly;
import org.lwjgl.opengl.GL11;
@SideOnly(Side.CLIENT)
public class RenderSalinationController extends TileEntitySpecialRenderer
public class RenderSalinationController extends TileEntitySpecialRenderer<TileEntitySolarEvaporationController>
{
private static Map<SalinationRenderData, HashMap<Fluid, DisplayInteger[]>> cachedCenterFluids = new HashMap<SalinationRenderData, HashMap<Fluid, DisplayInteger[]>>();
@Override
public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float partialTick)
{
renderAModelAt((TileEntitySolarEvaporationController)tileEntity, x, y, z, partialTick);
}
public void renderAModelAt(TileEntitySolarEvaporationController tileEntity, double x, double y, double z, float partialTick)
public void renderTileEntityAt(TileEntitySolarEvaporationController tileEntity, double x, double y, double z, float partialTick, int destroyStage)
{
if(tileEntity.structured && tileEntity.inputTank.getFluid() != null)
{