mojira.dev
MC-117745

Gray italic command usage notification in chat can have white non-italic inserted parts

The bug

Gray italic command usage notifications in chat, which are sent when another player or a command block executes a command, can have white non-italic inserted parts when the the command was used by a player or by command block tracking the output. This is similar to MC-91499 and apparently caused by the same text-component object being used for the gray italic chat output and the white non-italic command block output, therefore overwriting the previously set style.

How to reproduce

  1. Enable commandBlockOutput

    /gamerule commandBlockOutput true
  2. Place an impulse command block, tracking the output with the following command

    /effect @p minecraft:absorption
  3. Active the command block

Linked issues

Attachments

Comments 4

@@unknown it looks like the problem is rather that the inserted text is sometimes not italic. I changed the report accordingly, I hope you are fine with that.

sure, the problem is only the "effect" text. . . IT randomly changes its own font

Can confirm for MC 1.12, used the following:
Repeat command block, always active, command inside was 'give @p air ...' instead of 'effect @p absorption ...".

This has been fixed. The new messages are "Applied effect <effect>to <player> and Gave 1 [<item>] to <player>.

Fauzy Rahadiansyah Arofi

(Unassigned)

Confirmed

TrackOutput, chat, command-block-output, command-feedback, command_block, italic, operator

Minecraft 1.11.2, Minecraft 1.12 Pre-Release 5, Minecraft 1.12

Minecraft 1.13.1

Retrieved