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

Incorrect argument order in translation key argument.block.property.novalue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 18w22b, 1.20.4, 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 Release Candidate 3, 1.20.5, 1.20.6 Release Candidate 1, 1.20.6, 24w18a, 24w19b, 1.21
    • Confirmed
    • Commands
    • Normal
    • Platform

      The order of the first and second arguments is reversed in the sentence: Expected value for property '%s' on block %s.

      The sequence of expected property value is incorrect in the given sentence. The first argument should represent the property, while the second argument should represent the block. However, here it's the opposite.

       

      Steps to Reproduce:

      1. Execute command
        /setblock ~ ~ ~ minecraft:acacia_button[face]

       

      Expected Behavior:
      The first argument should represent the property, and the second argument should represent the block.

      e. g. Expected value for property 'face' on block minecraft:acacia_button

       

      Actual Behavior:
      The first argument represents the block, and the second argument represents the property.

      e. g. Expected value for property 'minecraft:acacia_button' on block face

       

      Screenshot or Additional Information:

        1. _BugTracker_ (1.21).png
          339 kB
          BugTracker
        2. 2024-04-12_18.41.20.png
          14 kB
          nutyworks

            Unassigned Unassigned
            nutyworks nutyworks
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: