Underwater Rails

This mod was originally created for Modjam 5 (2018.1) and has been regularly updated since then!
New Rail Types
The mod introduces two special types of rails for underwater use:
- Basic Underwater Rails - can be placed underwater but do not protect the player from drowning
- Advanced Underwater Rails - can also be placed underwater and additionally prevent player drowning in minecarts while removing underwater fog
Important Information
NOTE: In version 1.18.1, only advanced underwater rails are available (simply called Underwater rails), since regular rails can now be placed underwater.
NOTE: Versions 2.3.0 and above for Forge require Architectury, as do all versions for Fabric.
The Fabric version currently does not modify underwater fog, unlike the Forge version. This feature will be added in the future.
Rail Variants
Each type of underwater rail comes in four variants:
- Standard rails
- Powered rails
- Detector rails
- Activator rails
Supported Versions
Currently, the mod works with Minecraft versions 1.16.5 and 1.18.1, with version 1.18.1 having development priority.
The 1.12 version is no longer updated! The Forge version receives more attention as the developer is more familiar with this platform.
Crafting Recipes
Basic Underwater Rails (only for 1.16.5 and older)
Shaped Recipe:

Shapeless Recipe:

Advanced Underwater Rails

NOTE: For version 1.18.1, the recipe remains the same, but vanilla rails are used instead of basic underwater rails.
Known Issues
- Advanced underwater rails only have models for straight and curved positions. On slopes, the standard Minecraft rail model is used (functionality is preserved). Fix is delayed due to limited modeling skills.
- Underwater rails sometimes display incorrectly underwater. This is a vanilla issue that was partially fixed in versions 1.17/1.18, so a fix is unlikely.
License
The mod is distributed under the MIT license, allowing free use in modpacks without requiring permission.