mojira.dev
MC-125823

Command error messages aren't printed into chat for certain /execute commands

I'm a bit confused here. When I run this command twice without moving:

/execute run setblock ^ ^ ^10 minecraft:gold_block

I get back "Could not set the block" after the second time. However, when I do the same thing with this command, I don't get that message on the second run:

/execute at @p run setblock ^ ^ ^10 minecraft:gold_block

Linked issues

Attachments

Comments 12

Can confirm in 20w49a.

Can confirm in 20w51a.

Can confirm in 21w03a.

Can confirm in 21w05a.

Can confirm in 21w06a.

2 more comments

Can confirm in 1.17.1.

Just curious, does the log report any brigadier errors?

Can confirm in 1.19. @unknown, I don't believe so, no.

Can confirm in 1.19.2.

The overloads that fork cause this; namely, as, at, if, unless, on, positioned as, and rotated as.

Other modifiers preserve error messages.

[Mod] redstonehelper

(Unassigned)

Confirmed

Commands

/execute, command-feedback

Minecraft 18w07c, Minecraft 18w20c, Minecraft 1.13-pre2, Minecraft 1.13.1, Minecraft 1.13.2, , 1.19.2, 1.20.2, 23w42a, 23w45a, 26.1 Snapshot 7

Retrieved