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

Tellraw doesn't respect command-block chain order

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 15w34b
    • Fix Version/s: Minecraft 15w44b
    • Labels:
      None
    • Environment:
      Java 1.8.0_25 64-bit; 4 GB of RAM, 1011 MB in use; Intel i5 2310, 2.90 GHz, 4 cores; Windows 7.
    • Confirmation Status:
      Unconfirmed

      Description

      Setting up a chain of 3 command blocks, one repeat and 2 conditional chain ones in the following format and order:

      testfor @p[score_damage_min=1]
      
      /tellraw @p ["",{"text":"Damage: "},{"score":{"name":"@p[score_damage_min=1]","objective":"damage"}}]
      
      /scoreboard players set @p[score_damage_min=1] damage 0
      

      should theoretically show in chat the damage dealt value before it gets reset. (note: objective 'damage' is stat.damageDealt type). Instead, the value 0 is returned from after the score is reset. For demostration purposes, I've later changed the reset value to -2 to verify that it was a timing issue rather than an arbitrary 0.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              manuelschi Manuelsi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: