Glass mod - Realistic glass behavior in Minecraft
This mod introduces a new game mechanic - glass items now break when they fall to the ground. This adds extra realism to your gaming experience.
The mod's configuration is handled through special tags. The settings file location is: data/glassmod/tags/items/glass.json
The standard version already includes all basic glass items from the vanilla game in the settings, but you can expand this list according to your preferences.
Example code for compatibility with other mods
If you want to add support for additional glass items from other modifications, here's a configuration sample:
https://gist.github.com/Devan-Kerman/f2c5ef6f00ebe6f2225f426387085aa3