Wiki ArticleLocal entity data availableJava EditionNon-renewable resourcesStackable resourcesArticles to be expanded

Test Block

A test block is a technical block that is used for game tests.

Local game data

Test Block

Bedrock 1.21.100
Typeitem
Stack64
Durability-
Sections6
Canonical IDitem:unknown
Minecraft IDminecraft:unknown
Wiki sourcecached

A test block is a technical block that is used for game tests.

Obtaining

Test blocks are available in the Creative inventory, under the Operator Utilities tab, and using the , , or commands. When placed, test blocks are unbreakable in Survival and have the same blast resistance as bedrock.

Usage

Cannot be placed in Survival. When placed, the test block to open its GUI. The GUI opens only if the player is in Creative mode, and has permission level 2 or higher.

Start

Emits a constant redstone signal, similarly to a block of redstone, when the test starts. This block is required to be part of the structure of a block-based test.

Log

Logs a message to the server log every time it receives a redstone signal. The message is set in the block's GUI. This has a speech bubble texture.

Fail

Causes a test to fail when it receives a redstone signal. This has a frowning face texture.

Accept

Causes a test to pass when it receives a redstone signal. This block is required to be part of the structure of a block-based test. This has a smiling face texture.

Test block start UI.png Test block log UI.png Test block fail UI.png Test block accept UI.png

Local Data Properties

displayNameTest Block
nameunknown
id849
stackSize64