Expected behavior
After placing rails the way I want them, I expect that their layout/orientation should not be changed when breaking unpowered redstone next to them.
Observed/Actual behavior
What happens in this case is the rails get changed to an S-shape. I understand that switches can be used to change rails, but I don't expect that breaking unpowered redstone should trigger the logic for this. Also, I don't think that redstone state changes should affect rails that do not have any bends in them, but I am not 100% clear on the vanilla behavior either, so some of that could be a "me" problem.
Steps/models to reproduce
Create something like the following, then break the redstone. Depending on where the redstone is you might see it change, you might not. It's rather odd, TBH. When I first noticed it, the redstone was on a block lower than, but still adjacent to, the rails.

Plugin and Datapack List
No plugins needed to reproduce this issue.
Paper version
Paper version 1.21.4-138-main@5395ae3 (2025-02-02T21:42:11Z)
Other
No response
Expected behavior
After placing rails the way I want them, I expect that their layout/orientation should not be changed when breaking unpowered redstone next to them.
Observed/Actual behavior
What happens in this case is the rails get changed to an S-shape. I understand that switches can be used to change rails, but I don't expect that breaking unpowered redstone should trigger the logic for this. Also, I don't think that redstone state changes should affect rails that do not have any bends in them, but I am not 100% clear on the vanilla behavior either, so some of that could be a "me" problem.
Steps/models to reproduce
Create something like the following, then break the redstone. Depending on where the redstone is you might see it change, you might not. It's rather odd, TBH. When I first noticed it, the redstone was on a block lower than, but still adjacent to, the rails.
Plugin and Datapack List
No plugins needed to reproduce this issue.
Paper version
Paper version 1.21.4-138-main@5395ae3 (2025-02-02T21:42:11Z)
Other
No response