| 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 |
| Map color | 0 NONE |
| Note block instrument | Default (Harp) |
A test instance block is a technical block that is used for game tests.
Obtaining
Test instance blocks are available using the /setblock, /fill, /give, or /test commands, and are available in the Creative inventory under the Operator Utilities tab. When placed, test instance blocks are unbreakable in Survival and have the same blast resistance as bedrock.
Usage
Test instance blocks cannot be placed in Survival. When placed, using the test instance block opens its GUI. The GUI opens only if the player is in Creative mode and has permission level 2 or higher. Based on the status of the test, the block produces a beam similarly to a beacon, with the color being
#808080 for a running test,
#00ff00 for a successful test,
#ff0000 for a failed required test, and
#ff8000 for a failed optional test.
Data values
ID
| Name | Identifier | Form | Translation key |
|---|---|---|---|
test_instance_block | Block & Item | block |
| Name | Identifier |
|---|---|
test_instance_block |
Block data
A test instance block has a block entity associated with it that holds additional data about the block.
- [NBT Compound / JSON Object]: The block entity's root tag.
- Tags common to all block entities see Template:Nbt inherit/blockentity/template
History
| Java Edition | |||||||
|---|---|---|---|---|---|---|---|
| 1.21.5 | 25w03a | ||||||
| 25w10a | |||||||
| 1.21.9 | 25w37a | Test instance blocks now preserve error markers between world reloads. | |||||
Issues
Issues relating to "Test Instance Block" are maintained on the bug tracker. Issues should be reported and viewed there.
Trivia
- There is code for an "Export Structure" button in the interface (https://minecraft.wiki/w/Java_developer_tools#GameTest_Exports). It is unused for unknown reasons.








