Java Edition:Floating Rails
To do: Expand Update Suppression, Update Skipping, and Vanishing Blocks
In previous Minecraft versions, it has been possible to obtain floating rails through a few different methods.
Obtaining
Tick Pulse
In Minecraft version 1.4.5, you must push rails with a 1 tick pulse. This would result in them staying in the air floating.
Update Suppression
Another (yet much more complicated) way to obtain floating rails is with Update Suppression. Example here.
23w13a_or_b less_interaction_updates Vote Rule
Additionally, you can obtain floating rails with the less_interaction_updates vote rule. To do this, simply enable the vote rule before placing the rails on any block. Then, simply break the block, and due to the less_interaction_updates vote rule, the rails will stay in place, making them float.
Update Skipping
Another way to obtain floating rails is through Update Skipping.
Vanishing Blocks
Finally, the last way to obtain floating rails is with Vanishing Blocks.