mojira.dev
MC-279541

The "Message" entry field in "accept" and "fail" states of test blocks seems to be unused

How I've met with this Bug

Hello!

I was testing Test Block... in "Log" Mode if activate Test Block with Given Message (that was in "Message" Entry Field) by Redstone, it sends that Given Message to Console Log.
But it doesn't happen with "Fail" State... and with "Accept" Mode too.

I even tried to use Misode's Data Pack (

[media]

) just to be sure about this Kind of Behavior... but it still persists.

Behavior

Expected:

When Test Block with Given Message being in "Fail" or "Accept" Mode is activated by Redstone, the Given Message should appear in Console Log.

Current:

When Test Block with Given Message being in "Fail" or "Accept" Mode is activated by Redstone, nothing appears in Console Log.

Steps to Reproduce:

0. Launch the Game with Console Log enabled.
1. Create a World with

[media]

Data Pack enabled.
2. Type

/test run example:zombie

3. Check if

Zombie walked to the villager!

Log Message appeared.

Attachments

Comments 1

The provided test instance only covers accept mode; its test structure does not even contain a test block in fail mode. I am unable to reproduce the reported behavior for fail mode; test blocks in this mode properly output their message to both console, chat, and the test instance block.

Cybereggs1337

(Unassigned)

Plausible

Platform

Low

Debug

Technical, log, logs, operator-utilites, test-block

25w03a

Retrieved