VOOZH about

URL: https://minecraft.wiki/w/Test_block

⇱ Test Block – Minecraft Wiki


Test Block

From Minecraft Wiki
(Redirected from Test block)
Jump to navigation Jump to search
👁 Image
Not to be confused with Test Instance Block.
This feature is exclusive to Java Edition.
 
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
Map color
 44 TERRACOTTA_LIGHT_GRAY
Note block instrument Default (Harp)
{
 "title": "Test Block",
 "rows": [
 {
 "field": "<span style=\"white-space: nowrap;\"><span style=\"display: 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 Flammable article, displayed as Flammable)"
 },
 {
 "field": "No",
 "label": "Catches fire<br>from (link to lava article, displayed as lava)"
 },
 {
 "field": "<span style=\"white-space: nowrap;\"><span style=\"display: inline-block; background-color: rgb(135, 107, 98); border: 1px solid #888; border-radius: 0.3em; color: transparent; width: 1em; height: 1em; vertical-align: -0.36em; margin-right: -0.1em\"><br></span> 44 TERRACOTTA<wbr/>_LIGHT<wbr/>_GRAY</span>",
 "label": "(link to Map color article, displayed as Map color)"
 },
 {
 "field": "Default (Harp)",
 "label": "(link to Note Block#Instruments article, displayed as Note block instrument)"
 }
 ],
 "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

[edit | edit source]

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 | edit source]

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 | edit source]

Emits a constant redstone signal, similarly to a block of redstone, when the test starts. This block is required to be part of the structure of a block-based test.

Logs a message to the server log every time it receives a redstone signal. The message is set in the block's GUI. This has a speech bubble texture.

Causes a test to fail when it receives a redstone signal. This has a frowning face texture.

Accept

[edit | edit source]

Causes a test to pass when it receives a redstone signal. This block is required to be part of the structure of a block-based test. This has a smiling face texture.


Data values

[edit | edit source]

Java Edition:

NameIdentifierForm Translation key
👁 BlockSprite test-block-start.png: Sprite image for test-block-start in Minecraft
Test Block
test_blockBlock & Item block.minecraft.test_block

Block states

[edit | edit source]
See also: Block states

Java Edition:

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

History

[edit | edit source]
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👁 Image
👁 Image
👁 Image
👁 Image
Added test blocks.
25w04aThe name of block state has been changed from test_block_mode to mode.
25w10a👁 Image
👁 Image
👁 Image
👁 Image
The textures of test blocks have been changed.

Issues

[edit | edit source]

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

Navigation

[edit | edit source]
Retrieved from "https://minecraft.wiki/w/Test_Block?oldid=3643260"

Navigation menu