@SideOnly(Side.CLIENT) @Override public IIcon getIcon(IBlockAccess world, int x, int y, int z, int side) { TileEntity te = world.getTileEntity(x, y, z); if (!(te instanceof ISidedFacing)) return iconBuffer[0]; return iconBuffer[Util.getTextureOnSide(side, ((ISidedFacing) te).getFacing())]; }
@SideOnly(Side.CLIENT) @Override public IIcon getIcon(int side, int meta) { return iconBuffer[Util.getTextureOnSide(side, ForgeDirection.WEST)]; }