Minecraft:Test Block: Difference between revisions
More actions
Fix template calls: add MC/ prefix |
Sync: updated from Minecraft |
||
| Line 1: | Line 1: | ||
{{ | {{distinguish|Test Instance Block}} | ||
{{ | {{exclusive|java}} | ||
{{Infobox block | {{Infobox block | ||
|group = Start | |group = Start | ||
| Line 26: | Line 26: | ||
== Obtaining == | == Obtaining == | ||
Test blocks are available in the [[Minecraft:Creative inventory]], under the ''Operator Utilities'' tab, and using the {{ | Test blocks are available in the [[Minecraft:Creative inventory]], under the ''Operator Utilities'' tab, and using the {{cmd|setblock}}, {{cmd|fill}}, or {{cmd|give}} commands. When placed, test blocks are unbreakable in [[Minecraft:Survival]] and have the same blast resistance as [[Minecraft:bedrock]]. | ||
== Usage == | == Usage == | ||
Cannot be placed in Survival. | Cannot be placed in [[Minecraft:Survival]]. | ||
When placed, {{ | When placed, {{control|use}} 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 === | === 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. | 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 === | === Log === | ||
| Line 54: | Line 54: | ||
== Data values == | == Data values == | ||
=== ID === | === ID === | ||
{{ | {{edition|java}}: | ||
{{ID table | {{ID table | ||
|edition=java | |edition=java | ||
| Line 66: | Line 66: | ||
=== Block states === | === Block states === | ||
{{ | {{see also|Block states}} | ||
{{ | {{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}} | ||
== History == | == History == | ||
{{ | {{info needed section|Include information on early iteration: https://youtu.be/vXaWOJTCYNg}} | ||
{{HistoryTable | {{HistoryTable | ||
|{{ | |{{HistoryLine|java}} | ||
|{{ | |{{HistoryLine||1.21.5|dev=25w03a|[[File:Test Block start JE1.png|32px]] [[File:Test Block log JE1.png|32px]] [[File:Test Block fail JE1.png|32px]] [[File:Test Block accept JE1.png|32px]] Added test blocks.}} | ||
|{{ | |{{HistoryLine|||dev=25w04a|The name of block state has been changed from <code>test_block_mode</code> to <code>mode</code>.}} | ||
|{{ | |{{HistoryLine|||dev=25w10a|[[File:Test Block start JE2.png|32px]] [[File:Test Block log JE2.png|32px]] [[File:Test Block fail JE2.png|32px]] [[File:Test Block accept JE2.png|32px]] The textures of test blocks have been changed.}} | ||
}} | }} | ||
== Issues == | == Issues == | ||
{{ | {{Issue list|Test Block|projects=MC}} | ||
== Navigation == | == Navigation == | ||
{{ | {{Navbox blocks|creative}} | ||
[[Category:Creative or commands only blocks]] | [[Category:Creative or commands only blocks]] | ||
[[Category:Blocks with GUI]] | [[Category:Blocks with GUI]] | ||
de:Testblock | [[Minecraft:de:Testblock]] | ||
es:Bloque de pruebas | [[Minecraft:es:Bloque de pruebas]] | ||
fr:Bloc de test | [[Minecraft:fr:Bloc de test]] | ||
it:Blocco di | [[Minecraft:it:Blocco di collaudo]] | ||
ja:テストブロック | [[Minecraft:ja:テストブロック]] | ||
ko:테스트 블록 | [[Minecraft:ko:테스트 블록]] | ||
pl:Blok testowy | [[Minecraft:pl:Blok testowy]] | ||
pt:Bloco de Teste | [[Minecraft:pt:Bloco de Teste]] | ||
ru:Блок-тестер | [[Minecraft:ru:Блок-тестер]] | ||
uk:Тестовий блок | [[Minecraft:uk:Тестовий блок]] | ||
zh:测试方块 | [[Minecraft:zh:测试方块]] | ||
Latest revision as of 11:26, 24 June 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
Block states
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:测试方块