Setblock property - block and setblock property - value are reversed in error messages
The numbers are for the 2 different strings, like:
- First bad string for first reversed variables.
- Second bad string for second reserved variables.
The bug
- 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
- 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:
- /setblock ~ ~ ~ oak_log[axis=x,axis=y]
- /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)
- 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.
- 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.
Environment
Windows 10
Created Issue:
Setblock property - block and setblock property - value are reversed in error messages
The numbers are for the 2 different strings, like:
- First bad string for first reversed variables.
- Second bad string for second reserved variables.
The bug
- 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
- 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 propertyTested commands:
- /setblock ~ ~ ~ oak_log[axis=x,axis=y]
- /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' propertyActual Output:
Property 'minecraft:oak_log' can only be set once for block axis
Image: Reversed_block+property_en.png + Reversed_block+property.pngBlock minecraft:oak_log does not accept 'axis' for 1 property
Image: Reversed_property+value_en.png + Reversed_property+value.png
Bug sides (platforms)
- 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.
- 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.
Environment
Windows 10
is duplicated by
relates to
is duplicated by
Relates to MC-131678.
When using an invalid value for a block property the name of the property and the invalid value are switched in the error message.
For instance the command:
/setblock ~ ~ ~ oak_log[axis=w]
Gives the following error message:
Block minecraft:oak_log does not accept 'axis' for w property
The correct message would be:
Block minecraft:oak_log does not accept 'w' for axis property




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.