When a ghast dies in a portal, the frame becomes crying obsidian and shatters.
Works server-side and in single player.
Adds a new mechanic for renewable crying obsidian.
When a ghast dies in a nether portal, all the obsidian blocks that make up the portal frame will be converted to obsidian and then shatter into item form.

Why?
As of 1.1.4, two game rules allow control over how obsidian is converted:
ghastly_wail:obsidianConversionChance; 0 to 100, default: 100chance for nether portal frame obsidian to convert to crying obsidian
ghastly_wail:convertedObsidianBreakChance; 0 to 100, default: 100chance for converted crying obsidian blocks to break
Between versions 1.1.0 and 1.1.4:
ghastly_wail:breakConvertedObsidian; default: truecontrols whether crying obsidian is dropped as an item or replaces the portal frame in block form
As of version 1.1.4, there are several translatable lines.
If you'd like to help translate Ghastly Wail, you can do so on
Crowdin.
This mod is only for Fabric (works on Quilt, too!) and I won't be porting it to Forge. The license is MIT, however,
so anyone else is free to port it.
I'd appreciate links back to this page if you port or otherwise modify this project, but links aren't required.