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 .