Test Block

Not to be confused with Test Instance Block.
This feature is exclusive to Java Edition.
 
Test Block

Test Block start.png: Infobox image for Test Block the block in Minecraft

Test Block log.png: Infobox image for Test Block the block in Minecraft

Test Block fail.png: Infobox image for Test Block the block in Minecraft

Test Block accept.png: Infobox image for Test Block the block in Minecraft

Invicon Test Block start.png: Inventory sprite for Test Block start in Minecraft as shown in-game with description: Test BlockInvicon Test Block log.png: Inventory sprite for Test Block log in Minecraft as shown in-game with description: Test BlockInvicon Test Block fail.png: Inventory sprite for Test Block fail in Minecraft as shown in-game with description: Test BlockInvicon Test Block accept.png: Inventory sprite for Test Block accept in Minecraft as shown in-game with description: Test Block
Rarity tier

Epic

Renewable

No

Stackable

Yes (64)

Tool

None

Blast resistance

3,600,000

Hardness

-1

Luminous

No

Transparent

No

Flammable

No

Catches fire
from lava

No

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 /setblock, /fill, or /give 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, use 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

Triggers a redstone pulse when the test starts.

Log

Logs a message to the log file when powered by redstone.

Fail

Fails the assigned test when powered by redstone.

Accept

Completes the assigned test when powered by redstone.

Data values

ID

Java Edition:

NameIdentifierFormTranslation key
BlockSprite test-block-start.png: Sprite image for test-block-start in Minecraft Test Blocktest_blockBlock & Itemblock.minecraft.test_block

Block states

See also: Block states

Java Edition:

Name Default value Allowed values Description
modestartstart
log
fail
accept
The state the test block is in.

History

This section is missing information about: Include information on early iteration: https://youtu.be/vXaWOJTCYNg.
 
Please expand the section to include this information. Further details may exist on the talk page.
Java Edition
1.21.525w03a Added test blocks.
25w04aThe name of block state has been changed from test_block_mode to mode.
25w10a The textures of test blocks have been changed.

Issues

Issues relating to "Test Block" are maintained on the bug tracker. Issues should be reported and viewed there.

Navigation