mojira.dev
MC-197192

A command doesn't create previous output inside command block

the command in question:

/data modify block ~ ~-1 ~ Items[0] set from entity @p Inventory[{Slot:27b}]

it's supposed to result with an error with a shulker box below the execution point of the command, and it does when used in chat, but doesn't when used in impulse command block, and, depending on a player, may or may not work in a repeating command block

Comments 3

couldn't reproduce

Confirmed in 20w51a. This seems to happen with other command errors as well. I've updated the summary and description to make it more general; hope you're fine with this.

Actually I don't think my edits to this ticket are describing the same bug as the original ticket, because the bug I described doesn't happen in 1.16.2 Pre-release 2. I've reverted my edits. MC-210155 should be the parent ticket for that issue.

I couldn't reproduce the originally described issue in neither 1.16.2 Pre-release 2 nor 20w51a. Can anyone still reproduce them in the latest version?

SunCat

(Unassigned)

Unconfirmed

Commands

1.16.2 Pre-release 2, 1.16.2 Release Candidate 1, 1.16.2

Retrieved