Relevant Version Numbers are 1.7.10 through 1.12.2
I've been trying to figure this out for a while now. I've got a texture pack where I want to include CTM textures for a mod. I tried copying the .properties file from other texture packs to get an idea of how to do it, and I've got the connected texture to apply successfully to dirt blocks. The directory is as follows.
This does not work. Going to the optifine github, I found this:
# To refer to a tile from a mod, you will need to know its name
On the only two other threads which match this problem I am having, I found this to be their solution as well, but I can't get it to work despite that I put matchTiles=[blockname] at the top of the properties file.
Well, I got fed up with this, and since I am making this mod/resource pack for all versions 1.7.10 through 1.12.2, I decided to try what I am doing here on a different version than 1.7.10. It worked the first time I tried it on 1.10.2, so that solves part of the problem, but I still don't know how to solve it for 1.7.10. Seems like the syntax or semantics of how to do it changed, and I can't figure out what change was.
I am still open for input on how to do this on 1.7.10.