mojira.dev
MC-131678

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

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 {color:#14892c}'axis' can only be set once for block minecraft:oak_log{color}
Block minecraft:oak_log does not accept 1 for'axis' property

Actual Output:

Property {color:#ff0000}'minecraft:oak_log'{color} can only be set once for block {color:#ff0000}axis{color}
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.

Attachments

Comments 2

Please do not mark unreleased versions as affected.
You don't have access to them yet.

I expect it, when 1.13 will released tomorrow and still nothing.

Renzotom

Erik Broes

Confirmed

block, command, command-syntax-help, crowdin, id, properties, reversed, setblock, string, translate, value

Minecraft 1.13-pre2, Minecraft 1.13-pre5, Minecraft 1.13-pre7, Minecraft 1.13-pre9, Minecraft 1.13-pre10, Minecraft 1.13

Minecraft 18w30a

Retrieved