package blusunrize.immersiveengineering.client.render;
import blusunrize.immersiveengineering.common.util.chickenbones.Matrix4;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.tileentity.TileEntity;
public abstract class TileRenderIE<T extends TileEntity> extends TileEntitySpecialRenderer<T>
{
@Override
public void renderTileEntityAt(T tile, double x, double y, double z, float partialTicks, int destroyStage)
{
if (tile.getWorld().isBlockLoaded(tile.getPos(), false))
renderDynamic(tile, x,y,z, partialTicks, destroyStage);
}
public abstract void renderDynamic(T tile, double x, double y, double z, float partialTicks, int destroyStage);
public abstract void renderStatic(T tile, Tessellator tes, Matrix4 translationMatrix, Matrix4 rotationMatrix);
}