Test Instance Block
Minecraft Wiki article. Categories: Java_Edition, Non-renewable_resources, Stackable_resources, Articles_to_be_expanded, Blocks, Creative_or_commands_only_blocks, Blocks_with_GUI
This article is reproduced from Test Instance Block on the Minecraft Wiki. Mirrored from revision 3643283. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.
{
"title": "Test Instance Block",
"rows": [
{
"field": "<span nowrap;\"><span inline-block; background-color: #f5f; border: 1px solid #888; border-radius: 0.3em; color: transparent; width: 1em; height: 1em; vertical-align: -0.36em; margin-right: -0.1em\"><br></span> </span> 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 Fire#Flammable blocks article, displayed as Flammable)"
},
{
"field": "No",
"label": "Catches fire<br>from (link to lava article, displayed as lava)"
},
{
"field": "<span nowrap;\"><span inline-block; background-color: rgb(); border: 1px solid #888; border-radius: 0.3em; color: transparent; width: 1em; height: 1em; vertical-align: -0.36em; margin-right: -0.1em\"><br></span> 0 NONE</span>",
"label": "(link to Map item format#Color table article, displayed as Map color)"
},
{
"field": "Default (Harp)",
"label": "(link to Note Block#Instruments article, displayed as Note block instrument)"
}
],
"invimages": [
"Test Instance Block"
],
"images": [
"Test Instance Block.png"
]
}
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 |
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.
Navigation
Sources
- Test Instance Block — Minecraft Wiki, CC BY-NC-SA 3.0, revision 3643283.