mojira.dev
MC-196102

Rails Rotation is missing two cases.

The Rails Block is missing two cases in the switch statement for the 180 degree rotation. Thus when executing the rotation on the rails with 180 degrees and they face north_south originally then this will fail and wrongly rotate the rails.

Linked issues

Attachments

Comments

tryashtar

Please include screenshots or steps on how to reproduce this issue

migrated

Use a structure block to scan rails that are facing North-SOUTH. Then rotate the structure by 180 degrees.

migrated

(This issue becomes previous obvious when looking at the switch case statement in the code)

MukiTanuki

Affects 1.16.3.

When generating in custom structures that have rails in them, they will sometimes become rotated in the incorrect directions.  I have only found this issue for "flat" rails though.

Arisa Bot

Thank you for your report!
We're tracking this issue in MC-104231, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! Please report any issues on Discord or Reddit

migrated

(Unassigned)

Confirmed

(Unassigned)

1.16.1

Retrieved