Test Block
Not to be confused with Test instance block.
This article describes content that may be included in Java Edition.
This content has appeared in Java Edition 1.21.5 development versions, but the full update containing it has not been released yet.
This article is a work in progress.
Please help expand and improve it. The talk page may contain suggestions.
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 |
{ "title": "Test Block", "rows": [ { "field": "Epic", "label": "(link to Rarity article, displayed as Rarity tier)" }, { "field": "No", "label": "(link to Renewable resource article, displayed as Renewable)" }, { "field": "Yes (64)", "label": "Stackable" }, { "field": "None", "label": "Tool" }, { "field": "3,600,000", "label": "(link to Explosion#Blast resistance article, displayed as Blast resistance)" }, { "field": "-1", "label": "(link to Breaking#Blocks by hardness article, displayed as Hardness)" }, { "field": "No", "label": "(link to Light article, displayed as Luminous)" }, { "field": "No", "label": "(link to Opacity article, displayed as Transparent)" }, { "field": "No", "label": "(link to Flammable article, displayed as Flammable)" }, { "field": "No", "label": "Catches fire from (link to lava article, displayed as lava)" } ], "invimages": [ "[&dTest Block]Test Block start", "[&dTest Block]Test Block log", "[&dTest Block]Test Block fail", "[&dTest Block]Test Block accept" ], "images": [ "Test Block start.png", "Test Block log.png", "Test Block fail.png", "Test Block accept.png" ] }
A test block is a technical block that is used for game tests.
Obtaining
Test blocks are available using the /setblock
, /fill
, or /give
commands, and are available in the Creative inventory in Java Edition. 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
This section of the article is empty.
You can help by expanding it.
Log
This section of the article is empty.
You can help by expanding it.
Fail
This section of the article is empty.
You can help by expanding it.
Accept
This section of the article is empty.
You can help by expanding it.
Data values
ID
Name | Identifier | Form | [hide]Translation key |
---|---|---|---|
![]() | test_block | Block & Item | block |
Block states
See also: Block states
Name | Default value | Allowed values | [hide]Description |
---|---|---|---|
mode | start | start log fail accept | The state the test block is in. |
History
[hide]Java Edition | |||||||
---|---|---|---|---|---|---|---|
1.21.5 | 25w03a | ![]() ![]() ![]() ![]() |
Issues
Issues relating to "Test Block" are maintained on the bug tracker. Issues should be reported and viewed there.
[hide] | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||