Stained Glass
This mod adds adaptable, fancy stained glass to Minetest. There are nine different, unique designs with two different color schemes per glass type. This mod utilizes a design that allows the glass to fit underneath arches, upside-down stairs, or nearly any sort of decoration.Along with the stained glass, this mod has normal glass, obsidian glass, and steel bars that use the same design as the stained glass. Also, there is spiked steel railing, which works great combined with the default steel bars.
Embedding in Arches
As the first screenshot shows, the glass can be placed inside of arched windows. This mod does that by employing double high windows and other such shapes. In the following diagram, as viewed from the side, the parts with the O cannot be fit in another node, whereas the X can go inside any type of node:Code: Select all
| X | X | XX | XXX
O | O | OX | OX | XOX
| | | | XXX
Code: Select all
X
O
Notice the offset on in the back on the far right. It appears to be one node behind the rest, but in reality, it is aligned with the rest of them.
And you thought a simple stained glass mod couldn't be that complex ;-)
And now for some more screenshots!
Spoiler
Spiked steel railing. The railing is placed inside the cobblestone wall using the offset railing.
Normal steel railing using the xpanes version. This spiked railing connects, unlike the embeddable version.
A round window. This particular one uses the 9 by 9 (noncuple) window.
Important Info
License: MIT for code; CC BY-SA for texturesDependencies: default, xpanes, dye
The arches used in the mod are from the mod "pkarcs", which can be found here: viewtopic.php?f=11&t=14541.
Download
Zip: https://github.com/v-rob/glass_stained/ ... master.zipGitHub: https://github.com/v-rob/glass_stained
Please report any issues on this thread. You may make a GitHub issue, but I check the forums more than GitHub.
As always, I'm always open to suggestions.