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

Scoreboard objective creation limited to 16 characters, but scoreboard arguments limited to 12 characters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • Minecraft 1.8.7
    • None
    • Windows 7 64 bit, Java 8
    • Unconfirmed

      When performing

      /scoreboard objectives add <ObjectiveName> <criteria> [DisplayName]
      /scoreboard objectives add BlahBlahBlahBlah dummy
      

      the ObjectiveName is limited to 16 characters. The above command works perfectly.
      However, when performing any command with scoreboard target selector arguments, such as

      /testfor @a[score_<ObjectiveName>_min=1]
      /testfor @a[score_BlahBlahBlahBlah_min=1]
      

      the ObjectiveName is limited to 12 characters, which makes it useless to create any objective 13+ characters, since it cannot be used in target selector arguments.

      To recreate this bug, run the following commands in order. Normally, the /testfor is supposed to succeed and say that it finds a player; however, that is not the case because "score_BlahBlahBlahBlah_min=1" has an objective that is over 12 characters long.

      /scoreboard objectives add BlahBlahBlahBlah dummy
      /scoreboard players set @a BlahBlahBlahBlah 1
      /testfor @a[score_BlahBlahBlahBlah_min=1]
      

      The reason why I think this is a bug is because it appears unintended. There is no point in creating an objective 13-16 characters long if it cannot be used in target selector arguments.

      Thank you.

      EDIT: For some reason it works now. I need to attempt to recreate the problem again. This is may not a bug. I apologize. How do I delete this issue if I cannot recreate the problem?

            Unassigned Unassigned
            CreativiTimothy Timothy Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: