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

Setblock property - block and setblock property - value are reversed in error messages

XMLWordPrintable

    • Confirmed

      The numbers are for the 2 different strings, like:

      1. First bad string for first reversed variables.
      2. Second bad string for second reserved variables.

      The bug

      1. Block - property: The block and property are reversed in setblock command. 
        string: argument.block.property.duplicate
        with message: Property '%s' can only be set once for block %s
        
      1. Property - value: The property and value are reversed in setblock command.
        string: argument.block.property.invalid
        with message: Block %s does not accept '%s' for %s property

      Tested commands:

      1. /setblock ~ ~ ~ oak_log[axis=x,axis=y]
      2. /setblock ~ ~ ~ oak_log[axis=1]Property '%s' can only be set once for block %s

      Expected Output:

      Property 'axis' can only be set once for block minecraft:oak_log
      Block minecraft:oak_log does not accept 1 for 'axis' property

      Actual Output:

      Property 'minecraft:oak_log' can only be set once for block axis
      Image: Reversed_block+property_en.png + Reversed_block+property.png

      Block minecraft:oak_log does not accept 'axis' for 1 property

      Image: Reversed_property+value_en.png + Reversed_property+value.png

      Bug sides (platforms)

      1. This translation string is shown client side, above the text entry field during live command feedback.  The message is also shown server side when the enter is pressed.
      2. This translation string is shown server side when the enter is pressed.

      Causes

      It can by in the game with the wrong order or it is reversed on Crowdin.

      Solution

      • Fix in the game code.
      • Reverse on Crowdin: second %s first, and the first %s second.

      There are images with English language and after with Czech.

            grum [Mojang] Grum (Erik Broes)
            Renzotom Renzotom
            Votes:
            9 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: