Retorch
This mod adds a useful function for torches in Minecraft - when the block on which a torch is placed becomes non-solid or gets removed, the torch automatically changes its orientation to a suitable surface instead of simply falling and disappearing.
A demonstration video showing the mod in action is available below:
Compatibility and Technical Features
Only the latest version of Minecraft that this mod exists for is supported. The mod will not work with older versions.