Test Block

From Minecraft Wiki
(Redirected from Test Block accept)
Jump to navigation Jump to search
Image Not to be confused with Test Instance Block.
Image
This feature is exclusive to Java Edition.
 
Test Block

Test Block start.png: Infobox image for Minecraft block 'Test Block'

Test Block log.png: Infobox image for Minecraft block 'Test Block'

Test Block fail.png: Infobox image for Minecraft block 'Test Block'

Test Block accept.png: Infobox image for Minecraft block 'Test Block'

Invicon Test Block start.png: Inventory sprite for Test Block start in Minecraft as shown in-game with description: Test BlockInvicon Test Block log.png: Inventory sprite for Test Block log in Minecraft as shown in-game with description: Test BlockInvicon Test Block fail.png: Inventory sprite for Test Block fail in Minecraft as shown in-game with description: Test BlockInvicon Test Block accept.png: Inventory sprite for Test Block accept in Minecraft as shown in-game with description: Test Block
Rarity tier
 
Epic
Renewable No
Stackable Yes (64)
Tool
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)

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 Blocktest_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]
Image
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.525w03aImage Image Image Image Added test blocks.
25w04aThe name of block state has been changed from test_block_mode to mode.
25w10aImage 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.

[edit | edit source]