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

/clone command sometimes does not behave as expected with command blocks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.10.2
    • None
    • PC Window 10, latest
    • Unconfirmed

      While trying to make a "flying machine" using command blocks in minecraft, I encountered really strange behaviors.
      I really spent quite a lot of time trying to understand what was wrong, and finally created a "test world" to be able to test it properly.
      In the attached zip file, you'll find nine very smple tests.
      Some works as expected, and for some other I just can't understand why it does not work.
      Typically, the flying machine gets out of control either ignoring a /testfor player command, or immediately repeating a clone without waiting.
      There two might be separate issues, but I can't tell.

      The best would be to have a look as this save game is simplier than any explanation I could make here! but in short, one of the simplest example is combining 3 command blocks :

      1) /testfor @p[r=2] [repeating/unconditionnal/always active]
      ==> designed to stop the machine if the pilot is not there

      2) /say anything [chained/conditionnal/always active] (this one does nothing in particular, but if not present, the behavior of the following command block is not the same!)

      3) /clone x1 y1 z1 x2 y2 z2 x3 y3 z3 masked move [chained/conditionnal/always active] (this one is expected to move the "ship" 1 block along an axis only)

      doing that will make the "ship" instantly run away and vanish in the distance, ignoring the pilote which is not there, and without "saying" anything...

      there are some others similar tests in the savegame that behaves strangely without chaining or using "repeating command block" or /tesfor

      thanks for your help !

      yann

            Unassigned Unassigned
            yann.truchot Yann1212
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: