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

Special characters used in certain commands such as /summon or /effect return unexpected results

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.4, 20w45a, 20w48a, 20w51a, 21w03a, 21w05b, 21w13a, 21w14a, 21w15a, 21w16a, 1.17, 1.17.1, 1.18.1, 1.18.2, 22w17a, 1.19, 22w24a, 1.19.1 Pre-release 1, 1.19.1 Release Candidate 1, 1.19.1 Pre-release 2, 1.19.1 Pre-release 3, 1.19.1 Pre-release 4, 1.19.1 Pre-release 5, 1.19.1 Pre-release 6, 1.19.1 Release Candidate 2, 1.19.1, 1.19.2, 22w44a, 22w45a, 22w46a, 1.19.3 Pre-release 1, 1.19.3 Pre-release 2, 1.19.3 Pre-release 3, 1.19.3 Release Candidate 1, 1.19.3 Release Candidate 2, 1.19.3 Release Candidate 3, 1.19.3, 23w03a, 23w04a, 23w05a, 23w06a, 23w07a, 1.19.4 Pre-release 1, 1.19.4 Pre-release 2, 1.19.4 Pre-release 3, 1.19.4 Pre-release 4, 1.19.4 Release Candidate 1, 1.19.4 Release Candidate 2, 1.19.4 Release Candidate 3, 1.19.4, 23w12a, 23w13a, 23w14a, 23w16a, 23w17a, 23w18a, 1.20 Pre-release 1, 1.20 Pre-release 2, 1.20 Pre-release 4, 1.20 Pre-release 5, 1.20 Pre-release 6, 1.20 Pre-release 7, 1.20 Release Candidate 1, 1.20, 1.20.1 Release Candidate 1, 1.20.1, 23w31a, 23w32a, 23w33a, 23w35a, 1.20.2 Pre-release 2, 1.20.2 Pre-Release 3, 1.20.2 Pre-Release 4, 1.20.2 Release Candidate 1, 1.20.2 Release Candidate 2, 1.20.2, 23w40a, 23w41a, 23w42a, 23w43a, 23w43b, 23w44a, 23w45a, 23w46a, 1.20.3 Pre-Release 1, 1.20.3 Pre-Release 2, 1.20.3 Pre-Release 3, 1.20.3 Pre-Release 4, 1.20.3 Release Candidate 1, 1.20.3, 1.20.4 Release Candidate 1, 1.20.4, 23w51b, 24w03a, 24w03b, 24w04a, 24w05a, 24w06a, 24w07a, 24w09a, 24w10a, 24w11a, 24w12a, 24w13a, 24w14a, 1.20.5 Pre-Release 1, 1.20.5 Pre-Release 2, 1.20.5 Pre-Release 3, 1.20.5 Pre-Release 4, 1.20.5 Release Candidate 1, 1.20.5 Release Candidate 2, 1.20.5, 1.20.6 Release Candidate 1, 1.20.6, 24w18a, 24w19b, 24w20a, 24w21a, 24w21b, 1.21 Pre-Release 1, 1.21 Pre-Release 2, 1.21 Pre-Release 3, 1.21 Pre-Release 4, 1.21 Release Candidate 1, 1.21, 24w33a, 1.21.1 Release Candidate 1, 1.21.1, 24w34a, 24w35a, 24w36a, 24w37a, 24w38a, 24w39a, 24w40a, 1.21.2 Pre-Release 1, 1.21.2 Pre-Release 2, 1.21.2 Pre-Release 3, 1.21.2 Release Candidate 1, 1.21.2 Release Candidate 2, 1.21.2, 24w44a, 1.21.3, 24w45a, 24w46a, 1.21.4 Pre-Release 1
    • None
    • Confirmed
    • Commands, Text

      When commands like /summon or /effect are used to summon an entity or give an effect, typing in a special character before the entity type and after the colon, or before "minecraft:" returns "Unknown entity: minecraft: " instead of showing the entire text.

      Another behavior is that if any special character is before the colon in "minecraft:", the output is "Unknown effect: minecraft:minecraft". This behavior is also shown if you replace the colon by the character.

      For example, typing in /summon %asdf returns "Unknown entity: minecraft: ".

      Typing in /effect give @p minecraft^speed returns "Unknown effect: minecraft:minecraft"

      Something else I noticed while testing is that only the colon in "minecraft:" is required and you don't need to type out the entire "minecraft:" when using commands like /summon, /effect, or /give. For example, /give @p :stone works. Not sure if intended, but doesn't appear to be a big deal.

      The only characters I've noticed that actually get returned along with the entity or effect name in the error message are: 

      -

      _

      /

      .

      Link to video: https://youtu.be/4xHsLGtFFGE

        1. MC-203737.mp4
          4.59 MB
        2. MC-203737.png
          MC-203737.png
          517 kB
        3. MC-203737-1.png
          MC-203737-1.png
          282 kB

            Unassigned Unassigned
            mattp_12 mattp_12
            Votes:
            9 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: