Minecraft:Commands/islargechestblock: Difference between revisions
From SAS Gaming Wiki
More actions
imported>Turki Hamdi |
Remove broken links to missing pages |
||
| Line 4: | Line 4: | ||
| name = islargechestblock | | name = islargechestblock | ||
| oplevel = 1 | | oplevel = 1 | ||
| others = | | others = Cheat only | ||
}} | }} | ||
Check if the target block is a large [[Minecraft:chest]] or | Check if the target block is a large [[Minecraft:chest]] or trapped chest | ||
Upon succeed, the command prints either <code>true</code> or <code>false</code> | Upon succeed, the command prints either <code>true</code> or <code>false</code> | ||
| Line 13: | Line 13: | ||
Upon failure if the target block isn't a chest or trapped chest, it prints the message <code>There was no chest at position ([x coordinate]) supplied</code> | Upon failure if the target block isn't a chest or trapped chest, it prints the message <code>There was no chest at position ([x coordinate]) supplied</code> | ||
When run in a | When run in a command block, it will fail with the message "No player to originate the command." | ||
==Syntax== | ==Syntax== | ||
Revision as of 15:44, 9 April 2026
Template:Outdated feature Template:Exclusive Template:Infobox command
Check if the target block is a large Minecraft:chest or trapped chest
Upon succeed, the command prints either true or false
Upon failure if the target block isn't a chest or trapped chest, it prints the message There was no chest at position ([x coordinate]) supplied
When run in a command block, it will fail with the message "No player to originate the command."
Syntax
/islargechestblock <chestPos: x y z>
Arguments
- Specifies the coordinates of the chest.
Result
Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table