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

All command blocks think they're facing south with caret notation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • 23w03a
    • Minecraft 1.13.1, Minecraft 1.13.2-pre1, Minecraft 1.13.2-pre2, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, 20w51a, 1.16.5, 21w06a, 21w08b, 1.17.1, 1.18.2, 22w18a, 1.19.2
    • None
    • Confirmed
    • Commands

    Description

      The bug

      When using Caret notation (^a ^b ^c), Command blocks always "face" south no matter what their "facing" data is set to.

      This is almost more like a feature request than a bug, but I do think the behavior is slightly unexpected. it works fine if you're using Execute or any command that involves an entity, but if you're using a command that doesn't use an entity, there's no facing vector for use in ^-notation, so it defaults to south.

      How to reproduce

      1. Create a command block with facing:east 
      2. Set its command to "/setblock ^ ^ ^1 stone"
      3. Power the command block
      4. Unlike an entity performing the command, instead of placing the block one space to the east, it will place it one block to the south

      Reasoning

      1. It makes intuitive sense that a command block should use its facing vector for caret positioning. 
      2. It makes it easier to build systems that require caret positioning because you can point the block in the direction you'd like to effect
      3. Some constructs become less direction-dependent. when recreating a command block structure that uses this feature, you don't need to worry about what rotation you've built the machine

      Attachments

        Issue Links

          Activity

            People

              slicedlime [Mojang] slicedlime
              Kavukamari Kavukamari
              Votes:
              9 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: