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

DataValue of Rail ignored when using /setblock /clone /fill

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • None
    • Minecraft 1.7.4, Minecraft 1.8.2-pre6, Minecraft 1.8.8, Minecraft 15w37a, Minecraft 15w41b, Minecraft 15w43c, Minecraft 15w44a
    • Confirmed
    • Creative

      Rails placed using the setblock command will only be oriented by the specified dataValue if there is already a rail at the specified coordinates. Otherwise, it will orient the rail such that it connects to adjacent rails, or if there are none, it will always place the north_south variant.

      To reproduce, use this command in an open space:

      /setblock ~1 ~ ~ minecraft:rail 9 replace
      

      This will place a straight section of rail north/south. Without moving, use the command again, and the rail will change into the desired type: a curved section facing north/east.

      If positioned so that the rail will be placed next to another rail, both rails will change shape in order to connect.

            grum [Mojang] Grum (Erik Broes)
            thargol Richard Moeskops
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: