Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-194722

Changing shape property of rails to ascending using Debug Stick makes rail drop


    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 20w28a, 1.16.2, 1.16.4, 20w49a, 21w03a, 1.17, 1.18.2, 22w15a, 1.19, 1.19.2, 1.19.4, 23w14a, 1.20.1, 1.20.2, 1.20.3 Pre-Release 3, 1.20.3 Pre-Release 4, 1.20.3 Release Candidate 1, 1.20.3, 1.20.4
    • Confirmed
    • Block states

      The bug

      When using the Debug Stick to change the shape property of any rail type to one of the ascending_ values, the rail drops as item if there is no supporting block.

      The Debug Stick is supposed to change block states without updating the block to allow placing invalid states, however here this is not possible. Therefore the general rules "block states created using Debug Stick not working as intended" does not apply here because the Debug Stick is not able to create the block state in the first place.
      This indicates that the updating logic of rails might be faulty.

      Reproduction steps

      1. Place any rail type on the flat ground without other blocks nearby
      2. Use the Debug Stick to change the shape property to any of the ascending_ values
        The rail drops as item

        1. 2022-03-04_1.18.1.png
          132 kB
        2. 2023-11-28_21-04-56.mp4
          2.25 MB
        3. rail_debug_stick.webm
          348 kB

            Unassigned Unassigned
            Jingy Jiingy
            11 Vote for this issue
            5 Start watching this issue