Minecraft:Commands/islargechestblock: Difference between revisions
From SAS Gaming Wiki
More actions
Fix template calls: add MC/ prefix |
Sync: updated from Minecraft |
||
| Line 1: | Line 1: | ||
{{Outdated feature}} | {{Outdated feature}} | ||
{{ | {{exclusive|bedrock}} | ||
{{Infobox command | {{Infobox command | ||
| name = islargechestblock | | name = islargechestblock | ||
| oplevel = 1 | | oplevel = 1 | ||
| others = Cheat only | | others = [[Minecraft:Cheat]] only | ||
}} | }} | ||
Checks if the target block is a large [[Minecraft:chest]] or [[Minecraft: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 command block, it will fail with the message "No player to originate the command." | When run in a [[Minecraft:command block]], it will fail with the message "No player to originate the command." | ||
==Syntax== | ==Syntax== | ||
| Line 19: | Line 19: | ||
== Arguments == | == Arguments == | ||
{{ | {{Argument|chestPos: x y z|CommandPosition}} | ||
: Specifies the coordinates of the chest. | : Specifies the coordinates of the chest. | ||
| Line 34: | Line 34: | ||
{{HistoryTable | {{HistoryTable | ||
|{{ | |{{HistoryLine|bedrock}} | ||
|{{HistoryLine||1.2.13|dev=release|Accidentally added developer commands to iOS, including {{ | |{{HistoryLine||1.2.13|dev=release|Accidentally added developer commands to iOS, including {{cmd|link=none|islargechestblock}}.}} | ||
|{{ | |{{HistoryLine||1.2.14|Removed all developer commands.}} | ||
}} | }} | ||
== Navigation == | == Navigation == | ||
{{ | {{Navbox commands}} | ||
Latest revision as of 11:06, 18 June 2026
Template:Outdated feature Template:Exclusive Template:Infobox command
Checks if the target block is a large Minecraft:chest or Minecraft: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 Minecraft: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