if(vat != null && par1Block instanceof AbstractMachineBlock) {
Vector3d offset = ForgeDirectionOffsets.offsetScaled(face, 0.01);
Tessellator.instance.addTranslation((float)offset.x, (float)offset.y, (float)offset.z);
IoMode mode = vat.getIoMode(face);
IIcon tex = ((AbstractMachineBlock)par1Block).getOverlayIconForMode(mode);
if(tex != null) {
ccr.getCustomRenderBlocks().doDefaultRenderFace(face,par1Block,x,y,z, tex);
}
Tessellator.instance.addTranslation(-(float)offset.x, -(float)offset.y, -(float)offset.z);