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

You can input any value in [old block handling] of setblock and fill

    XMLWordPrintable

    Details

    • Confirmation Status:
      Confirmed

      Description

      The bug

      See title.

      For example:

      /setblock ~ ~ ~ chest default invalidArgument {CustomName:"hi"}
      

      works, but the invalidArgument for old block handling is not a valid value; it instead picks replace.

      /fill ~ ~ ~ ~ ~ ~ stone default invalidArgument air
      fill ~ ~ ~ ~ ~ ~ chest default invalidArgument {CustomName:"hi"}
      

      both work, but the invalidArgument for old block handling is not a valid value; it instead picks replace, but ignores the filter options.

      Expected behaviour

      The command should not be executed but instead a message similar to the following one should be sent

      'invalidArgument' is not a valid old block handling
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                NoUser No User
              • Votes:
                3 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: