Mineuniverse
Test Block

Test Block

A test block is a technical block that is used for game tests.

2 min read Updated 8 views
Blocks Stackable resources Non-renewable resources Java Edition Blocks with GUI Creative or commands only blocks
Advertisement Remove ads with Premium →
Contents (12)
  1. Obtaining
  2. Usage
  3. Start
  4. Log
  5. Fail
  6. Accept
  7. Data values
  8. ID
  9. Block states
  10. Block data
  11. History
  12. Issues
Not to be confused with Test Instance Block.
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

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

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

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.

Log

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.

Fail

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

Accept

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

ID

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
NameIdentifier
BlockSprite test-block.png: Sprite image for test-block in Minecraft Block entitytest_block

Block states

See also: Block states

Java Edition:

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

Block data

A test block has a block entity associated with it that holds additional data about the block.

Java Edition:

  • [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.525w03a Added test blocks.
25w04a The name of block state has been changed from test_block_mode to mode.
25w10a The textures of test blocks have been changed.

Issues

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

Advertisement Remove ads with Premium →

More in Creative or commands only blocks

View all 11 →
Jigsaw BlockJigsaw BlockJigsaw blocks are technical blocks commonly used as a way to construct large structures from smaller sections.Light (block)Light (block)Lights are invisible blocks, primarily intended for map makers, that can produce any light level from 0 to 15.Mod oreMod oretile.mod_ore.0.name was a block used for developing ores, addons, or otherwise used for development purposes.​[more information needed] It used the same…Petrified Oak SlabPetrified Oak SlabA petrified oak slab, known generically as a wooden slab in Bedrock Edition, is a unique type of slab available through commands or by upgrading from…Player HeadPlayer HeadThe player head is a block based on the head of a player's skin (Steve by default). Player heads cannot be obtained in Survival.Structure BlockStructure BlockA structure block is used to generate structures manually. They can also be used to save and load structures, alongside structure void blocks.Structure VoidStructure VoidA structure void is an invisible block that is not saved by structure blocks, allowing for the creation of structures that leave some existing blocks…Test Instance BlockTest Instance BlockA test instance block is a technical block that is used for game tests.
Advertisement Remove ads with Premium →

Related mods

GamerPotion's FPS Tester GamerPotion's FPS Tester Map · 1.5M downloads GamerPotion's FPS Stress Tester GamerPotion's FPS Stress Tester Map · 1.4M downloads GamerPotion's FPS Winter Stress Tester GamerPotion's FPS Winter Stress Tester Map · 1.4M downloads testosteronetweaks testosteronetweaks Mod · 700.2K downloads
Explore the Minecraft Wiki
Blocks, items, mobs, biomes and game mechanics — all in one place.
Wiki home