Minecraft:Test Block: Difference between revisions
More actions
Remove broken links to missing pages |
Fix template calls: add MC/ prefix |
||
| Line 1: | Line 1: | ||
{{ | {{MC/Distinguish|Test Instance Block}} | ||
{{ | {{MC/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 {{MC/Cmd|setblock}}, {{MC/Cmd|fill}}, or {{MC/Cmd|give}} commands. When placed, test blocks are unbreakable in Survival and have the same blast resistance as [[Minecraft:bedrock]]. | ||
== Usage == | == Usage == | ||
Cannot be placed in Survival. | Cannot be placed in Survival. | ||
When placed, {{ | When placed, {{MC/Control|use}} the test block to open its GUI. The GUI opens only if the player is in Creative mode, and has [[Minecraft:permission level]] 2 or higher. | ||
=== Start === | === Start === | ||
| Line 54: | Line 54: | ||
== Data values == | == Data values == | ||
=== ID === | === ID === | ||
{{ | {{MC/Edition|java}}: | ||
{{ID table | {{ID table | ||
|edition=java | |edition=java | ||
| Line 66: | Line 66: | ||
=== Block states === | === Block states === | ||
{{ | {{MC/See also|Block states}} | ||
{{ | {{MC/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 == | ||
{{ | {{MC/Info needed section|Include information on early iteration: https://youtu.be/vXaWOJTCYNg}} | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|java}} | |{{MC/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.}} | |{{MC/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>.}} | |{{MC/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.}} | |{{MC/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}} | {{MC/Issue list|Test Block|projects=MC}} | ||
== Navigation == | == Navigation == | ||
{{Navbox blocks|creative}} | {{MC/Navbox blocks|creative}} | ||
[[Category:Creative or commands only blocks]] | [[Category:Creative or commands only blocks]] | ||
Latest revision as of 21:02, 9 April 2026
Template:Hatnote Script error: No such module "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
- REDIRECT Template:Command
- REDIRECT Template:Command
Template:Redr, or
- REDIRECT Template:Command
Template:Redr commands. When placed, test blocks are unbreakable in Survival and have the same blast resistance as Minecraft:bedrock.
Usage
Cannot be placed in Survival. When placed, {{#vardefine: control | right click on mouse or left trigger on gamepad }}use the test block to open its GUI. The GUI opens only if the player is in Creative mode, and has Minecraft: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
Template:!((Java EditionTemplate:))!: Template:ID table
Block states
{{#vardefine:params|0 }}Template:Hatnote
- REDIRECT Template:Edition
History
- REDIRECT Template:Incomplete section
Issues
Script error: No such module "Issue list".
Template:Article otherTemplate:Article other
de:Testblock es:Bloque de pruebas fr:Bloc de test it:Blocco di test ja:テストブロック ko:테스트 블록 pl:Blok testowy pt:Bloco de Teste ru:Блок-тестер uk:Тестовий блок zh:测试方块