It hurts everytime you break a piece of glass without silk touch. Now you can get something, that something is Glass Shards! They can be recrafted into glass and dyed different colors.
Forge: https://github.com/Declipsonator/Shards/tree/Forge
The mod must be present on both the server and client for it to work properly.
(Exception of singleplayer)