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

Tellraw doesn't respect command-block chain order

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 15w44b
    • Minecraft 15w34b
    • None
    • 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.
    • Unconfirmed

      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.

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

              Created:
              Updated:
              Resolved: