Minecraft:Test Block: Difference between revisions
More actions
Sync: updated from Minecraft |
Sync: updated from Minecraft |
||
| Line 62: | Line 62: | ||
|spritetype=block | |spritetype=block | ||
|spritename=test-block-start | |spritename=test-block-start | ||
|nameid=test_block | |||
|foot=1}} | |||
{{ID table | |||
|edition=java | |||
|displayname=Block entity | |||
|spritename=test-block | |||
|spritetype=block | |||
|nameid=test_block | |nameid=test_block | ||
|foot=1}} | |foot=1}} | ||
| Line 70: | Line 77: | ||
{{el|je}}: | {{el|je}}: | ||
{{bst|mode|start|start,log,fail,accept|The state the test block is in.|foot=1}} | {{bst|mode|start|start,log,fail,accept|The state the test block is in.|foot=1}} | ||
=== Block data === | |||
A test block has a block entity associated with it that holds additional data about the block. | |||
{{el|java}}: | |||
{{see also|Block entity format}} | |||
<section begin="block data" /><div class="treeview"> | |||
*{{nbt|compound}}: The block entity's root tag. | |||
** {{nbt inherit/blockentity}} | |||
<noinclude>{{missing information|section|NBT data|type=data}}</noinclude> | |||
</div><section end="block data" /> | |||
== History == | == History == | ||
Latest revision as of 11:14, 12 October 2026
Template:Distinguish Template:Exclusive Template:Infobox block A test block is a technical Minecraft:block that is used for game tests.
Obtaining
Test blocks are available in the Minecraft:Creative inventory, under the Operator Utilities tab, and using the Template:Cmd, Template:Cmd, or Template:Cmd commands. When placed, test blocks are unbreakable in Minecraft:Survival and have the same blast resistance as Minecraft:bedrock.
Usage
Cannot be placed in Minecraft:Survival. When placed, Template:Control the test block to open its GUI. The GUI opens only if the player is in Minecraft:Creative mode, and has Minecraft:permission level 2 or higher.
Start
Emits a constant redstone signal, similarly to a Minecraft: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
Template:Edition: Template:ID table Template:ID table
Block states
Block data
A test block has a block entity associated with it that holds additional data about the block.
Template:El: Template:See also
<section begin="block data" />
- Template:Nbt: The block entity's root tag.
<section end="block data" />
History
Issues
Minecraft:de:Testblock Minecraft:es:Bloque de pruebas Minecraft:fr:Bloc de test Minecraft:it:Blocco di collaudo Minecraft:ja:テストブロック Minecraft:ko:테스트 블록 Minecraft:pl:Blok testowy Minecraft:pt:Bloco de Teste Minecraft:ru:Блок-тестер Minecraft:uk:Тестовий блок Minecraft:zh:测试方块