Skip to main content

Steam 'n' Rails

Mod version shipped with FlammiCraft: 0.9.1

Deutsch

The NeoForge port of Steam ’n’ Rails extends Create trains with tracks, bogeys, switches and other railway parts. Lay tracks with Create tools and configure routes at stations with schedules.

Requirements

Minecraft 1.21.1 with NeoForge 21.1.219 or newer and the FlammiCraft Create fork 6.0.35 or newer.

Existing worlds

Back up the world before upgrading. Keep the corresponding backup for a rollback. Check switches in both directions, schedules, and saving and reloading existing trains.

If the conductor toolbox hook causes a world-load crash with Steam ’n’ Rails 0.3.0, update to 0.4.0 or newer.

Track casing

Slabs work as track casing, and from 0.9.0 snow (the snow layer, not the snow block) and moss carpets do too. The block tag railways:track_casing_whitelist allows further blocks. Blocks in the tag railways:track_casing_blacklist are always excluded, slabs included.

Straight tracks: Right-click with the block in the main or off hand to encase the track, and right-click with an empty main hand to take the casing off. While sneaking with an item in hand, the track is not encased and the block is placed as usual.

Curved tracks: Only the main hand counts, and sneaking makes no difference. A casing block in the main hand encases the curve, and an empty main hand takes the casing off. If the curve has no casing yet and the main hand is empty, a casing block from the off hand is used.

Breaking the track drops the casing as an item.

On load or sync, a saved casing is removed without an item if its block is neither a slab nor allowed, is on the blacklist, or no longer exists. The log then names the block and position. This also applies after a data pack changes the whitelist or blacklist: casings that are no longer allowed are removed the next time they load. Up to 0.8.0, this also applied to snow and moss carpets, and straight tracks removed such casings without a log entry. Up to 0.7.0, curved tracks with such data crashed.

Snow and moss carpets as casing come from upstream commit 17a61cdc. Upstream reverted it in 4c180e0 and brought it back through merge 9e5feca2; it is included from v0.3.0-alpha. This fork is based on v0.2.1 and took over the casing parts in 0.9.0. Before 0.9.0, snow or moss casings could therefore only come from upstream versions v0.3.0-alpha and later.