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

Using wildcard selector * in scoreboard operation creates entries for all tracked entities with scores

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w03c, Minecraft 19w04b, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 3, 1.14.4, 19w36a, 1.15.2, 20w16a, 20w21a, 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16 Pre-release 7, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 20w30a, 1.16.2 Pre-release 3, 1.16.4, 20w48a, 1.17, 1.17.1, 24w39a
    • Confirmed
    • (Unassigned)

      When using the wildcard selector * in scoreboard operation, the scoreboard is filled with entries with score 0 for all tracked entities with scores.

      Steps to reproduce:

      1. Create scoreboards
        /scoreboard objectives add board1 dummy
        /scoreboard objectives add board2 dummy
        
      1. Fill in some scores
        /scoreboard players set player1 board1 10
        /scoreboard players set player2 board2 3
        /scoreboard players set player3 board2 5
        
      1. Tracked entities should show 3 entries
         /scoreboard players list 
      1. Scoreboard board2 should have only 2 entries for player2 and player3
         /scoreboard objectives setdisplay sidebar board2
      1. Use wildcard, and set score of player2 to max
        /scoreboard players operation player2 board2 > * board2
        
      1. Score of player2 is set to max but the scoreboard board2 has now an extra entry for player1 with score 0
        player2 5
        player3 5
        player1 0
        

         

            Unassigned Unassigned
            reddi reddi
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              CHK: