mojira.dev
MC-118269

Warning message "Command block chain tried to execute more than x steps!" appears even if less / no chain command blocks should run

The bug

The warning message "Command block chain tried to execute more than x steps!" appears in the log even when no or less command blocks should run.

It looks like the message appears if there could be chain command block behind and additionally seems to count impulse and repeating command blocks as well.

Note: Spelling fixes described in MC-118258 are applied.

Commandblock chain tried to execure

How to reproduce

  1. Set the gamerule maxCommandChainLength to 1

    /gamerule maxCommandChainLength 1
  2. Place an impulse command block and power it

  3. Look at the log
    → The warning message appeared, despite the fact that it should not have appeared
    → Also note that only one command block run and therefore no warning message should appear at all

Comments 6

Can confirm for MC 1.12.1.

Confirmed for 1.13.1.

Confirmed for 1.15.2

Can confirm in 1.17.1.

Confirmed in 1.16.5

Can confirm in 24w44a. Also would like to request ownership of this report to maintain it.

Marcono1234

sof

(Unassigned)

Confirmed

(Unassigned)

chain_command_block, command_block, logging, maxCommandChainLength

Minecraft 1.12 Pre-Release 7, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 17w50a, Minecraft 18w03b, ..., Minecraft 19w14b, 1.15.2, 1.17.1, 24w44a, 1.21.4

Retrieved