Uploaded image for project: 'Minecraft'
  1. Minecraft
  2. MC-96131

/execute detect command causing entities within a chunk to be scoreboard reset

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 16w03a, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.2, Minecraft 1.9.3 Pre-Release 1, Minecraft 1.9.4
    • Fix Version/s: Minecraft 16w21a
    • Labels:
      None
    • Environment:

      Java 8

    • Confirmation Status:
      Community Consensus

      Description

      EDIT: Was unable to find specific cause for the problem, will post crash report

      Teleport away from spawn chunks before doing any of the below.

      Summon armorstand using below command:
      /summon ArmorStand ~ ~ ~

      {CustomName:"tank"}

      Create testing objective
      /scoreboard objectives add testObjective dummy
      Set objective to sidebar:
      /scoreboard objectives setdisplay sidebar testObjective
      Set 'tank' score:
      /scoreboard players set @e[name=tank] testObjective 1

      Afterwards, unload chunks by teleporting away.
      tp @p ~500 ~ ~

      Notice that the score on the sidebar dissapears, proving that the score resets after the entity is unloaded.


      Steps to reproduce can be found in this comment


      Easily reproducible in this world.


      Code analysis: https://bugs.mojang.com/browse/MC-96131?focusedCommentId=306331&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-306331

        Attachments

        1. 2016-01-27_14.14.29.png
          2016-01-27_14.14.29.png
          389 kB
        2. 2016-01-27_14.14.48.png
          2016-01-27_14.14.48.png
          428 kB
        3. 2016-01-27_14.14.50.png
          2016-01-27_14.14.50.png
          425 kB
        4. 2016-01-27_14.16.33.png
          2016-01-27_14.16.33.png
          448 kB
        5. 2016-01-27_14.16.41.png
          2016-01-27_14.16.41.png
          1.20 MB
        6. 2016-01-27_14.16.44.png
          2016-01-27_14.16.44.png
          1.29 MB
        7. 2016-01-27_14.17.36.png
          2016-01-27_14.17.36.png
          441 kB

          Issue Links

            Activity

              People

              • Assignee:
                searge [Mojang] Searge (Michael Stoyke)
                Reporter:
                bananenbroek4 Chris Kwakman
              • Votes:
                16 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: