Minecraft Java Item ID

Test Block ID

The test block is a technical block used by the game test framework to mark and run automated structure tests. It has no Survival use and is available only via commands.

✓ Verified for Java Edition 1.21.11
Namespaced item ID minecraft:test_block

Test Block Item Facts

Maximum stack64
Available inCreative
Historical numerical IDNot applicable

Historical numerical ID: This item was introduced after Java Edition 1.13, when numerical IDs were no longer used.

Give Command for Test Block

Copy the current Java Edition command, or open the generator to change the player and quantity.

/give @p minecraft:test_block 1

Customize this command →

Give command syntax by version

Java 1.13+
/give @p minecraft:test_block 1
Namespaced ID (current format)

Rows appear only when the underlying value is verified: the Java 1.8–1.12.2 row requires a reviewed historical numerical ID, and the Bedrock row appears only when this exact namespaced ID exists in the Bedrock registry.

How to Get Test Block

Finding Test Block

Test Block cannot be crafted at a crafting table. It must be obtained through normal gameplay.

Prefer commands? Jump back to the give command matrix above to get Test Block instantly.

About Test Block in Minecraft

The test block is a technical block used by the game test framework to mark and run automated structure tests. It has no Survival use and is available only via commands.

Test Block Command Examples

  • Give 1 to nearest player: /give @p minecraft:test_block 1
  • Give 1 to yourself: /give @s minecraft:test_block 1
  • Give to a specific player: /give PlayerName minecraft:test_block 1
  • Clear from inventory: /clear @p minecraft:test_block

Test Block FAQ

What is the item ID for Test Block?

The item ID for Test Block is minecraft:test_block. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.

How do I give myself Test Block in Minecraft?

Open the chat window and run /give @p minecraft:test_block 1 to give the nearest player one Test Block. Replace @p with a player name to target someone else.

How many Test Block can stack in one slot?

Test Block stacks up to 64 per inventory slot.

Sources and Data Review

Item facts were reviewed for Java Edition 1.21.11 on .

Related Miscellaneous

Item ID: minecraft:crafting_table
Item ID: minecraft:furnace
Item ID: minecraft:chest
Item ID: minecraft:ender_chest
Item ID: minecraft:enchanting_table
Item ID: minecraft:anvil