Not to be confused with Test Instance Block.
This article is a work in progress.
 
Please help expand and improve it. The talk page may contain suggestions.
This feature is exclusive to Java Edition.
 

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

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

Obtaining Edit

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 Edit

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 Edit

Triggers a redstone pulse when the test starts.

Log Edit

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

Fail Edit

Fails the assigned test when powered by redstone.

Accept Edit

Completes the assigned test when powered by redstone.

Data values Edit

ID Edit

Java Edition:

NameIdentifierForm[hide]Translation key
BlockSprite test-block-start.png: Sprite image for test-block-start in Minecraft Test Blocktest_blockBlock & Itemblock.minecraft.test_block

Block states Edit

See also: Block states

Java Edition:

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

History Edit

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.
[hide]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 Edit

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

Navigation Edit