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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Minecraft 16w21a
    • Minecraft 16w03a, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.2, Minecraft 1.9.3 Pre-Release 1, Minecraft 1.9.4, Minecraft 1.12.2, Minecraft 1.13.1
    • None
    • Community Consensus
    • (Unassigned)

      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


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

        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

            Unassigned Unassigned
            bananenbroek4 bananenbroek4
            Votes:
            21 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: