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
Created Issue:
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
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
To Reproduce
- Put an impulse command block with the error command /42.
- Execute the command block.
- Use the following command to check the LastOutput tag of the command block.
/data get block <pos> LastOutput
It's what it should be.
- Right-click to open the GUI of this command block.
There's no previous output.
- Close and reopen the GUI.
Previous output shows up now.
A command doesn't createprevious output inside command blockThe update of previous output is delayed inside command block
relates to
The update of previous output is delayedinside command blockThe update of command block's previous output is delayed
I am also unable to reproduce this in 20w51a.
To Reproduce
- Put an impulse command block with the error command /42.
- Execute the command block.
- Use the following command to check the LastOutput tag of the command block.
/data get block <pos> LastOutput
It's what it should be.
- Right-click to open the GUI of this command block.
There's no previous output.
- Close and reopen the GUI.
Previous output shows up now.
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
The update of command block's previous output is delayedA command doesn't create previous output inside command block
relates to
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-210155should 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?