Minecraft
  1. Minecraft
  2. MC-49057

command block T flip flop (command crash game)

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 14w07a, Minecraft 14w08a
    • Fix Version/s: Minecraft 14w10a
    • Security Level: Minecraft - Public (Viewable by everyone)
    • Labels:
      None
    • Environment:

      Windows 7 64bit, JAVA 7

    • Confirmation Status:
      Confirmed

      Description

      put this command on command block :blockdata ~ ~ ~

      {SuccessCount:1}

      it's work on 14w06b is perfect for compact redstone system but on 14w07a is deosn t work because you punch button 10 time your game crash.

        Issue Links

          Activity

          Hide
          [Mod] Kumasasa added a comment -

          Confirmed.
          This is the tile entity data of the command block after running out of memory:

          {"extra":[{"translate":"commands.blockdata.success","with":["{Command:\"blockdata ~ ~ ~ {SuccessCount:1} \",id:\"Control\",TrackOutput:1b,LastOutput:\"{\"extra\":[{\"color\":\"red\",\"translate\":\"commands.blockdata.failed\",\"with\":[\"{Command:\\\"blockdata ~ ~ ~ {SuccessCount:1} \\\",id:\\\"Control\\\",TrackOutput:1b,LastOutput:\\\"{\\\"extra\\\":[{\\\"translate\\\":\\\"commands.blockdata.success\\\",\\\"with\\\":[\\\"{Command:\\\\\\\"blockdata ~ ~ ~ {SuccessCount:1} \\\\\\\",id:\\\\\\\"Control\\\\\\\",TrackOutput:1b,LastOutput:\\\\\\\"{\\\\\\\"extra\\\\\\\":[{\\\\\\\"color\\\\\\\":\\\\\\\"red\\\\\\\",\\\\\\\"translate\\\\\\\":\\\\\\\"commands.blockdata.failed\\\\\\\",\\\\\\\"with\\\\\\\":[\\\\\\\"{Command:\\\\\\\\\\\\\\\"blockdata ~ ~ ~ {SuccessCount:1} \\\\\\\\\\\\\\\",id:\\\\\\\\\\\\\\\"Control\\\\\\\\\\\\\\\",TrackOutput:1b,LastOutput:\\\\\\\\\\\\\\\"{\\\\\\\\\\\\\\\"extra\\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\\"translate\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"commands.blockdata.success\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"with\\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\\"{Command:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"blockdata ~ ~ ~ {SuccessCount:1} \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",id:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Control\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",TrackOutput:1b,LastOutput:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"extra\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"color\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"red\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"translate\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"commands.testfor.failure\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"with\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Sheep\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"]}],\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"text\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"[23:48:44] \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",CustomName:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"@\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",SuccessCount:1,z:4,y:4,x:2,}\\\\\\\\\\\\\\\"]}],\\\\\\\\\\\\\\\"text\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"[00:04:45] \\\\\\\\\\\\\\\"}\\\\\\\\\\\\\\\",CustomName:\\\\\\\\\\\\\\\"@\\\\\\\\\\\\\\\",SuccessCount:1,z:4,y:4,x:2,}\\\\\\\"]}],\\\\\\\"text\\\\\\\":\\\\\\\"[00:04:51] \\\\\\\"}\\\\\\\",CustomName:\\\\\\\"@\\\\\\\",SuccessCount:1,z:4,y:4,x:2,}\\\"]}],\\\"text\\\":\\\"[00:04:54] \\\"}\\\",CustomName:\\\"@\\\",SuccessCount:1,z:4,y:4,x:2,}\"]}],\"text\":\"[00:04:56] \"}\",CustomName:\"@\",SuccessCount:1,z:4,y:4,x:2,}"]}],"text":"[00:04:59] "}
          
          Show
          [Mod] Kumasasa added a comment - Confirmed. This is the tile entity data of the command block after running out of memory: { "extra" :[{ "translate" : "commands.blockdata.success" , "with" :[ "{Command:\" blockdata ~ ~ ~ {SuccessCount:1} \ ",id:\" Control\ ",TrackOutput:1b,LastOutput:\" {\ "extra\" :[{\ "color\" :\ "red\" ,\ "translate\" :\ "commands.blockdata.failed\" ,\ "with\" :[\ "{Command:\\\" blockdata ~ ~ ~ {SuccessCount:1} \\\ ",id:\\\" Control\\\ ",TrackOutput:1b,LastOutput:\\\" {\\\ "extra\\\" :[{\\\ "translate\\\" :\\\ "commands.blockdata.success\\\" ,\\\ "with\\\" :[\\\ "{Command:\\\\\\\" blockdata ~ ~ ~ {SuccessCount:1} \\\\\\\ ",id:\\\\\\\" Control\\\\\\\ ",TrackOutput:1b,LastOutput:\\\\\\\" {\\\\\\\ "extra\\\\\\\" :[{\\\\\\\ "color\\\\\\\" :\\\\\\\ "red\\\\\\\" ,\\\\\\\ "translate\\\\\\\" :\\\\\\\ "commands.blockdata.failed\\\\\\\" ,\\\\\\\ "with\\\\\\\" :[\\\\\\\ "{Command:\\\\\\\\\\\\\\\" blockdata ~ ~ ~ {SuccessCount:1} \\\\\\\\\\\\\\\ ",id:\\\\\\\\\\\\\\\" Control\\\\\\\\\\\\\\\ ",TrackOutput:1b,LastOutput:\\\\\\\\\\\\\\\" {\\\\\\\\\\\\\\\ "extra\\\\\\\\\\\\\\\" :[{\\\\\\\\\\\\\\\ "translate\\\\\\\\\\\\\\\" :\\\\\\\\\\\\\\\ "commands.blockdata.success\\\\\\\\\\\\\\\" ,\\\\\\\\\\\\\\\ "with\\\\\\\\\\\\\\\" :[\\\\\\\\\\\\\\\ "{Command:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" blockdata ~ ~ ~ {SuccessCount:1} \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ ",id:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" Control\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ ",TrackOutput:1b,LastOutput:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ "extra\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" :[{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ "color\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" :\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ "red\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" ,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ "translate\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" :\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ "commands.testfor.failure\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" ,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ "with\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" :[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ "Sheep\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" ]}],\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ "text\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" :\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ "[23:48:44] \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" }\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ ",CustomName:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" @\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ ",SuccessCount:1,z:4,y:4,x:2,}\\\\\\\\\\\\\\\" ]}],\\\\\\\\\\\\\\\ "text\\\\\\\\\\\\\\\" :\\\\\\\\\\\\\\\ "[00:04:45] \\\\\\\\\\\\\\\" }\\\\\\\\\\\\\\\ ",CustomName:\\\\\\\\\\\\\\\" @\\\\\\\\\\\\\\\ ",SuccessCount:1,z:4,y:4,x:2,}\\\\\\\" ]}],\\\\\\\ "text\\\\\\\" :\\\\\\\ "[00:04:51] \\\\\\\" }\\\\\\\ ",CustomName:\\\\\\\" @\\\\\\\ ",SuccessCount:1,z:4,y:4,x:2,}\\\" ]}],\\\ "text\\\" :\\\ "[00:04:54] \\\" }\\\ ",CustomName:\\\" @\\\ ",SuccessCount:1,z:4,y:4,x:2,}\" ]}],\ "text\" :\ "[00:04:56] \" }\ ",CustomName:\" @\ ",SuccessCount:1,z:4,y:4,x:2,}" ]}], "text" : "[00:04:59] " }
          Hide
          Moesh added a comment -

          This affects very fast and new torchless logic.

          Show
          Moesh added a comment - This affects very fast and new torchless logic.
          Hide
          Chad Schaefer added a comment -

          See Also MC-49761 Specifically a commandblock setting the SuccessCount on itself leads to an infinite pit of despair.

          blockdata ~ ~ ~

          {SuccessCount:1}

          [22:05:25] Block data updated to: {Command:"blockdata ~ ~ ~

          {SuccessCount:1}

          ",id:"Control",TrackOutput:1b,LastOutput:"{"extra":[{"translate":"commands.blockdata.success","with":["{Command:\"blockdata ~ ~ ~

          {SuccessCount:1}

          \",id:\"Control\",TrackOutput:1b,CustomName:\"@\",SuccessCount:1,z:-74,y:1,x:663,}"]}],"text":"[22:05:09] "}",CustomName:"@",SuccessCount:1,z:-74,y:1,x:663,}

          Show
          Chad Schaefer added a comment - See Also MC-49761 Specifically a commandblock setting the SuccessCount on itself leads to an infinite pit of despair. blockdata ~ ~ ~ {SuccessCount:1} [22:05:25] Block data updated to: {Command:"blockdata ~ ~ ~ {SuccessCount:1} ",id:"Control",TrackOutput:1b,LastOutput:"{"extra":[{"translate":"commands.blockdata.success","with":["{Command:\"blockdata ~ ~ ~ {SuccessCount:1} \",id:\"Control\",TrackOutput:1b,CustomName:\"@\",SuccessCount:1,z:-74,y:1,x:663,}"]}],"text":" [22:05:09] "}",CustomName:"@",SuccessCount:1,z:-74,y:1,x:663,}
          Hide
          pecker added a comment -

          So this command and system are dead ? Or is possible to repear .

          Show
          pecker added a comment - So this command and system are dead ? Or is possible to repear .
          Hide
          Skylinerw added a comment -

          I can confirm in 14w08a.

          @pecker: There is a work-around by applying a blank "LastOutput" tag, or by disabling output tracking:

          /blockdata ~ ~ ~ {SuccessCount:1,LastOutput:" "}
          /blockdata ~ ~ ~ {SuccessCount:1,TrackOutput:0b}
          Show
          Skylinerw added a comment - I can confirm in 14w08a. @pecker: There is a work-around by applying a blank "LastOutput" tag, or by disabling output tracking: /blockdata ~ ~ ~ {SuccessCount:1,LastOutput: " " } /blockdata ~ ~ ~ {SuccessCount:1,TrackOutput:0b}
          Hide
          pecker added a comment -

          thank you for having solved this problem.

          Show
          pecker added a comment - thank you for having solved this problem.
          Hide
          Sonicwave added a comment -

          Apparently this has regressed in 1.8.1-pre5 (MC-74521).

          Show
          Sonicwave added a comment - Apparently this has regressed in 1.8.1-pre5 ( MC-74521 ).
          Hide
          Someone 3x7 added a comment - - edited

          I was testing a similar bug in 1.8.2-pre7 and found this one was active again.

          Used 4 command blocks with the commands:

          /blockdata 1 65 1

          {SuccessCount:0}

          /blockdata 1 65 -1

          {SuccessCount:0}

          /blockdata -1 65 -1

          {SuccessCount:0}

          /blockdata 1 65 -1

          {SuccessCount:0}

          3 connected by repeaters with a torch off the 3rd feeding the 4th with redstone dust.

          Edit: When reading that crash report noticed I hadn't updated java in awhile. Updated to 1.8.0_31 and crashed it again.

          Show
          Someone 3x7 added a comment - - edited I was testing a similar bug in 1.8.2-pre7 and found this one was active again. Used 4 command blocks with the commands: /blockdata 1 65 1 {SuccessCount:0} /blockdata 1 65 -1 {SuccessCount:0} /blockdata -1 65 -1 {SuccessCount:0} /blockdata 1 65 -1 {SuccessCount:0} 3 connected by repeaters with a torch off the 3rd feeding the 4th with redstone dust. Edit: When reading that crash report noticed I hadn't updated java in awhile. Updated to 1.8.0_31 and crashed it again.

            People

            • Assignee:
              [Mojang] Searge (Michael Stoyke)
              Reporter:
              pecker
            • Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: